* [PATCHv3] lsb: add lsbinitscripts and util-linux rdepends
@ 2015-09-25 21:03 Alex Franco
2015-09-25 21:03 ` Alex Franco
0 siblings, 1 reply; 2+ messages in thread
From: Alex Franco @ 2015-09-25 21:03 UTC (permalink / raw)
To: openembedded-core
Changes since v2: moved util-linux RDEPENDS to lsbinitscripts, while
lsb still holds the lsbinitscritps dependency.
It was suggested it may be better to split up util-linux. Individual
utils like mountpoint in this case, could be added in a granular way
instead of potentially causing bloat. This should probably be minded
in a future patch...
[YOCTO #7732]
Signed-off-by: Alex Franco <alejandro.franco@linux.intel.com>
Alex Franco (1):
lsb: add lsbinitscripts and util-linux rdepends
meta/recipes-extended/lsb/lsb_4.1.bb | 4 ++--
meta/recipes-extended/lsb/lsbinitscripts_9.64.bb | 2 ++
2 files changed, 4 insertions(+), 2 deletions(-)
--
2.5.3
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCHv3] lsb: add lsbinitscripts and util-linux rdepends
2015-09-25 21:03 [PATCHv3] lsb: add lsbinitscripts and util-linux rdepends Alex Franco
@ 2015-09-25 21:03 ` Alex Franco
0 siblings, 0 replies; 2+ messages in thread
From: Alex Franco @ 2015-09-25 21:03 UTC (permalink / raw)
To: openembedded-core
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>
---
meta/recipes-extended/lsb/lsb_4.1.bb | 4 ++--
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 6215b62..c9f6a8b 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 6db667c..150f6f2 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}"
--
2.5.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-09-25 21:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-25 21:03 [PATCHv3] lsb: add lsbinitscripts and util-linux rdepends Alex Franco
2015-09-25 21:03 ` Alex Franco
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox