Source-Changes-HG archive

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

[src/trunk]: src/distrib don't set the owner or group when installing into $R...



details:   https://anonhg.NetBSD.org/src/rev/ce6e52ef6101
branches:  trunk
changeset: 521956:ce6e52ef6101
user:      lukem <lukem%NetBSD.org@localhost>
date:      Sat Feb 09 13:56:48 2002 +0000

description:
don't set the owner or group when installing into $RELEASEDIR

diffstat:

 distrib/acorn32/Makefile                      |   5 ++---
 distrib/alpha/Makefile                        |   5 ++---
 distrib/arm32/Makefile                        |   5 ++---
 distrib/hpcmips/Makefile                      |   5 ++---
 distrib/mac68k/instkernel/instkernel/Makefile |   7 +++----
 distrib/macppc/Makefile                       |   5 ++---
 distrib/miniroot/Makefile                     |   5 ++---
 distrib/mipsco/instkernel/Makefile            |  15 +++++++--------
 distrib/mipsco/ramdisk/Makefile               |   6 +++---
 distrib/notes/Makefile.inc                    |   5 ++---
 distrib/playstation2/Makefile                 |   5 ++---
 distrib/pmax/instkernel/Makefile              |  15 +++++++--------
 distrib/pmax/ramdisk/Makefile                 |   6 +++---
 distrib/vax/Makefile                          |   5 ++---
 14 files changed, 41 insertions(+), 53 deletions(-)

diffs (274 lines):

diff -r 2021f490411c -r ce6e52ef6101 distrib/acorn32/Makefile
--- a/distrib/acorn32/Makefile  Sat Feb 09 13:49:28 2002 +0000
+++ b/distrib/acorn32/Makefile  Sat Feb 09 13:56:48 2002 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.1 2002/01/25 15:28:41 reinoud Exp $
+# $NetBSD: Makefile,v 1.2 2002/02/09 13:56:48 lukem Exp $
 
 ITARGET=       ${RELEASEDIR}/installation
-IINST=         ${INSTALL} ${RENAME} ${PRESERVE} ${COPY}        \
-               -o ${BINOWN} -g ${BINGRP} -m ${NONBINMODE}
+IINST=         ${INSTALL} ${RENAME} ${PRESERVE} ${COPY} -m ${NONBINMODE}
 KERNELS=       INSTALL
 
 SUBDIR= ramdisk kernels
diff -r 2021f490411c -r ce6e52ef6101 distrib/alpha/Makefile
--- a/distrib/alpha/Makefile    Sat Feb 09 13:49:28 2002 +0000
+++ b/distrib/alpha/Makefile    Sat Feb 09 13:56:48 2002 +0000
@@ -1,12 +1,11 @@
-#      $NetBSD: Makefile,v 1.11 2001/11/14 00:44:13 tv Exp $
+#      $NetBSD: Makefile,v 1.12 2002/02/09 13:56:49 lukem Exp $
 
 .include <bsd.own.mk>          # Use /etc/mk.conf.
 
 SUBDIR=        instkernel #floppy-GENERIC
 
 ITARGET=       ${RELEASEDIR}/installation
-IINST=         ${INSTALL} ${RENAME} ${PRESERVE} ${COPY}        \
-               -o ${BINOWN} -g ${BINGRP} -m ${NONBINMODE}
+IINST=         ${INSTALL} ${RENAME} ${PRESERVE} ${COPY} -m ${NONBINMODE}
 
 .ifndef RELEASEDIR
 release:
diff -r 2021f490411c -r ce6e52ef6101 distrib/arm32/Makefile
--- a/distrib/arm32/Makefile    Sat Feb 09 13:49:28 2002 +0000
+++ b/distrib/arm32/Makefile    Sat Feb 09 13:56:48 2002 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2002/01/19 11:16:20 reinoud Exp $
+# $NetBSD: Makefile,v 1.6 2002/02/09 13:56:49 lukem Exp $
 
 ITARGET=       ${RELEASEDIR}/installation
-IINST=         ${INSTALL} ${RENAME} ${PRESERVE} ${COPY}        \
-               -o ${BINOWN} -g ${BINGRP} -m ${NONBINMODE}
+IINST=         ${INSTALL} ${RENAME} ${PRESERVE} ${COPY} -m ${NONBINMODE}
 KERNELS=       A7INST CATSINST RPCINST SHARKINST
 
 SUBDIR= ramdisk kernels
diff -r 2021f490411c -r ce6e52ef6101 distrib/hpcmips/Makefile
--- a/distrib/hpcmips/Makefile  Sat Feb 09 13:49:28 2002 +0000
+++ b/distrib/hpcmips/Makefile  Sat Feb 09 13:56:48 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.6 2001/11/14 00:48:38 tv Exp $
+#      $NetBSD: Makefile,v 1.7 2002/02/09 13:56:50 lukem Exp $
 
 .include "../Makefile.inc"
 
