Create an "expert" mode where the device hints are not checked during
installation. This is need for the release build.
This commit is contained in:
parent
025ada8856
commit
ecf92803ef
@ -261,6 +261,7 @@ kernel-tags:
|
||||
sed -e 's, ../, ,' tags > tags1
|
||||
|
||||
kernel-install kernel-install.debug:
|
||||
.if exists(${DESTDIR}/boot)
|
||||
@if [ ! -f ${DESTDIR}/boot/device.hints ] ; then \
|
||||
echo "You must set up a ${DESTDIR}/boot/device.hints file first." ; \
|
||||
exit 1 ; \
|
||||
@ -269,6 +270,7 @@ kernel-install kernel-install.debug:
|
||||
echo "You must activate /boot/device.hints in loader.conf." ; \
|
||||
exit 1 ; \
|
||||
fi
|
||||
.endif
|
||||
@if [ ! -f ${KERNEL_KO}${.TARGET:S/kernel-install//} ] ; then \
|
||||
echo "You must build a kernel first." ; \
|
||||
exit 1 ; \
|
||||
|
@ -216,6 +216,7 @@ kernel-tags:
|
||||
sed -e 's, ../, ,' tags > tags1
|
||||
|
||||
kernel-install kernel-install.debug:
|
||||
.if exists(${DESTDIR}/boot)
|
||||
@if [ ! -f ${DESTDIR}/boot/device.hints ] ; then \
|
||||
echo "You must set up a ${DESTDIR}/boot/device.hints file first." ; \
|
||||
exit 1 ; \
|
||||
@ -224,6 +225,7 @@ kernel-install kernel-install.debug:
|
||||
echo "You must activate /boot/device.hints in loader.conf." ; \
|
||||
exit 1 ; \
|
||||
fi
|
||||
.endif
|
||||
@if [ ! -f ${KERNEL_KO}${.TARGET:S/kernel-install//} ] ; then \
|
||||
echo "You must build a kernel first." ; \
|
||||
exit 1 ; \
|
||||
|
@ -219,6 +219,7 @@ kernel-tags:
|
||||
sed -e 's, ../, ,' tags > tags1
|
||||
|
||||
kernel-install kernel-install.debug:
|
||||
.if exists(${DESTDIR}/boot)
|
||||
@if [ ! -f ${DESTDIR}/boot/device.hints ] ; then \
|
||||
echo "You must set up a ${DESTDIR}/boot/device.hints file first." ; \
|
||||
exit 1 ; \
|
||||
@ -227,6 +228,7 @@ kernel-install kernel-install.debug:
|
||||
echo "You must activate /boot/device.hints in loader.conf." ; \
|
||||
exit 1 ; \
|
||||
fi
|
||||
.endif
|
||||
@if [ ! -f ${KERNEL_KO}${.TARGET:S/kernel-install//} ] ; then \
|
||||
echo "You must build a kernel first." ; \
|
||||
exit 1 ; \
|
||||
|
@ -216,6 +216,7 @@ kernel-tags:
|
||||
sed -e 's, ../, ,' tags > tags1
|
||||
|
||||
kernel-install kernel-install.debug:
|
||||
.if exists(${DESTDIR}/boot)
|
||||
@if [ ! -f ${DESTDIR}/boot/device.hints ] ; then \
|
||||
echo "You must set up a ${DESTDIR}/boot/device.hints file first." ; \
|
||||
exit 1 ; \
|
||||
@ -224,6 +225,7 @@ kernel-install kernel-install.debug:
|
||||
echo "You must activate /boot/device.hints in loader.conf." ; \
|
||||
exit 1 ; \
|
||||
fi
|
||||
.endif
|
||||
@if [ ! -f ${KERNEL_KO}${.TARGET:S/kernel-install//} ] ; then \
|
||||
echo "You must build a kernel first." ; \
|
||||
exit 1 ; \
|
||||
|
Loading…
x
Reference in New Issue
Block a user