mirror of
https://git.yoctoproject.org/poky
synced 2026-04-26 18:32:13 +02:00
systemd: add a hard dependency on udev=$EXTENDPKGV
If the systemd/sysvinit DISTRO_FEATURES are changed without wiping the package feeds it's possible to build an image that pulls in mismatching versions of systemd and udev. This leads to images that are broken and don't boot correctly. Prevent this by adding a version-locked dependency on udev in systemd so that images that attempt to install mis-matching versions don't build. (From OE-Core rev: cb64f979ac4d792027a4a85fe086d0854e7bc9bc) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
fa1b8ae523
commit
4217302c29
@@ -225,7 +225,7 @@ FILES_${PN} = " ${base_bindir}/* \
|
||||
FILES_${PN}-dbg += "${rootlibdir}/.debug ${systemd_unitdir}/.debug ${systemd_unitdir}/*/.debug ${base_libdir}/security/.debug/"
|
||||
FILES_${PN}-dev += "${base_libdir}/security/*.la ${datadir}/dbus-1/interfaces/ ${sysconfdir}/rpm/macros.systemd"
|
||||
|
||||
RDEPENDS_${PN} += "kmod dbus util-linux-mount"
|
||||
RDEPENDS_${PN} += "kmod dbus util-linux-mount udev (= ${EXTENDPKGV})"
|
||||
|
||||
RRECOMMENDS_${PN} += "systemd-serialgetty systemd-compat-units \
|
||||
util-linux-agetty \
|
||||
|
||||
Reference in New Issue
Block a user