@@ -8,8 +8,7 @@
 SUBDIR=
 
 ITARGET=       ${RELEASEDIR}/installation
-IINST=         ${INSTALL} ${RENAME} ${PRESERVE} ${COPY}        \
-               -o ${BINOWN} -g ${BINGRP} -m ${NONBINMODE}
+IINST=         ${INSTALL} ${RENAME} ${PRESERVE} ${COPY} -m ${NONBINMODE}
 
 PBSDBOOTDIR = ${KERNSRCDIR}/arch/${MACHINE}/stand/pbsdboot
 PBSDBOOT = ${PBSDBOOTDIR}/pbsdboot.exe
diff -r 2021f490411c -r ce6e52ef6101 distrib/mac68k/instkernel/instkernel/Makefile
--- a/distrib/mac68k/instkernel/instkernel/Makefile     Sat Feb 09 13:49:28 2002 +0000
+++ b/distrib/mac68k/instkernel/instkernel/Makefile     Sat Feb 09 13:56:48 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.6 2002/02/03 19:59:30 wormey Exp $
+#      $NetBSD: Makefile,v 1.7 2002/02/09 13:56:50 lukem Exp $
 
 .include "../../../Makefile.inc"
 
@@ -23,9 +23,8 @@
        rm -f netbsd*
 
 release: all
-       ${INSTALL} -d -o root -g wheel -m 755 \
-               ${RELEASEDIR}/installation/instkernel/  
-       ${INSTALL} ${COPY} -o root -g wheel -m 644 netbsd-${INSTALL_KERNEL}.gz \
+       ${INSTALL} -d -m 755 ${RELEASEDIR}/installation/instkernel/     
+       ${INSTALL} ${COPY} -m 644 netbsd-${INSTALL_KERNEL}.gz \
                ${RELEASEDIR}/installation/instkernel/  
 
 .include <bsd.kernobj.mk>
diff -r 2021f490411c -r ce6e52ef6101 distrib/macppc/Makefile
--- a/distrib/macppc/Makefile   Sat Feb 09 13:49:28 2002 +0000
+++ b/distrib/macppc/Makefile   Sat Feb 09 13:56:48 2002 +0000
@@ -1,10 +1,9 @@
-#      $NetBSD: Makefile,v 1.8 2001/11/14 00:58:49 tv Exp $
+#      $NetBSD: Makefile,v 1.9 2002/02/09 13:56:50 lukem Exp $
 
 .include <bsd.own.mk>          # Use /etc/mk.conf.
 
 ITARGET=       ${RELEASEDIR}/installation
-IINST=         ${INSTALL} ${RENAME} ${PRESERVE} ${COPY}        \
-               -o ${BINOWN} -g ${BINGRP} -m ${NONBINMODE}
+IINST=         ${INSTALL} ${RENAME} ${PRESERVE} ${COPY} -m ${NONBINMODE}
 
 SUBDIR=        floppies
 
diff -r 2021f490411c -r ce6e52ef6101 distrib/miniroot/Makefile
--- a/distrib/miniroot/Makefile Sat Feb 09 13:49:28 2002 +0000
+++ b/distrib/miniroot/Makefile Sat Feb 09 13:56:48 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.45 2002/01/15 17:45:36 pk Exp $
+#      $NetBSD: Makefile,v 1.46 2002/02/09 13:56:51 lukem Exp $
 
 .include "../../Makefile.inc"
 .include <bsd.own.mk>
@@ -31,8 +31,7 @@
 LISTS=         ${.CURDIR}/list ${ARCHDIR}/list
 CRUNCHCONF=    ${CBIN}.conf
 MTREECONF=     ${.CURDIR}/mtree.conf
-ICMD=          ${INSTALL} ${RENAME} ${PRESERVE} ${COPY}        \
-                       -o root -g wheel -m ${NONBINMODE} 
+ICMD=          ${INSTALL} ${RENAME} ${PRESERVE} ${COPY} -m ${NONBINMODE}
 
 CRUNCHGEN?=    crunchgen
 MTREE?=                mtree
diff -r 2021f490411c -r ce6e52ef6101 distrib/mipsco/instkernel/Makefile
--- a/distrib/mipsco/instkernel/Makefile        Sat Feb 09 13:49:28 2002 +0000
+++ b/distrib/mipsco/instkernel/Makefile        Sat Feb 09 13:56:48 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.5 2001/11/04 06:18:26 wdk Exp $
+#      $NetBSD: Makefile,v 1.6 2002/02/09 13:56:51 lukem Exp $
 
 .include "../../../Makefile.inc"
 .include <bsd.kernobj.mk>
