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:
John Baldwin 2000-08-17 05:43:41 +00:00
parent 8ca723793a
commit e25cb01d28
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=64747

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>