On Thursday 04 April 2013 17:39:30 Martin Jansa wrote: > On Wed, Apr 03, 2013 at 12:14:33PM +0200, Martin Jansa wrote: > > * when PACKAGE_ARCH is changed e.g. from MACHINE_ARCH to TUNE_PKGARCH > > > > get_subpkgedata_fn is still reading old MACHINE_ARCH directory instead > > of newer with TUNE_PKGARCH > This is too strict in some cases, e.g.: > > ERROR: More then one pkgdata dir found for pkg 'opkg-collateral' > ( > '/OE/shr-core/tmp-eglibc/pkgdata/cortexa8-vfp-neon-oe-linux-gnueabi/runtime/ > opkg-collateral', > '/OE/shr-core/tmp-eglibc/pkgdata/armv5te-oe-linux-gnueabi/runtime/opkg-coll > ateral'), returning first > > Why do we need to look in all pkgdatadirs? Why not just PACKAGE_ARCH?
So this code may well not be doing the right thing, but PACKAGE_ARCH won't work either because this is called to get a list of all packages not just one, and we therefore have no context to know PACKAGE_ARCH. Cheers, Paul -- Paul Eggleton Intel Open Source Technology Centre _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core