From 3f332bb341ebe08bb319acdd8c77aa463c71f6b3 Mon Sep 17 00:00:00 2001 From: Brooks Davis Date: Wed, 15 Sep 2004 05:14:21 +0000 Subject: [PATCH] Use "cp -f" instead of "rm" and "cp" to break the hardlink to device.hints. Submitted by: ru --- release/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/release/Makefile b/release/Makefile index 669063e21a1..24f8e468c6b 100644 --- a/release/Makefile +++ b/release/Makefile @@ -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