put symlink into /usr in sysroot
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
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
Quoted 6 lines · ext Marek Andrus
Hi,
I have to make symbolic link
/usr/lib64to/usr/libin 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/libthe 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