Skip to contentSkip to conversation

systemd: change dependency relationships

PATCH New Chen Qi 1 participant 2 messages Jul 22, 2014

lore
Share & tools
lore

Chen Qi

author
#0 lore raw

cover systemd: change dependency relationships

The following changes since commit 5bcda42a946ae8b14aee8864d18745be0a997aaa:

bitbake: fetch2: Add module for ClearCase (ccrc://) (2014-07-21 19:24:29 +0100)

are available in the git repository at:

git://git.openembedded.org/openembedded-core-contrib ChenQi/systemd-udev-hwdb
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=ChenQi/systemd-udev-hwdb

Chen Qi (1):
systemd: change dependency relationships

 meta/recipes-core/systemd/systemd_213.bb |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
Signature · 1 line
1.7.9.5
author
#1 lore raw

PATCH 1/1 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.

---
 meta/recipes-core/systemd/systemd_213.bb |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
meta/recipes-core/systemd/systemd_213.bb +3 -2
index 28cc4cb..5de7cdc 100644
@@ -244,7 +244,7 @@ FILES_${PN}-dev += "${base_libdir}/security/*.la ${datadir}/dbus-1/interfaces/ $
 
 RDEPENDS_${PN} += "kmod dbus util-linux-mount udev (= ${EXTENDPKGV})"
 
-RRECOMMENDS_${PN} += "systemd-serialgetty systemd-compat-units \
+RRECOMMENDS_${PN} += "systemd-serialgetty systemd-compat-units udev-hwdb\
                       util-linux-agetty \
                       util-linux-fsck e2fsprogs-e2fsck \
                       kernel-module-autofs4 kernel-module-unix kernel-module-ipv6 \
@@ -255,7 +255,8 @@ PACKAGES =+ "udev-dbg udev udev-hwdb"
 FILES_udev-dbg += "/lib/udev/.debug"
 
 RPROVIDES_udev = "hotplug"
-RRECOMMENDS_udev += "udev-hwdb"
+
+RDEPENDS_udev-hwdb += "udev"
 
 FILES_udev += "${base_sbindir}/udevd \
                ${rootlibexecdir}/systemd/systemd-udevd \
Signature · 1 line
1.7.9.5