From c260dbfb47ef154c26b7565ff38e0c931d5839c4 Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Sun, 22 Mar 2020 03:10:31 +0000 Subject: [PATCH] Makefile.inc1: set DB_FROM_SRC also for stageworld stageworld, invoked from e.g. `make packages`, shouldn't rely on the build host's users/groups. Sponsored by: The FreeBSD Foundation --- Makefile.inc1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.inc1 b/Makefile.inc1 index 08eaa8999c09..baee5bfc2e0f 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -851,7 +851,8 @@ IMAKEENV+= PATH=${TMPPATH}:${INSTALLTMP} # When generating install media, do not allow user and group information from # the build host to affect the contents of the distribution. -.if make(distributeworld) || make(distrib-dirs) || make(distribution) +.if make(distributeworld) || make(distrib-dirs) || make(distribution) || \ + make(stageworld) DB_FROM_SRC= yes .endif