diff options
author | Zhang Peng <peng.zhang1.cn@windriver.com> | 2025-07-15 15:13:49 +0800 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2025-07-16 14:48:25 -0400 |
commit | 199d37700fe8682b4b73f4196d854edc9aed22e0 (patch) | |
tree | 749e67ef78e7517653a59b72d982f1089cdc3641 | |
parent | 95caaaca9e7823713a8fd3ab43bc2f6464021ca3 (diff) | |
download | meta-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.bb | 2 |
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" | |||
2 | LICENSE = "MIT" | 2 | LICENSE = "MIT" |
3 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" | 3 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" |
4 | 4 | ||
5 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
6 | |||
5 | inherit packagegroup | 7 | inherit packagegroup |
6 | 8 | ||
7 | COMPATIBLE_HOST = "^(?!(mips|riscv)).*" | 9 | COMPATIBLE_HOST = "^(?!(mips|riscv)).*" |