mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-17 15:27:36 +00:00
Use "cp -f" instead of "rm" and "cp" to break the hardlink to
device.hints. Submitted by: ru
This commit is contained in:
parent
c859ef977e
commit
3f332bb341
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=135257
@ -919,8 +919,7 @@ cdrom.1:
|
||||
@echo 'mfsroot_name="/boot/mfsroot"' >> ${CD_DISC2}/boot/loader.conf
|
||||
.if exists(${HINTSFILE})
|
||||
# Break the link to device.hints so we can modify it
|
||||
@rm ${CD_DISC2}/boot/device.hints
|
||||
@cp ${HINTSFILE} ${CD_DISC2}/boot/device.hints
|
||||
@cp -f ${HINTSFILE} ${CD_DISC2}/boot/device.hints
|
||||
.if ${TARGET} == "i386" || ${TARGET_ARCH} == "amd64"
|
||||
@echo 'hint.atkbd.0.flags="0x1"' >> ${CD_DISC2}/boot/device.hints
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user