@@ -73,14 +73,13 @@
 .else
 release: ${IMAGE}.gz
        -mkdir -p ${DISKBINDIR} ${KERNBINDIR}
-       ${INSTALL} ${RENAME} ${PRESERVE} ${COPY} -o root -g wheel \
-               -m ${NONBINMODE} ${IMAGE}.gz ${DISKBINDIR}
-       ${INSTALL} ${RENAME} ${PRESERVE} ${COPY} -o root -g wheel \
-               -m ${BINMODE} netbsd.gz ${KERNBINDIR}/install.gz
+       ${INSTALL} ${RENAME} ${PRESERVE} ${COPY} -m ${NONBINMODE} \
+               ${IMAGE}.gz ${DISKBINDIR}
+       ${INSTALL} ${RENAME} ${PRESERVE} ${COPY} -m ${NONBINMODE} \
+               netbsd.gz ${KERNBINDIR}/install.gz
 .if defined(ECOFF_KERNEL)
-       ${INSTALL} ${RENAME} ${PRESERVE} ${COPY} -o root -g wheel \
-               -m ${BINMODE} netbsd.ecoff.gz \
-               ${KERNBINDIR}/install.ecoff.gz
+       ${INSTALL} ${RENAME} ${PRESERVE} ${COPY} -m ${NONBINMODE} \
+               netbsd.ecoff.gz ${KERNBINDIR}/install.ecoff.gz
 .endif # ECOFF_KERNEL
 .endif # RELEASEDIR
 
diff -r 2021f490411c -r ce6e52ef6101 distrib/mipsco/ramdisk/Makefile
--- a/distrib/mipsco/ramdisk/Makefile   Sat Feb 09 13:49:28 2002 +0000
+++ b/distrib/mipsco/ramdisk/Makefile   Sat Feb 09 13:56:48 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.7 2001/11/04 06:18:26 wdk Exp $
+#      $NetBSD: Makefile,v 1.8 2002/02/09 13:56:51 lukem Exp $
 
 TOP?=          ${.CURDIR}/..
 ARCHDIR?=      ${.CURDIR}/../miniroot
@@ -71,8 +71,8 @@
 .else
 release: ${DISKIMAGE}
        -mkdir -p ${NETBOOTDIR}
-       ${INSTALL} ${RENAME} ${PRESERVE} ${COPY} -o root -g wheel \
-               -m ${NONBINMODE} ${DISKIMAGE} ${NETBOOTDIR}
+       ${INSTALL} ${RENAME} ${PRESERVE} ${COPY} -m ${NONBINMODE} \
+               ${DISKIMAGE} ${NETBOOTDIR}
 .endif # !defined(RELEASEDIR)
 
 realinstall: release
diff -r 2021f490411c -r ce6e52ef6101 distrib/notes/Makefile.inc
--- a/distrib/notes/Makefile.inc        Sat Feb 09 13:49:28 2002 +0000
+++ b/distrib/notes/Makefile.inc        Sat Feb 09 13:56:48 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.22 2001/12/10 05:27:59 jmc Exp $
+#      $NetBSD: Makefile.inc,v 1.23 2002/02/09 13:56:52 lukem Exp $
 #
 
 # Ross Harvey <ross%netbsd.org@localhost>
@@ -20,8 +20,7 @@
 SRCS=  ${MAIN} whatis contents hardware xfer prep install\
        upgrade donations legal.common legal postinstall ../Makefile.inc\
        ${MERGED_SRCS}
-ICMD=  ${INSTALL} ${RENAME} ${PRESERVE} ${COPY}        \
-       -o root -g wheel -m ${NONBINMODE} 
+ICMD=  ${INSTALL} ${RENAME} ${PRESERVE} ${COPY} -m ${NONBINMODE}
 
 PRESET=        ${GFLAGS} -dM=${M} -dV=${V} -d.CURDIR=${.CURDIR} -r${M}=1
 
diff -r 2021f490411c -r ce6e52ef6101 distrib/playstation2/Makefile
--- a/distrib/playstation2/Makefile     Sat Feb 09 13:49:28 2002 +0000
+++ b/distrib/playstation2/Makefile     Sat Feb 09 13:56:48 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.3 2001/11/14 00:58:49 tv Exp $
+#      $NetBSD: Makefile,v 1.4 2002/02/09 13:56:52 lukem Exp $
 
 .include "../Makefile.inc"
 
@@ -8,8 +8,7 @@
 SUBDIR=
 
 ITARGET=       ${RELEASEDIR}/installation
