The branch main has been updated by np:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=960409d660486c823615dc4cb2ff91793337ef20

commit 960409d660486c823615dc4cb2ff91793337ef20
Author:     Navdeep Parhar <[email protected]>
AuthorDate: 2026-02-27 02:04:16 +0000
Commit:     Navdeep Parhar <[email protected]>
CommitDate: 2026-02-27 19:05:14 +0000

    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
---
 release/tools/vmimage.subr | 10 +++++-----
 1 file 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

Reply via email to