[OE-core] systemd depends on util-linux

Erik Botö erik.boto at pelagicore.com
Thu May 16 07:43:13 UTC 2013


Hi,

I have stumbled upon a build error for systemd a few times, where it
fails to build due to missing blkid/blkid.h.

| src/udev/udev-builtin-blkid.c:30:25: fatal error: blkid/blkid.h: No
such file or directory

I think this happens when systemd is built before util-linux and can
be fixed with an explicit DEPEND += "util-linux" in systemd_199.bb.

Cheers,
Erik Botö


diff --git a/meta/recipes-core/systemd/systemd_199.bb
b/meta/recipes-core/systemd/systemd_199.bb
index b1cc046..bf59281 100644
--- a/meta/recipes-core/systemd/systemd_199.bb
+++ b/meta/recipes-core/systemd/systemd_199.bb
@@ -9,9 +9,9 @@ LIC_FILES_CHKSUM =
"file://LICENSE.GPL2;md5=751419260aa954499f7abaabaa882bbe \
 PROVIDES = "udev"

 PE = "1"
-PR = "r4"
+PR = "r5"

-DEPENDS = "kmod docbook-sgml-dtd-4.1-native intltool-native
gperf-native acl readline dbus libcap libcgroup tcp-wrappers glib-2.0
qemu-native"
+DEPENDS = "kmod docbook-sgml-dtd-4.1-native intltool-native
gperf-native acl readline dbus libcap libcgroup tcp-wrappers glib-2.0
qemu-native util-linux"
 DEPENDS += "${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"

 SECTION = "base/shell"




More information about the Openembedded-core mailing list