Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Dec 2021 15:20:00 GMT
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 0a2bc1aae36b - stable/12 - release: move installworld before installkernel
Message-ID:  <202112031520.1B3FK0Yh010104@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/12 has been updated by emaste:

URL: https://cgit.FreeBSD.org/src/commit/?id=0a2bc1aae36b44b2c9e16684bc6270b8a82943e2

commit 0a2bc1aae36b44b2c9e16684bc6270b8a82943e2
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2021-04-05 17:16:01 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2021-12-03 15:19:09 +0000

    release: move installworld before installkernel
    
    To support -DNO_ROOT work.  The top-level installworld target creates a
    new METALOG starting with `#mtree 2.0` so it needs to be first, to avoid
    overwriting installkernel METALOG entries.
    
    Reviewed by:    gjb
    MFC after:      1 month
    Sponsored by:   The FreeBSD Foundation
    Differential Revision:  https://reviews.freebsd.org/D29582
    
    (cherry picked from commit 4bbfa3d3baf70492ad4c3eacace0f966f3ca7070)
---
 release/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/release/Makefile b/release/Makefile
index 09b1b6a2c855..1b939d8051d8 100644
--- a/release/Makefile
+++ b/release/Makefile
@@ -152,7 +152,7 @@ ports.txz:
 disc1: packagesystem
 # Install system
 	mkdir -p ${.TARGET}
-	cd ${WORLDDIR} && ${IMAKE} installkernel installworld distribution \
+	cd ${WORLDDIR} && ${IMAKE} installworld installkernel distribution \
 	    DESTDIR=${.OBJDIR}/${.TARGET} MK_AMD=no MK_AT=no \
 	    MK_INSTALLLIB=no MK_LIB32=no MK_MAIL=no \
 	    MK_NCP=no MK_TOOLCHAIN=no MK_PROFILE=no \
@@ -176,7 +176,7 @@ disc1: packagesystem
 bootonly: packagesystem
 # Install system
 	mkdir -p ${.TARGET}
-	cd ${WORLDDIR} && ${IMAKE} installkernel installworld distribution \
+	cd ${WORLDDIR} && ${IMAKE} installworld installkernel distribution \
 	    DESTDIR=${.OBJDIR}/${.TARGET} MK_AMD=no MK_AT=no \
 	    MK_GAMES=no \
 	    MK_INSTALLLIB=no MK_LIB32=no MK_MAIL=no \
@@ -198,7 +198,7 @@ bootonly: packagesystem
 dvd: packagesystem
 # Install system
 	mkdir -p ${.TARGET}
-	cd ${WORLDDIR} && ${IMAKE} installkernel installworld distribution \
+	cd ${WORLDDIR} && ${IMAKE} installworld installkernel distribution \
 		DESTDIR=${.OBJDIR}/${.TARGET} MK_RESCUE=no MK_KERNEL_SYMBOLS=no \
 		MK_TESTS=no MK_DEBUG_FILES=no \
 		-DDB_FROM_SRC



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202112031520.1B3FK0Yh010104>