Perhaps, I'm doing something wrong, but setting this variable in build/conf/local.conf makes packages fail to build (do_install): only those which fail with pseudo before (linux-libc-headers and base-files).
On Fri, 15 Jan 2021 at 18:15, Richard Purdie < [email protected]> wrote: > On Fri, 2021-01-15 at 17:09 +0000, Richard Purdie wrote: > > On Fri, 2021-01-15 at 18:04 +0100, Anton Kachalov wrote: > > > nope, setting the entire PSEUDO_IGNORE_PATHS without "/usr" doesn't > > > work. The do_install task fails with error code 134 without any log > > > file. Neither temp/run.do_install file exists. The pseudo.log doesn't > > > have any errors. > > > > Right, Peter is correct and _remove is space delimited, the variable is > > comma delimited. Sorry, I'm getting confused. > > > > There is the rather uglier: > > > > PSEUDO_IGNORE_PATHS := > "${@d.getVar('PSEUDO_IGNORE_PATHS').replace('/usr/,','')}" > > > > which should work (I did test this time!). > > Thinking more, this is safer: > > PSEUDO_IGNORE_PATHS := "${@d.getVar('PSEUDO_IGNORE_PATHS', > False).replace('/usr/,','')}" > > I did test it parses and gave the right value with bitbake -e however I > not expanding it will be much safer as I suspect the first version > won't work in recipe context at build time. > > Cheers, > > Richard > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#146855): https://lists.openembedded.org/g/openembedded-core/message/146855 Mute This Topic: https://lists.openembedded.org/mt/79510377/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
