summaryrefslogtreecommitdiffstats
path: root/sys/Makefile
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2000-08-17 05:43:41 +0000
committerjhb <jhb@FreeBSD.org>2000-08-17 05:43:41 +0000
commit9f676df9eaedcddad53a3ff06a81a2aa8e393f9f (patch)
tree84cd5eebce77a0a8cee58a112a0722cdf46228e4 /sys/Makefile
parent45b22e0c181360ef4007488e37447bc8bc314baa (diff)
downloadFreeBSD-src-9f676df9eaedcddad53a3ff06a81a2aa8e393f9f.zip
FreeBSD-src-9f676df9eaedcddad53a3ff06a81a2aa8e393f9f.tar.gz
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.
Diffstat (limited to 'sys/Makefile')
-rw-r--r--sys/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/Makefile b/sys/Makefile
index 6e370272..e8656b3 100644
--- a/sys/Makefile
+++ b/sys/Makefile
@@ -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>
OpenPOWER on IntegriCloud