Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F151271285
D48095.id147995.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D48095.id147995.diff
View Options
Index: Makefile.inc1
===================================================================
--- Makefile.inc1
+++ Makefile.inc1
@@ -1003,6 +1003,9 @@
.if make(distributeworld)
.if ${DISTDIR:U/} == /
.error DISTDIR must be set for make distributeworld and may not be the root directory.
+..endif
+if !defined(NO_ROOT) || !defined(METALOG)
+.error NO_ROOT and METALOG must be set for make distributeworld.
.endif
CERTCTLDESTDIR= ${DESTDIR}/${DISTDIR}
CERTCTLFLAGS+= -d /base
@@ -1501,7 +1504,6 @@
-p ${DESTDIR}/${DISTDIR}/${dist}/usr/lib/debug/${TESTSBASE} >/dev/null
.endif
.endif
-.if defined(NO_ROOT)
${IMAKEENV} ${DISTR_MTREE} -C -f ${.CURDIR}/etc/mtree/BSD.root.dist | \
sed -e 's#^\./#./${dist}/#' >> ${METALOG}
${IMAKEENV} ${DISTR_MTREE} -C -f ${.CURDIR}/etc/mtree/BSD.usr.dist | \
@@ -1515,7 +1517,6 @@
${IMAKEENV} ${DISTR_MTREE} -C -f ${.CURDIR}/etc/mtree/BSD.lib${libcompat}.dist | \
sed -e 's#^\./#./${dist}/usr/#' >> ${METALOG}
.endfor
-.endif
.endfor
-mkdir ${DESTDIR}/${DISTDIR}/base
${_+_}cd ${.CURDIR}/etc; ${CROSSENV} PATH=${TMPPATH:Q} ${MAKE} \
@@ -1539,7 +1540,6 @@
.for dist in ${EXTRA_DISTRIBUTIONS}
find ${DESTDIR}/${DISTDIR}/${dist} -mindepth 1 -type d -empty -delete
.endfor
-.if defined(NO_ROOT)
.for dist in base ${EXTRA_DISTRIBUTIONS}
.for path suffix in "" .meta /usr/lib/debug .debug.meta
@# For each file that exists in this dist, print the corresponding
@@ -1552,7 +1552,6 @@
${DESTDIR}/${DISTDIR}/${dist}${suffix}
.endfor
.endfor
-.endif
.endif # make(distributeworld)
packageworld: .PHONY
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Apr 8, 5:56 AM (5 h, 46 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31081237
Default Alt Text
D48095.id147995.diff (1 KB)
Attached To
Mode
D48095: Makefile.inc1: Remove non-NO_ROOT cases from distributeworld
Attached
Detach File
Event Timeline
Log In to Comment