From 9eb29202ee07f54c8606e3159a21849418067aa0 Mon Sep 17 00:00:00 2001 From: brooks Date: Wed, 15 Sep 2004 05:14:21 +0000 Subject: 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(-) (limited to 'release/Makefile') diff --git a/release/Makefile b/release/Makefile index 669063e..24f8e46 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 -- cgit v1.1