diff options
| author | Navdeep Parhar <np@FreeBSD.org> | 2026-02-27 02:04:16 +0000 |
|---|---|---|
| committer | Navdeep Parhar <np@FreeBSD.org> | 2026-02-27 19:05:14 +0000 |
| commit | 960409d660486c823615dc4cb2ff91793337ef20 (patch) | |
| tree | f85570ec124aeeb11f95bc1caca89f5f41bc52c3 | |
| parent | afbfc2a617ee16b4c3bafef869690b594f812690 (diff) | |
vmimage.subr: skip -dbg sets for WITHOUT_DEBUG_FILES/WITHOUT_KERNEL_SYMBOLS
This matches non-pkgbase behavior as installworld/installkernel skip the
debug bits if these knobs are set.
MFC after: 1 week
Sponsored by: Chelsio Communications
Reviewed by: cperciva
Differential Revision: https://reviews.freebsd.org/D55572
| -rw-r--r-- | release/tools/vmimage.subr | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/release/tools/vmimage.subr b/release/tools/vmimage.subr index 3975e94913c9..97bf52205c93 100644 --- a/release/tools/vmimage.subr +++ b/release/tools/vmimage.subr @@ -72,14 +72,14 @@ 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 kernels; do - echo FreeBSD-set-$S - echo FreeBSD-set-$S-dbg - done + echo FreeBSD-set-base + [ -z "${WITHOUT_DEBUG_FILES}" ] && echo FreeBSD-set-base-dbg + echo FreeBSD-set-kernels + [ -z "${WITHOUT_KERNEL_SYMBOLS}" ] && echo FreeBSD-set-kernels-dbg case ${TARGET_ARCH} in amd64 | aarch64 | powerpc64) echo FreeBSD-set-lib32 - echo FreeBSD-set-lib32-dbg + [ -z "${WITHOUT_DEBUG_FILES}" ] && echo FreeBSD-set-lib32-dbg esac echo FreeBSD-set-tests # Also install pkg, since systems with a packaged base system should |
