summaryrefslogtreecommitdiffstats
path: root/release
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2004-11-02 11:59:27 +0000
committerru <ru@FreeBSD.org>2004-11-02 11:59:27 +0000
commitd50fa43a38442dc3b8fa1d337f357f84fbacfd78 (patch)
tree6f46dea67c138fe2caf3a0b5781d45d1ed5c8158 /release
parent70aaae79c7426f60e43cbb643e455f5581a4136e (diff)
downloadFreeBSD-src-d50fa43a38442dc3b8fa1d337f357f84fbacfd78.zip
FreeBSD-src-d50fa43a38442dc3b8fa1d337f357f84fbacfd78.tar.gz
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".)
Diffstat (limited to 'release')
-rw-r--r--release/Makefile5
1 files changed, 3 insertions, 2 deletions
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
OpenPOWER on IntegriCloud