The branch main has been updated by cperciva:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=7c0bc6c703eeaea737d0dbc21996764967e4dc97

commit 7c0bc6c703eeaea737d0dbc21996764967e4dc97
Author:     Colin Percival <[email protected]>
AuthorDate: 2025-09-15 00:39:42 +0000
Commit:     Colin Percival <[email protected]>
CommitDate: 2025-09-18 04:40:55 +0000

    release: Always dist sets on dvd1
    
    In the !NOPKGBASE && !NODISTSETS case, we only want the pkgbase repo
    on disc1; but we want both packaging formats on dvd in order to allow
    for offline installs in both methods and also tools which ingest the
    dist sets from the dvd image.
    
    MFC after:      12 hours
    Sponsored by:   https://www.patreon.com/cperciva
    Differential Revision:  https://reviews.freebsd.org/D52537
---
 release/Makefile | 2 --
 1 file changed, 2 deletions(-)

diff --git a/release/Makefile b/release/Makefile
index e48527de160d..bc04a7974744 100644
--- a/release/Makefile
+++ b/release/Makefile
@@ -322,7 +322,6 @@ dvd: ${PKGBASE_REPO}
        echo "./usr/freebsd-dist type=dir uname=root gname=wheel mode=0755" >> 
${.TARGET}/METALOG
        cp MANIFEST ${.TARGET}/usr/freebsd-dist
        echo "./usr/freebsd-dist/MANIFEST type=file uname=root gname=wheel 
mode=0644" >> ${.TARGET}/METALOG
-.if defined(NOPKGBASE) && !empty(NOPKGBASE)
 # Copy distfiles
        mkdir -p ${.TARGET}/usr/freebsd-dist
        for dist in $$(ls *.txz | grep -v container); do \
@@ -330,7 +329,6 @@ dvd: ${PKGBASE_REPO}
            echo "./usr/freebsd-dist/$${dist} type=file uname=root gname=wheel 
mode=0644" >> ${.TARGET}/METALOG; \
        done
 .endif
-.endif
 .if ${.MAKE.OS} == "FreeBSD" && (!defined(NOPKG) || empty(NOPKG))
 # Install packages onto release media.
        ${PKG_INSTALL} pkg || true

Reply via email to