systemd: Remove os-release from recommendations
As the comment says, there is no functional goal for this. But without this, a rebuild of os-release (when distro-version changes) is triggering a rebuild of systemd which is triggering a rebuild of ostree initramfs image and then kernel fitImage. Specially the rebuild of the ostree initramfs image seems to to lead to licenses issues. BugzID: 69247
This commit is contained in:
parent
214675e10a
commit
56de22f32f
|
|
@ -1,2 +1,9 @@
|
||||||
PACKAGECONFIG_remove = "nss-resolve resolved"
|
PACKAGECONFIG_remove = "nss-resolve resolved"
|
||||||
ALTERNATIVE_${PN} = "halt reboot shutdown poweroff runlevel ${@bb.utils.contains('PACKAGECONFIG', 'resolved', 'resolv-conf', '', d)}"
|
ALTERNATIVE_${PN} = "halt reboot shutdown poweroff runlevel ${@bb.utils.contains('PACKAGECONFIG', 'resolved', 'resolv-conf', '', d)}"
|
||||||
|
|
||||||
|
|
||||||
|
# The only reason for this line is to remove os-release from "dependencies" of systemd
|
||||||
|
# Having this dependency leads to a rebuild of systemd when os-release is rebuilt,
|
||||||
|
# even when the recommendations are excluded.
|
||||||
|
# It may not be required with future releases of yocto.
|
||||||
|
RRECOMMENDS_${PN}_remove = "os-release"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue