From d50fa43a38442dc3b8fa1d337f357f84fbacfd78 Mon Sep 17 00:00:00 2001
From: ru <ru@FreeBSD.org>
Date: Tue, 2 Nov 2004 11:59:27 +0000
Subject: Actually put hint.atkbd.0.flags="0x1" in /boot/device.hints on
 CD-ROMs. (Brought to my attention by Brooks while sitting together on the
 floor in "Kairo".)

---
 release/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

(limited to 'release/Makefile')

diff --git a/release/Makefile b/release/Makefile
index 007555e..7fe3eef 100644
--- a/release/Makefile
+++ b/release/Makefile
@@ -951,9 +951,10 @@ cdrom.1:
 	@echo 'mfsroot_load="YES"' > ${CD_DISC2}/boot/loader.conf
 	@echo 'mfsroot_type="mfs_root"' >> ${CD_DISC2}/boot/loader.conf
 	@echo 'mfsroot_name="/boot/mfsroot"' >> ${CD_DISC2}/boot/loader.conf
-.if exists(${HINTSFILE})
+.if exists(${RD}/trees/base/boot/device.hints)
 	# Break the link to device.hints so we can modify it
-	@cp -f ${HINTSFILE} ${CD_DISC2}/boot/device.hints
+	@rm -f ${CD_DISC2}/boot/device.hints
+	@cp ${RD}/trees/base/boot/device.hints ${CD_DISC2}/boot/device.hints
 .if ${TARGET} == "i386" || ${TARGET_ARCH} == "amd64"
 	@echo 'hint.atkbd.0.flags="0x1"' >> ${CD_DISC2}/boot/device.hints
 .endif
-- 
cgit v1.1