Conflicting recipes / How to set SSTATE_DUPWHITELIST?
Performing pretty much a default build of petalinux 2016.4, Yocto gives me an error because two recipes are creating the same README file. The conflict is only in the README file, and the build goes fine if I delete the file after the first recipe creates it but before the second tries to replace it (but it is bothersome doing this every time).
Since the conflict is only in a README file, the appropriate fix to me seems to add it to SSTATE_DUPWHITELIST. How would I do this? I've never used yocto and couldn't ctrl+f information in the manual on where such options are set. Would it go in the main *.bb file?
Build log: https://pastebin.com/KrzQvW7d
hi,
if you need to build both of the packages, a quick and dirty workaround would be to add a line like this to one of the recipes
do_install_append() {
rm -rf ${D}/foo/README
}to delete the README before packaging
Quoted 19 lines · On Mon, 7 Aug 2017 00:02:59 +0200 Peter Vutov <[email protected]> wrote:
Performing pretty much a default build of petalinux 2016.4, Yocto gives me an error because two recipes are creating the same README file. The conflict is only in the README file, and the build goes fine if I delete the file after the first recipe creates it but before the second tries to replace it (but it is bothersome doing this every time).
Since the conflict is only in a README file, the appropriate fix to me seems to add it to
SSTATE_DUPWHITELIST. How would I do this? I've never used yocto and couldn't ctrl+f information in the manual on where such options are set. Would it go in the main *.bb file?Build log: https://pastebin.com/KrzQvW7d
Signature · 4 lines
_______________________________________________ yocto mailing list [email protected] https://lists.yoctoproject.org/listinfo/yocto
Signature · 1 line
Markus Volk <[email protected]>