It looks like this does fix the problem, and good job in spotting the
problem, but this fix assumes that the basename of CROSS_DIR is
BASE_PACKAGE_ARCH.  If that ever changes for whatever reason, it will break.
 I'd suggest instead changing it to continue to copy the contents of the
dir, but to change the destination to match the destination used in the
postamble (${PSTAGE_TMPDIR_STAGE}/cross/${BASE_PACKAGE_ARCH}).

On Thu, Mar 4, 2010 at 11:54 AM, Joshua Lock <j...@linux.intel.com> wrote:

> Hi,
>
> While working on packaged staging in Poky I noticed that cross packages
> where being incorrectly packaged.
>
> After spending quite some time to track down the issue and fix it I
> committed a patch to Poky master[1] to fix it.
>
> Attached is a copy of the patch for packages-staging.bbclass against
> oe.dev.
>
> Regards,
> Joshua
>
> 1.
> http://git.pokylinux.org/cgit.cgi/poky/commit/?id=538087d2036d9dd319e3a22aaa2f62e5a5285c55
> --
> Joshua Lock
>        Intel Open Source Technology Centre
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
>


-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Reply via email to