[OE-core] [PATCH 1/1] sstate.bbclass: fix parallel building issue

Rongqing Li rongqing.li at windriver.com
Thu Aug 15 10:08:35 UTC 2013



On 08/15/2013 05:55 PM, Phil Blundell wrote:
> On Thu, 2013-08-15 at 17:51 +0800, Rongqing Li wrote:
>> OK, But your issue is not related to me.
>>
>> I can reproduce my issue by two simple script.
>
> If tar is deciding that the file has "changed" just because the link
> count on the dentry has increased, that sounds like it is probably a bug
> in tar and ought to be fixed there.
>
> That said, I can't immediately think why autotools_copy_aclocal couldn't
> use a symlink rather than a hard link which would avoid this whole
> problem.  If the file is in the sysroot then there should be no risk of
> it going away underneath its user.
>

Good idea, use a symlink in autotools_copy_aclocal,
when tar makes a archive file, use -h parameter.

   -h, --dereference
            follow symlinks; archive and dump the files they point to




-Roy



> p.
>
>
>
>

-- 
Best Reagrds,
Roy | RongQing Li



More information about the Openembedded-core mailing list