[oe] [PATCH] Fix packaged staging for cross packages

2010-03-04 Thread Joshua Lock
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

Re: [oe] [PATCH] Fix packaged staging for cross packages

2010-03-04 Thread Chris Larson
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 cha

Re: [oe] [PATCH] Fix packaged staging for cross packages

2010-03-05 Thread Joshua Lock
Hi Chris, On Thu, 2010-03-04 at 13:42 -0600, Chris Larson wrote: > 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 i

Re: [oe] [PATCH] Fix packaged staging for cross packages

2010-03-20 Thread Khem Raj
On (05/03/10 08:34), Joshua Lock wrote: > Hi Chris, > > On Thu, 2010-03-04 at 13:42 -0600, Chris Larson wrote: > > 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