[OE-core] [PATCH] lsb: add lsbinitscripts and util-linux rdepends
Alex Franco
alejandro.franco at linux.intel.com
Wed Sep 9 19:56:09 UTC 2015
Building a base image such as core-image-minimal with lsb and then
attempting to source /lib/lsb/init-functions, then using the start
_daemon function (to start a daemon, such as syslogd) fails, since
/lib/lsb/init-functions use functions (incl. "daemon()") from file
/etc/init.d/functions.lsbinitscripts, which is provided by package
lsbinitscripts. Running daemon() then calls /usr/bin/mountpoint, a
binary provided by util-linux. So, both of these dependencies have
been added to: recipes-extended/lsb/lsb_4.1.bb
[YOCTO #7732]
Signed-off-by: Alex Franco <alejandro.franco at linux.intel.com>
---
meta/recipes-extended/lsb/lsb_4.1.bb | 3 +++
1 file changed, 3 insertions(+)
diff --git a/meta/recipes-extended/lsb/lsb_4.1.bb b/meta/recipes-extended/lsb/lsb_4.1.bb
index b4ef98e..11b788f 100644
--- a/meta/recipes-extended/lsb/lsb_4.1.bb
+++ b/meta/recipes-extended/lsb/lsb_4.1.bb
@@ -6,6 +6,9 @@ PR = "r2"
# lsb_release needs getopt
RDEPENDS_${PN} += "${VIRTUAL-RUNTIME_getopt}"
+# lsb needs lsbinitscripts and util-linux
+RDEPENDS_${PN} += "lsbinitscripts \
+ util-linux"
LIC_FILES_CHKSUM = "file://README;md5=12da544b1a3a5a1795a21160b49471cf"
--
1.8.4.5
More information about the Openembedded-core
mailing list