Patchwork systemd depends on util-linux

login
register
mail settings
Submitter Erik Botö
Date May 16, 2013, 7:43 a.m.
Message ID <CA+AhUGx6qdRMA2-1eau9cuxjGrCTS8n-7Tiw-YurcL6Q896AvQ@mail.gmail.com>
Download mbox | patch
Permalink /patch/49977/
State New
Headers show

Comments

Erik Botö - May 16, 2013, 7:43 a.m.
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ö


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"

Patch

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