summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhang Peng <peng.zhang1.cn@windriver.com>2025-07-15 15:13:49 +0800
committerBruce Ashfield <bruce.ashfield@gmail.com>2025-07-16 14:48:25 -0400
commit199d37700fe8682b4b73f4196d854edc9aed22e0 (patch)
tree749e67ef78e7517653a59b72d982f1089cdc3641
parent95caaaca9e7823713a8fd3ab43bc2f6464021ca3 (diff)
downloadmeta-virtualization-199d37700fe8682b4b73f4196d854edc9aed22e0.tar.gz
packagegroup-container: fix do_package_wrte_rpm issue in multilib build
When build lib32-packagegroup-container, the follwing error occurred: ERROR: lib32-packagegroup-container-1.0-r0 do_package_write_rpm: An allarch packagegroup shouldn't depend on packages which are dynamically renamed (lib32-ipset-dbg to ipset-dbg) ERROR: lib32-packagegroup-container-1.0-r0 do_package_write_rpm: An allarch packagegroup shouldn't depend on packages which are dynamically renamed (lib32-ipset to ipset) ERROR: lib32-packagegroup-container-1.0-r0 do_package_write_rpm: An allarch packagegroup shouldn't depend on packages which are dynamically renamed (lib32-ipset-dev to ipset-dev) To resolve this issue in a multilib build, set PACKAGE_ARCH appropriately to avoid using allarch. Signed-off-by: Zhang Peng <peng.zhang1.cn@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
-rw-r--r--recipes-core/packagegroups/packagegroup-container.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes-core/packagegroups/packagegroup-container.bb b/recipes-core/packagegroups/packagegroup-container.bb
index f5e20344..b94e6799 100644
--- a/recipes-core/packagegroups/packagegroup-container.bb
+++ b/recipes-core/packagegroups/packagegroup-container.bb
@@ -2,6 +2,8 @@ SUMMARY = "All packages for container host"
2LICENSE = "MIT" 2LICENSE = "MIT"
3LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 3LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
4 4
5PACKAGE_ARCH = "${MACHINE_ARCH}"
6
5inherit packagegroup 7inherit packagegroup
6 8
7COMPATIBLE_HOST = "^(?!(mips|riscv)).*" 9COMPATIBLE_HOST = "^(?!(mips|riscv)).*"