[poky] [PATCH] externalsrc: Change absolute symlinks to relative ones

Paul Eggleton paul.eggleton at linux.intel.com
Tue Apr 10 16:40:57 PDT 2018


Hi Jens,

On Thursday, 5 April 2018 2:46:00 AM NZST Erdmann, Jens wrote:
> In 3eee8e99 sstate got changed to refuse absolute symlinks. Externalsrc
> creates absolute symlinks for oe-logs and oe-workdir which causes
> errors at do_populate_sysroot.
> Changing symlinks to relative paths will make externalsrc comply with sstate
> changesi and will avoid those errors.

This implies that you (or more precisely, the build system of whatever your 
recipe is building) is installing these symlinks to ${D} from the source tree 
- I would recommend avoiding that, since those symlinks are of no use on the 
target or indeed the sysroot, and making them relative means they will 
definitely be broken when moved elsewhere in any case.

Which recipe(s) are you experiencing this issue with? If they are custom ones, 
how is what happens during do_install defined there?

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre




More information about the poky mailing list