On 25 April 2018 at 09:59, ChenQi <[email protected]> wrote:
> After checking it again, I think removing the '/' would be sufficient.
>
> do_unpack[cleandirs] = "${@d.getVar('S') if d.getVar('S') !=
> d.getVar('WORKDIR') else os.path.join('${S}', 'patches')}"

To protect against this I'm running a test build with this change:

do_unpack[cleandirs] = "${@os.path.join('${S}', 'patches') if
os.path.samefile(d.getVar('S'), d.getVar('WORKDIR')) else
d.getVar('S')}"

Ross
-- 
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to