]> code.ossystems Code Review - openembedded-core.git/commit
classes/rootfs_rpm: fix missed complementary packages with complex arch names
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Wed, 6 Feb 2013 14:07:26 +0000 (14:07 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 14 Feb 2013 15:17:17 +0000 (15:17 +0000)
commite29daf8c3eeb7273e63b6ca6d774b8803880ca46
treeeb9c4f6289443ad26a9f3dcd0091dc68f75a6200
parentc92320406ca8874b5862be5386dae80854a1a550
classes/rootfs_rpm: fix missed complementary packages with complex arch names

If the package architecture name is complex (e.g. with the meta-yocto-bsp
beagleboard machine and Poky, the architecture-specific package name is
"armv7a-vfp-neon"), rpm reports architecture names that contain
underscores instead of dashes, which when passed to oe-pkgdata-util
during complementary package processing did not match a valid pkginfo
path. Replacing the underscores with dashes again fixes the issue.

Note that this bug affects the danny branch and not master since the
substitution is already performed there in a different manner.

Fixes [YOCTO #3792]

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
meta/classes/rootfs_rpm.bbclass