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

Burton, Ross ross.burton at intel.com
Fri Aug 14 10:47:16 UTC 2015


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*.

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20150814/e221b24f/attachment-0002.html>


More information about the Openembedded-core mailing list