release: Add ${PKGBASE_REPO} dependency for dvd

A user may build only dvd1.iso, which would fail if the pkgbase-repo
did not already exist.  Builds using `make release` build disc1 before
dvd1 so that case would work, but it must be possible to build only
one artifact.

Fixes: 62d18f8c4c ("release: Add -DPKGBASE option to include pkgbase packages")
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Ed Maste
2025-05-20 17:39:30 -04:00
parent c485a58f51
commit 366a9fb9e7
+1 -1
View File
@@ -279,7 +279,7 @@ bootonly: packagesystem
echo "./boot/loader.conf type=file uname=root gname=wheel mode=0644" >> ${.TARGET}/METALOG
echo "./etc/rc.local type=file uname=root gname=wheel mode=0644" >> ${.TARGET}/METALOG
dvd: packagesystem
dvd: packagesystem ${PKGBASE_REPO}
# Install system
mkdir -p ${.TARGET}
( cd ${WORLDDIR} && ${IMAKE} installworld installkernel distribution \