Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/distrib/sparc/miniroot Switch from COPYDIR to COPY/LINK when...



details:   https://anonhg.NetBSD.org/src/rev/1fb12127ef6b
branches:  trunk
changeset: 771307:1fb12127ef6b
user:      njoly <njoly%NetBSD.org@localhost>
date:      Fri Nov 18 21:32:46 2011 +0000

description:
Switch from COPYDIR to COPY/LINK when populating usr/mdec directory, to
avoid file duplication.

diffstat:

 distrib/sparc/miniroot/list |  14 ++++++++++----
 1 files changed, 10 insertions(+), 4 deletions(-)

diffs (28 lines):

diff -r 22eb9ac241be -r 1fb12127ef6b distrib/sparc/miniroot/list
--- a/distrib/sparc/miniroot/list       Fri Nov 18 21:18:50 2011 +0000
+++ b/distrib/sparc/miniroot/list       Fri Nov 18 21:32:46 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: list,v 1.36 2011/07/03 23:11:33 tron Exp $
+#      $NetBSD: list,v 1.37 2011/11/18 21:32:46 njoly Exp $
 
 # Sparc extra's
 PROG   bin/rcmd
@@ -24,9 +24,15 @@
 SYMLINK        /tmp    var/tmp
 
 # we need the contents of /usr/mdec
-COPYDIR        ${DESTDIR}/usr/mdec     usr/mdec
-# ensure binstall is executable
-MTREE  ./usr/mdec/binstall     mode=0555
+COPY   ${DESTDIR}/usr/mdec/binstall    usr/mdec/binstall       555
+COPY   ${DESTDIR}/usr/mdec/boot        usr/mdec/boot
+LINK   usr/mdec/boot                   usr/mdec/boot.388000
+COPY   ${DESTDIR}/usr/mdec/boot.net    usr/mdec/boot.net
+COPY   ${DESTDIR}/usr/mdec/bootblk     usr/mdec/bootblk
+COPY   ${DESTDIR}/usr/mdec/bootjs.net  usr/mdec/bootjs.net
+COPY   ${DESTDIR}/usr/mdec/bootxx      usr/mdec/bootxx
+COPY   ${DESTDIR}/usr/mdec/ofwboot     usr/mdec/ofwboot
+LINK   usr/mdec/ofwboot                usr/mdec/ofwboot.net
 
 # copy the kernel
 COPY   ${KERNOBJDIR}/GENERIC/netbsd    netbsd



Home | Main Index | Thread Index | Old Index