diff options
author | Alex Franco <alejandro.franco@linux.intel.com> | 2015-09-25 16:03:05 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-09-29 15:15:47 +0100 |
commit | 4b1d302c60f07a39f1276a94d8c9bb34134186a3 (patch) | |
tree | 731a24268be6e063a4420f2b18ef4d4575ec72c5 /meta | |
parent | 5c0dc3e8f49621827e20f79fb6bc945c3f17315e (diff) | |
download | openembedded-core-4b1d302c60f07a39f1276a94d8c9bb34134186a3.tar.gz openembedded-core-4b1d302c60f07a39f1276a94d8c9bb34134186a3.tar.bz2 openembedded-core-4b1d302c60f07a39f1276a94d8c9bb34134186a3.zip |
lsb: add lsbinitscripts and util-linux rdepends
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, which is provided
by util-linux.
So, lsbinitscripts has been added as an RDEPENDency in lsb, and in
turn util-linux has been added to lsbinitscripts.
[YOCTO #7732]
Signed-off-by: Alex Franco <alejandro.franco@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-extended/lsb/lsb_4.1.bb | 4 | ||||
-rw-r--r-- | meta/recipes-extended/lsb/lsbinitscripts_9.64.bb | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/meta/recipes-extended/lsb/lsb_4.1.bb b/meta/recipes-extended/lsb/lsb_4.1.bb index 6215b62d80..c9f6a8bd9f 100644 --- a/meta/recipes-extended/lsb/lsb_4.1.bb +++ b/meta/recipes-extended/lsb/lsb_4.1.bb @@ -9,8 +9,8 @@ LSB_CORE_x86 = "lsb-core-ia32" LSB_CORE_x86-64 = "lsb-core-amd64" RPROVIDES_${PN} += "${LSB_CORE}" -# lsb_release needs getopt -RDEPENDS_${PN} += "${VIRTUAL-RUNTIME_getopt}" +# lsb_release needs getopt, lsbinitscripts +RDEPENDS_${PN} += "${VIRTUAL-RUNTIME_getopt} lsbinitscripts" LIC_FILES_CHKSUM = "file://README;md5=12da544b1a3a5a1795a21160b49471cf" diff --git a/meta/recipes-extended/lsb/lsbinitscripts_9.64.bb b/meta/recipes-extended/lsb/lsbinitscripts_9.64.bb index 6db667c135..150f6f230d 100644 --- a/meta/recipes-extended/lsb/lsbinitscripts_9.64.bb +++ b/meta/recipes-extended/lsb/lsbinitscripts_9.64.bb @@ -3,6 +3,8 @@ SECTION = "base" LICENSE = "GPLv2" DEPENDS = "popt glib-2.0" +RDEPENDS_${PN} += "util-linux" + LIC_FILES_CHKSUM = "file://COPYING;md5=ebf4e8b49780ab187d51bd26aaa022c6" S="${WORKDIR}/initscripts-${PV}" |