[OE-core] [PATCH 1/3] tar-replacement-native: avoid race condition with host tar

Paul Eggleton paul.eggleton at linux.intel.com
Fri Aug 14 11:01:16 UTC 2015


On Friday 14 August 2015 11:47:16 Burton, Ross wrote:
> On 11 August 2015 at 09:44, Patrick Ohly <patrick.ohly at intel.com> wrote:
> > Installing "tar" into the sysroot leads to race conditions
> > (tasks which do not depend on tar-replacement-native may already
> > call tar while it's installation is incomplete). Avoid those
> > by installing only the tar binary under the name tar-native.
> 
> So the point of tar-replacement-native was that it's a *replacement* for
> the host tar, so it needs the same name.  If it was to be installed as an
> opt-in alternative there's a mechanism for doing that already (see
> EXTRANATIVEPATH) but that would break the purpose of tar-replacement-native.
> 
> I think for this situation you should show how to enable xattrs for images,
> with the caveat that if your host tar isn't suitable the user should
> bitbake just tar-replacement-native *first*.

Or install the buildtools perhaps.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the Openembedded-core mailing list