Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 May 2013 21:16:38 +0000 (UTC)
From:      Brooks Davis <brooks@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r250832 - head
Message-ID:  <201305202116.r4KLGcxq054499@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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



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