[poky] [PATCH 0/1] Fixing do_rootfs_ipk failure

Richard Purdie richard.purdie at linuxfoundation.org
Tue Mar 15 14:15:56 PDT 2011


On Tue, 2011-03-15 at 16:15 +0800, Lianhao Lu wrote:
> From: Lianhao Lu <lianhao.lu at intel.com>
> 
> This patch fixes Bug #870. It removes the duplicated values in PACKAGE_ARCHS which would results an error in opkg-cl.
> 
> Pull URL: git://git.pokylinux.org/poky-contrib.git
>   Branch: llu/bug870
>   Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=llu/bug870
> 
> Thanks,
>     Lianhao Lu <lianhao.lu at intel.com>
> ---
> 
> 
> Lianhao Lu (1):
>   package_ipk.bbclass: Remove the duplication in PACKAGE_ARCHS.
> 
>  meta/classes/package_ipk.bbclass |   16 ++++++++++++++--
>  1 files changed, 14 insertions(+), 2 deletions(-)

Whilst this patch is good, it papers over the underlying problem as that
variable should never have duplicates in it. For that reason I don't
want to merge it but fix that issue instead. There are two things we
should do here:

a) Merge a fix to remove the duplication (I've done this with a quick
hacky workaround and proposed a better one on the OE Core list as it
needs discussion)
b) Add a sanity test for the PACKAGE_ARCHS variable to detect this
problem in the future.

Cheers,

Richard




More information about the poky mailing list