git: c779f56c70df - stable/15 - release: Don't install missing lib32 into VMs
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 10 Oct 2025 04:46:56 UTC
The branch stable/15 has been updated by cperciva:
URL: https://cgit.FreeBSD.org/src/commit/?id=c779f56c70df218466d5802ba12cbdad28c00f22
commit c779f56c70df218466d5802ba12cbdad28c00f22
Author: Colin Percival <cperciva@FreeBSD.org>
AuthorDate: 2025-10-09 06:13:03 +0000
Commit: Colin Percival <cperciva@FreeBSD.org>
CommitDate: 2025-10-10 04:46:43 +0000
release: Don't install missing lib32 into VMs
There is no FreeBSD-set-lib32 on riscv64 or powerpc64le.
Reviewed by: ivy, emaste
Fixes: 2d184465e8bb ("release: Rework VM package selection using sets")
MFC after: 6 hours
Sponsored by: https://www.patreon.com/cperciva
Differential Revision: https://reviews.freebsd.org/D52987
(cherry picked from commit 0dc634d48fcca9e88c3fb12cdffab4ddbc657f99)
---
release/tools/vmimage.subr | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/release/tools/vmimage.subr b/release/tools/vmimage.subr
index 131ebe37db6c..067eb5ea48a8 100644
--- a/release/tools/vmimage.subr
+++ b/release/tools/vmimage.subr
@@ -74,10 +74,15 @@ vm_base_packages_list() {
# Output a list of package sets equivalent to what we get from
# "installworld installkernel distribution", aka. the full base
# system.
- for S in base lib32 kernels; do
+ for S in base kernels; do
echo FreeBSD-set-$S
echo FreeBSD-set-$S-dbg
done
+ case ${TARGET_ARCH} in
+ amd64 | aarch64 | powerpc64)
+ echo FreeBSD-set-lib32
+ echo FreeBSD-set-lib32-dbg
+ esac
echo FreeBSD-set-tests
}