Re: [poky] ln -rs throws suntax error in do_populate_sysroot:append()
Ross Burton <[email protected]>
| Newsgroups | org.yoctoproject.lists.poky |
|---|---|
| Message-ID | <[email protected]> |
On 10 Oct 2024, at 19:58, Jojan via lists.yoctoproject.org <[email protected]> wrote: > I added an append function like this so that lib64 is a softlink to lib . The stage > do_populate_sysroot:append() { > dstdir = d.getVar('SYSROOT_DESTDIR') This is Python. > # bb.warn("DEST DIR s '%s'" % (dstdir)) > ln -s -r ${dstdir}${libdir} ${SYSROOT_DESTDIR}${prefix_native}/lib64 This is shell. You need to pick a language, or in the case of an :append use the same language as the function you’re appending. do_populate_sysroot() is python, so you need to use python. Feels like a better fix would be to actually fix the bug in the SYSROOT_DIRS handling instead of trying to work around it. Ross