-IINST=         ${INSTALL} ${RENAME} ${PRESERVE} ${COPY}        \
-               -o ${BINOWN} -g ${BINGRP} -m ${NONBINMODE}
+IINST=         ${INSTALL} ${RENAME} ${PRESERVE} ${COPY} -m ${NONBINMODE}
 
 .ifndef RELEASEDIR
 release:
diff -r 2021f490411c -r ce6e52ef6101 distrib/pmax/instkernel/Makefile
--- a/distrib/pmax/instkernel/Makefile  Sat Feb 09 13:49:28 2002 +0000
+++ b/distrib/pmax/instkernel/Makefile  Sat Feb 09 13:56:48 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.20 2001/10/21 23:23:22 jmc Exp $
+#      $NetBSD: Makefile,v 1.21 2002/02/09 13:56:52 lukem Exp $
 
 .include "../../../Makefile.inc"
 .include <bsd.kernobj.mk>
@@ -59,13 +59,12 @@
        -/bin/rm -f ${IMAGE} ${IMAGE}.gz
 
 realinstall:
-       ${INSTALL} ${RENAME} ${PRESERVE} ${COPY} -o root -g wheel \
-               -m ${NONBINMODE} ${IMAGE}.gz ${RELEASEDIR}${DISKBINDIR}
-       ${INSTALL} ${RENAME} ${PRESERVE} ${COPY} -o root -g wheel \
-               -m ${BINMODE} netbsd.gz ${RELEASEDIR}${KERNBINDIR}/install.gz
-       ${INSTALL} ${RENAME} ${PRESERVE} ${COPY} -o root -g wheel \
-               -m ${BINMODE} netbsd.ecoff.gz \
-               ${RELEASEDIR}${KERNBINDIR}/install.ecoff.gz
+       ${INSTALL} ${RENAME} ${PRESERVE} ${COPY} -m ${NONBINMODE} \
+               ${IMAGE}.gz ${RELEASEDIR}${DISKBINDIR}
+       ${INSTALL} ${RENAME} ${PRESERVE} ${COPY} -m ${NONBINMODE} \
+               netbsd.gz ${RELEASEDIR}${KERNBINDIR}/install.gz
+       ${INSTALL} ${RENAME} ${PRESERVE} ${COPY} -m ${NONBINMODE} \
+               netbsd.ecoff.gz ${RELEASEDIR}${KERNBINDIR}/install.ecoff.gz
 
 clean cleandir distclean:
        rm -f ${CLEANFILES}
diff -r 2021f490411c -r ce6e52ef6101 distrib/pmax/ramdisk/Makefile
--- a/distrib/pmax/ramdisk/Makefile     Sat Feb 09 13:49:28 2002 +0000
+++ b/distrib/pmax/ramdisk/Makefile     Sat Feb 09 13:56:48 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.17 2001/10/13 06:15:19 jmc Exp $
+#      $NetBSD: Makefile,v 1.18 2002/02/09 13:56:53 lukem Exp $
 
 BINDIR=                /installation/netboot
 
@@ -64,8 +64,8 @@
        @echo ${.OBJDIR}/${IMAGE}
 
 realinstall:
-       ${INSTALL} ${RENAME} ${PRESERVE} ${COPY} -o root -g wheel \
-               -m ${NONBINMODE} ${DISKIMAGE} ${RELEASEDIR}${BINDIR}
+       ${INSTALL} ${RENAME} ${PRESERVE} ${COPY} -m ${NONBINMODE} \
+               ${DISKIMAGE} ${RELEASEDIR}${BINDIR}
 
 clean cleandir distclean:
        /bin/rm -f *.core ${CLEANFILES} *.o *.cro *.c
diff -r 2021f490411c -r ce6e52ef6101 distrib/vax/Makefile
--- a/distrib/vax/Makefile      Sat Feb 09 13:49:28 2002 +0000
+++ b/distrib/vax/Makefile      Sat Feb 09 13:56:48 2002 +0000
@@ -1,10 +1,9 @@
-#      $NetBSD: Makefile,v 1.8 2001/03/04 20:33:03 matt Exp $
+#      $NetBSD: Makefile,v 1.9 2002/02/09 13:56:53 lukem Exp $
 
 .include <bsd.own.mk>          # Use /etc/mk.conf.
 
 ITARGET=       ${RELEASEDIR}/installation
-IINST=         ${INSTALL} ${RENAME} ${PRESERVE} ${COPY}        \
-               -o ${BINOWN} -g ${BINGRP} -m ${NONBINMODE}
+IINST=         ${INSTALL} ${RENAME} ${PRESERVE} ${COPY} -m ${NONBINMODE}
 
 SUBDIR= ramdisk ramdisk-kernel floppy #inst tk50 rx50 rx33
 



Home | Main Index | Thread Index | Old Index