Add in a hack that installs 'src/sys/${MACHINE_ARCH}/GENERIC.hints' as

/boot/device.hints in the bin dist during releases so that current snapshots
have a chance of booting up ok after installing.  The real fix for this
problem is to rewrite userconfig in Forth, stick it in the loader, axe
userconfig from the kernel, and extract the hints from the booted kernel in
sysinstall similar to the way we generate /boot/kernel.conf right now.  For
now, however, this will have to do.
This commit is contained in:
jhb 2000-08-17 05:43:41 +00:00
parent 45b22e0c18
commit 9f676df9ea

View File

@ -8,6 +8,11 @@ SUBDIR= boot
SUBDIR+=modules
.endif
afterdistribute:
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 \
${.CURDIR}/${MACHINE_ARCH}/conf/GENERIC.hints \
${DESTDIR}/boot/device.hints
HTAGSFLAGS+= -at `awk -F= '/^RELEASE *=/{release=$2}; END {print "FreeBSD", release, "kernel"}' < conf/newvers.sh`
.include <bsd.subdir.mk>