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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user