From 9f676df9eaedcddad53a3ff06a81a2aa8e393f9f Mon Sep 17 00:00:00 2001 From: jhb Date: Thu, 17 Aug 2000 05:43:41 +0000 Subject: 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. --- sys/Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'sys/Makefile') 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 -- cgit v1.1