[OE-core] [PATCH] lsb: add lsbinitscripts and util-linux rdepends
Richard Tollerton
rich.tollerton at ni.com
Tue Sep 22 22:38:01 UTC 2015
Alex Franco <alejandro.franco at linux.intel.com> writes:
> 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
This line wrapping is... weird. :F
> [YOCTO #7732]
I can no longer reproduce the segfault I alluded to in that bug report;
I guess I'll reopen it later if I see it again.
> --- 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
Nitpick: does this comment accomplish anything?
> +RDEPENDS_${PN} += "lsbinitscripts \
> + util-linux"
Shouldn't the util-linux dependency exist in lsbinitscripts instead of
lsb?
There's also a bash dependency in /etc/init.d/functions.lsbinitscripts
that probably needs to get added, or a patch created to eliminate it.
Should I file a new bug about it?
More information about the Openembedded-core
mailing list