Don't parse NO_ROOT metadata for extra kernels if NO_ROOT isn't defined.
Approved by: re (gjb) MFC after: 1 week
This commit is contained in:
parent
a667cf73d9
commit
865f77794b
@ -1089,9 +1089,11 @@ distributekernel distributekernel.debug:
|
|||||||
KERNEL=${INSTKERNNAME}.${_kernel} \
|
KERNEL=${INSTKERNNAME}.${_kernel} \
|
||||||
DESTDIR=${INSTALL_DDIR}/kernel.${_kernel} \
|
DESTDIR=${INSTALL_DDIR}/kernel.${_kernel} \
|
||||||
${.TARGET:S/distributekernel/install/}
|
${.TARGET:S/distributekernel/install/}
|
||||||
|
.if defined(NO_ROOT)
|
||||||
sed -e 's|^./kernel|.|' \
|
sed -e 's|^./kernel|.|' \
|
||||||
${DESTDIR}/${DISTDIR}/kernel.${_kernel}.premeta > \
|
${DESTDIR}/${DISTDIR}/kernel.${_kernel}.premeta > \
|
||||||
${DESTDIR}/${DISTDIR}/kernel.${_kernel}.meta
|
${DESTDIR}/${DISTDIR}/kernel.${_kernel}.meta
|
||||||
|
.endif
|
||||||
.endfor
|
.endfor
|
||||||
|
|
||||||
packagekernel:
|
packagekernel:
|
||||||
|
Loading…
Reference in New Issue
Block a user