svn commit: r250832 - head
Brooks Davis
brooks at FreeBSD.org
Mon May 20 21:16:39 UTC 2013
Author: brooks
Date: Mon May 20 21:16:38 2013
New Revision: 250832
URL: http://svnweb.freebsd.org/changeset/base/250832
Log:
Fix distributekernel in the non NO_ROOT case.
PR: conf/178775
Submitted by: Garrett Cooper <yaneurabeya at gmail.com>
Modified:
head/Makefile.inc1
Modified: head/Makefile.inc1
==============================================================================
--- head/Makefile.inc1 Mon May 20 20:47:40 2013 (r250831)
+++ head/Makefile.inc1 Mon May 20 21:16:38 2013 (r250832)
@@ -1032,8 +1032,10 @@ distributekernel distributekernel.debug:
${IMAKE_MTREE} PATH=${TMPPATH} ${MAKE} KERNEL=${INSTKERNNAME} \
DESTDIR=${INSTALL_DDIR:S://:/:g:C:/$::}/kernel \
${.TARGET:S/distributekernel/install/}
+.if defined(NO_ROOT)
sed -e 's|^./kernel|.|' ${DESTDIR}/${DISTDIR}/kernel.premeta > \
${DESTDIR}/${DISTDIR}/kernel.meta
+.endif
.for _kernel in ${BUILDKERNELS:S/${INSTALLKERNEL}//}
.if defined(NO_ROOT)
echo "#${MTREE_MAGIC}" > ${DESTDIR}/${DISTDIR}/kernel.${_kernel}.premeta
More information about the svn-src-all
mailing list