[yocto] put symlink into /usr in sysroot

Marek Andrus marek.andrus at wp.pl
Fri Jun 13 08:22:31 PDT 2014


I've found the solution. I created a function (fun) and added it to the 
functions called during populate_sysroot:
SYSROOT_PREPROCESS_FUNCS += "fun"

The function fun does the work: ln -s lib ${SYSROOT_DESTDIR}usr/lib64

BR,
Marek


On 11.06.2014 13:33, ext Marek Andrus wrote:
> Hi,
>
> I have to make symbolic link /usr/lib64 to /usr/lib in target sysroot. 
> I create it in install phase and it appears in output rpm package. 
> Unfortunately it doesn't appear in sysroot. I've found that if I 
> create links/files inside eg. /usr/lib the same way, they appear in 
> sysroot. So probably the question should be like this: how to put 
> anything into /usr or / in sysroot?
>
> BR,
> Marek Andrus




More information about the yocto mailing list