[bitbake-devel] [PATCH 2/5] opkg-utils: Fix silent empty/broken opkg package creation

Richard Purdie richard.purdie at linuxfoundation.org
Fri Nov 22 09:03:58 UTC 2019


On Thu, 2019-11-21 at 16:38 -0800, Khem Raj wrote:
> On Thu, Nov 21, 2019 at 12:54 PM Richard Purdie
> <richard.purdie at linuxfoundation.org> wrote:
> > opkg-build was failing on hosts where tar < 1.28 and reproducibile
> > builds
> > were enabled but it was doing this silently and generating
> > corrupted
> > (empty) ipk files. Add a fix for this (submitted upstream).
> > 
> > The fix requires bash but if you're building ipk files this
> > shoudn't be
> > a problem.
> 
> is the problem similar to this one
> 
> http://cfajohnson.com/shell/cus-faq-2.html#Q11

Yes.

> does it impact build times when default shell is not bash ?

I doubt very much whether it makes much difference at all. Its a single
execution per package of a script which takes a comparatively long
time. 

There are multiple places pipelines are used in the script and it would
be fairly invasive to try and use tricks like the ones in the link
above.

If it were something which looped tightly or has a short execution
time, it would make a difference but that isn't the case.

Cheers,

Richard




More information about the bitbake-devel mailing list