svn commit: r296396 - head
Bryan Drewery
bdrewery at FreeBSD.org
Fri Mar 4 22:36:57 UTC 2016
Author: bdrewery
Date: Fri Mar 4 22:36:56 2016
New Revision: 296396
URL: https://svnweb.freebsd.org/changeset/base/296396
Log:
NO_ROOT: Create the METALOG directory on installworld/distributeworld.
When not using NO_ROOT the DESTDIR is implicitly created by the
distrib-dirs call. However with NO_ROOT it is trying to write
to the METALOG right away before running distrib-dirs which
may fail.
Sponsored by: EMC / Isilon Storage Division
Modified:
head/Makefile.inc1
Modified: head/Makefile.inc1
==============================================================================
--- head/Makefile.inc1 Fri Mar 4 22:36:42 2016 (r296395)
+++ head/Makefile.inc1 Fri Mar 4 22:36:56 2016 (r296396)
@@ -959,6 +959,7 @@ distributeworld installworld: _installch
cp $$libs $$progs ${INSTALLTMP}
cp -R $${PATH_LOCALE:-"/usr/share/locale"} ${INSTALLTMP}/locale
.if defined(NO_ROOT)
+ -mkdir -p ${METALOG:H}
echo "#${MTREE_MAGIC}" > ${METALOG}
.endif
.if make(distributeworld)
More information about the svn-src-head
mailing list