summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2014-07-22 10:45:04 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-07-23 21:59:14 +0100
commitdc6a9a94359280822205a04d5ad11c64423c75e1 (patch)
tree3c20a093788df4345ce39e9779d19ff5e756c041
parent0270b0e1c599ea56c3ba1479d5231b9fbaf877ce (diff)
downloadpoky-dc6a9a94359280822205a04d5ad11c64423c75e1.tar.gz
systemd: change dependency relationships
When building out a systemd based image, the udev-hwdb postinstall script always fails at rootfs time. This is because that the 'udevadm' command used in udev-hwdb postinstall script is now in the udev package and udev recommends udev-hwdb. Instead of letting udev recommends udev-hwdb, we let systemd do it and make udev-hwdb rdepend on udev. (From OE-Core rev: f14ee284da19665f157453021e3fa0e3a0dbf75d) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-core/systemd/systemd_213.bb5
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/recipes-core/systemd/systemd_213.bb b/meta/recipes-core/systemd/systemd_213.bb
index 28cc4cb0d9..5de7cdc3b2 100644
--- a/meta/recipes-core/systemd/systemd_213.bb
+++ b/meta/recipes-core/systemd/systemd_213.bb
@@ -244,7 +244,7 @@ FILES_${PN}-dev += "${base_libdir}/security/*.la ${datadir}/dbus-1/interfaces/ $
244 244
245RDEPENDS_${PN} += "kmod dbus util-linux-mount udev (= ${EXTENDPKGV})" 245RDEPENDS_${PN} += "kmod dbus util-linux-mount udev (= ${EXTENDPKGV})"
246 246
247RRECOMMENDS_${PN} += "systemd-serialgetty systemd-compat-units \ 247RRECOMMENDS_${PN} += "systemd-serialgetty systemd-compat-units udev-hwdb\
248 util-linux-agetty \ 248 util-linux-agetty \
249 util-linux-fsck e2fsprogs-e2fsck \ 249 util-linux-fsck e2fsprogs-e2fsck \
250 kernel-module-autofs4 kernel-module-unix kernel-module-ipv6 \ 250 kernel-module-autofs4 kernel-module-unix kernel-module-ipv6 \
@@ -255,7 +255,8 @@ PACKAGES =+ "udev-dbg udev udev-hwdb"
255FILES_udev-dbg += "/lib/udev/.debug" 255FILES_udev-dbg += "/lib/udev/.debug"
256 256
257RPROVIDES_udev = "hotplug" 257RPROVIDES_udev = "hotplug"
258RRECOMMENDS_udev += "udev-hwdb" 258
259RDEPENDS_udev-hwdb += "udev"
259 260
260FILES_udev += "${base_sbindir}/udevd \ 261FILES_udev += "${base_sbindir}/udevd \
261 ${rootlibexecdir}/systemd/systemd-udevd \ 262 ${rootlibexecdir}/systemd/systemd-udevd \