Create hierarchy before installing a new kernel. This is needed
because we require that a new kernel be installed prior to a new world, and we may need some new directories to succeed. Once MFCed, this will also help those poor souls who redundantly ``mv /modules /modules.old'' in RELENG_4 before an installkernel. Requested by: many MFC after: 3 days
This commit is contained in:
parent
11d905ecd8
commit
2f00651dae
@ -581,6 +581,15 @@ reinstallkernel reinstallkernel.debug: ${SPECIAL_INSTALLCHECKS}
|
|||||||
@echo "ERROR: No kernel \"${KERNCONF}\" to install."
|
@echo "ERROR: No kernel \"${KERNCONF}\" to install."
|
||||||
false
|
false
|
||||||
.endif
|
.endif
|
||||||
|
@echo "--------------------------------------------------------------"
|
||||||
|
@echo ">>> Making hierarchy"
|
||||||
|
@echo "--------------------------------------------------------------"
|
||||||
|
cd ${.CURDIR}; \
|
||||||
|
${CROSSENV} PATH=${TMPPATH} ${MAKE} -f Makefile.inc1 hierarchy
|
||||||
|
@echo
|
||||||
|
@echo "--------------------------------------------------------------"
|
||||||
|
@echo ">>> Installing kernel"
|
||||||
|
@echo "--------------------------------------------------------------"
|
||||||
cd ${KRNLOBJDIR}/${INSTALLKERNEL}; \
|
cd ${KRNLOBJDIR}/${INSTALLKERNEL}; \
|
||||||
${CROSSENV} PATH=${TMPPATH} \
|
${CROSSENV} PATH=${TMPPATH} \
|
||||||
${MAKE} KERNEL=${INSTKERNNAME} ${.TARGET:S/kernel//}
|
${MAKE} KERNEL=${INSTKERNNAME} ${.TARGET:S/kernel//}
|
||||||
|
Loading…
Reference in New Issue
Block a user