[OE-core] [PATCH] bitbake.conf: Add run-parts to HOSTTOOLS

André Draszik git at andred.net
Fri Aug 25 11:03:32 UTC 2017


On Thu, 2017-08-24 at 11:18 +0100, Richard Purdie wrote:
> On Thu, 2017-08-24 at 10:19 +0100, André Draszik wrote:
> > From: André Draszik <adraszik at tycoint.com>
> > 
> > ca-certificates runs a postinst task, update-ca-certificates,
> > which ultimately wants to execute run-parts.
> > 
> > Signed-off-by: André Draszik <adraszik at tycoint.com>
> > ---
> >  meta/conf/bitbake.conf | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
> > index 334ba2361f..8011689118 100644
> > --- a/meta/conf/bitbake.conf
> > +++ b/meta/conf/bitbake.conf
> > @@ -469,7 +469,7 @@ HOSTTOOLS += " \
> >      fgrep file find flock g++ gawk gcc getconf getopt git grep
> > gunzip gzip \
> >      head hostname install ld ldd ln ls make makeinfo md5sum mkdir
> > mknod \
> >      mktemp mv nm objcopy objdump od patch perl pod2man pr printf pwd
> > python python2 \
> > -    python2.7 python3 ranlib readelf readlink rm rmdir rpcgen sed sh
> > sha256sum \
> > +    python2.7 python3 ranlib readelf readlink rm rmdir rpcgen run-
> > parts sed sh sha256sum \
> >      sleep sort split stat strings strip tail tar tee test touch tr
> > true uname \
> >      uniq wc wget which xargs \
> >  "
> 
> We definitely should not be doing this, there is clearly a dependency
> missing somewhere else. ca-certificates should depend on whatever
> provides that...

In OE, run-parts is provided by debianutils, or by busybox, both of which
don't have a native version in OE.

ca-certificates seems to always have relied on run-parts from the host
environment. OE even carries a patch to make it work with run-parts from
Fedora.

What would be the preferred way to resolve this so?


Cheers,
Andre'




More information about the Openembedded-core mailing list