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

richard.purdie at linuxfoundation.org richard.purdie at linuxfoundation.org
Fri Aug 24 08:39:45 UTC 2018


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?

Cheers,

Richard







More information about the Openembedded-core mailing list