[yocto] Conflicting recipes / How to set SSTATE_DUPWHITELIST?

Markus Volk f_l_k at t-online.de
Sun Aug 6 21:28:52 PDT 2017


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

On Mon, 7 Aug 2017 00:02:59 +0200
Peter Vutov <pvutov at imap.cc> 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
> 
> 
> -- 
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto


-- 
Markus Volk <f_l_k at t-online.de>



More information about the yocto mailing list