aboutsummaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2014-02-06 14:13:12 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-02-06 15:23:40 +0000
commitcb64f979ac4d792027a4a85fe086d0854e7bc9bc (patch)
tree9b83ad2f1d071d735ddce7558e4486623aebae8f /meta
parent1d353cb30b93cd08d7a0f743534c1cd712bbe018 (diff)
downloadopenembedded-core-cb64f979ac4d792027a4a85fe086d0854e7bc9bc.tar.gz
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. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-core/systemd/systemd_208.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/systemd/systemd_208.bb b/meta/recipes-core/systemd/systemd_208.bb
index 41a106a7c2..5ed31c35b0 100644
--- a/meta/recipes-core/systemd/systemd_208.bb
+++ b/meta/recipes-core/systemd/systemd_208.bb
@@ -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 \