On Thu, 2011-06-09 at 21:51 +0800, Cui, Dexuan wrote: > Richard Purdie wrote: > > On Thu, 2011-06-09 at 09:04 +0100, Richard Purdie wrote: > >> I suspect you've asking for some partial sstate cache to be shared > >> between two builds? > >> > >> Put simpler, you probably want: > >> > >> in tmp0 "bitbake perl-native" > >> in tmp1, different location to tmp0, "bitbake core-image-sato" but > >> sharing the same sstate cache > > > > I meant to add that tmp0 should be renamed before this second step so > > if there are hardcoded references in any of the sstate packages they > > couldn't find anything in tmp0 as it would no longer exist. > > Actually this doesn't work even without my patch series? > i.e., without my patch series, > 1) I "bitbake perl-native" in /poky.git/build/; > 2) mv /poky.git/build /poky.git/build.bak; > 3) in /poky.git/build2/, modify the conf/local.conf to set SSTATE_MIRRORS to > point to /poky.git/build.bak/sstate-cache/, and "bitbake sgmlspl-native" > would fail in do_compile: > "Can't locate ExtUtils/Command.pm in @INC (@INC contains: > /poky.git/build/tmp/sysroots/i686-linux/usr/lib/perl/5.12.3 > /poky.git/build/tmp/sysroots/i686-linux/usr/lib/perl/5.12.3 > /poky.git/build/tmp/sysroots/i686-"linux/usr/lib/perl/5.12.3" > Is this an existing bug?
Looks like it. This did work but it looks like its been broken somehow :( Cheers, Richard _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core