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

--
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to