git: 567cbd8ff1c4 - main - release: Build dvd image before staging pkgs

From: Colin Percival <cperciva_at_FreeBSD.org>
Date: Sun, 14 Apr 2024 23:46:01 UTC
The branch main has been updated by cperciva:

URL: https://cgit.FreeBSD.org/src/commit/?id=567cbd8ff1c4edc1f2015ec4f93608aaf5a3c546

commit 567cbd8ff1c4edc1f2015ec4f93608aaf5a3c546
Author:     Colin Percival <cperciva@FreeBSD.org>
AuthorDate: 2024-04-14 22:31:26 +0000
Commit:     Colin Percival <cperciva@FreeBSD.org>
CommitDate: 2024-04-14 23:45:40 +0000

    release: Build dvd image before staging pkgs
    
    This missing dependency is only visible with -jN (which was otherwise
    broken until recently) and only when building DVD images (which aren't
    included in weekly snapshots and thereby slipped past testing).
    
    MFC after:      3 days
---
 release/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/release/Makefile b/release/Makefile
index 99927d611257..489cf4623ff4 100644
--- a/release/Makefile
+++ b/release/Makefile
@@ -297,7 +297,7 @@ packagesystem: ${DISTRIBUTIONS}
 	sh ${.CURDIR}/scripts/make-manifest.sh *.txz > MANIFEST
 	touch ${.TARGET}
 
-pkg-stage:
+pkg-stage: dvd
 # TODO: Support for -DNO_ROOT
 .if !defined(NOPKG) || empty(NOPKG)
 	env PORTSDIR=${PORTSDIR} REPOS_DIR=${.CURDIR}/pkg_repos/ \