Re: [OE-core] [PATCH] distutils3: fix bindir mangling to stop breaking symlinks

2021-12-02 Thread Ross Burton
I've not looked at that series yet (the Summit is eating time) but if it does the same logic then yes. Ross On Thu, 2 Dec 2021 at 17:31, Konrad Weihmann wrote: > > > > On 02.12.21 18:17, Ross Burton wrote: > > distutils3_do_install wants to sed out build directory references from > > all binarie

Re: [OE-core] [PATCH] distutils3: fix bindir mangling to stop breaking symlinks

2021-12-02 Thread Konrad Weihmann
On 02.12.21 18:17, Ross Burton wrote: distutils3_do_install wants to sed out build directory references from all binaries in ${bindir} and ${sbindir}. It tries to avoid touching symlinks by doing 'test -f' on the files as it iterates, but test always dereferences symlinks so this will touch bot

[OE-core] [PATCH] distutils3: fix bindir mangling to stop breaking symlinks

2021-12-02 Thread Ross Burton
distutils3_do_install wants to sed out build directory references from all binaries in ${bindir} and ${sbindir}. It tries to avoid touching symlinks by doing 'test -f' on the files as it iterates, but test always dereferences symlinks so this will touch both real files and symlinks to real files.