[OE-core] [PATCH] package.bbclass: only one hardlink of separated debug info file in each directory

Hongxu Jia hongxu.jia at windriver.com
Fri Aug 24 09:11:22 UTC 2018


On 2018年08月24日 16:39, richard.purdie at linuxfoundation.org wrote:
> On Fri, 2018-08-24 at 15:16 +0800, Hongxu Jia wrote:
>> Hi RP,
>>
>> With this fix, we could not use yesterday's workaround fix
>> `git: create symlink rather than hardlink between bin/ and libexec/',
>>
>> But it is no harm for us, btw, Ubuntu use symlink in git , and Fedora
>> use hardlink in git
> Thanks, I was thinking there probably was a problem in package.bbclass
> which your change to git was working around and you've now fixed it!
>
> I think I'd prefer to leave git using hardlinks so that we can
> potentially spot problems like this in future. There are other recipes
> that use hardlinks where the breakage may be more subtle (e.g.
> e2fsprogs) so having some recipes using hardlinks is good.
>
> I wondered if you'd fancy creating a new additional oqea test for this
> debug hardlink issue so that we'd detect any problems in future? The
> test I added was:
>
> http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=318595754b66e8e4f3db1bce1ac086a2409e2eca
>
> and with the addition of a few directories, it could probably be extended?

Got it, I am very pleasure to do it, I will extend the case with 
multiple dirs

//Hongxu

> Cheers,
>
> Richard
>
>
>
>




More information about the Openembedded-core mailing list