Fix distributekernel in the non NO_ROOT case.
PR: conf/178775 Submitted by: Garrett Cooper <yaneurabeya@gmail.com>
This commit is contained in:
parent
956e8eee53
commit
54cf61415c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user