mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 17:19:20 +00:00
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] (From OE-Core rev: e29daf8c3eeb7273e63b6ca6d774b8803880ca46) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
4333e88a02
commit
c0b3758481
@@ -151,7 +151,7 @@ list_installed_packages() {
|
||||
|
||||
# print the info, need to different return counts
|
||||
if [ "$1" = "arch" ] ; then
|
||||
echo "$GET_LIST" | awk '{print $1, $2}'
|
||||
echo "$GET_LIST" | awk '{PN=$1; gsub("_", "-"); print PN, $2}'
|
||||
elif [ "$1" = "file" ] ; then
|
||||
echo "$GET_LIST" | awk '{print $1, $3}'
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user