diff --git a/distrib/amiga/floppies/inst-common/list b/distrib/amiga/floppies/inst-common/list index ea1ed019f372..3fce52e0c4e7 100644 --- a/distrib/amiga/floppies/inst-common/list +++ b/distrib/amiga/floppies/inst-common/list @@ -1,4 +1,4 @@ -# $NetBSD: list,v 1.12 2007/03/01 07:11:04 apb Exp $ +# $NetBSD: list,v 1.13 2007/03/03 06:40:05 apb Exp $ # copy the crunched binary, link to it, and kill it COPY ${OBJDIR}/instbin instbin @@ -58,9 +58,8 @@ SPECIAL /bin/rm instbin # copy the MAKEDEV script and make some devices COPY ${DESTDIR}/dev/MAKEDEV dev/MAKEDEV -COPY ${DESTDIR}/dev/MAKEDEV.subr dev/MAKEDEV.subr SPECIAL cd dev; sh MAKEDEV floppy -SPECIAL /bin/rm dev/MAKEDEV dev/MAKEDEV.subr +SPECIAL /bin/rm dev/MAKEDEV # we need the contents of /usr/mdec (XXX) COPY ${DESTDIR}/usr/mdec/* usr/mdec diff --git a/distrib/bebox/floppies/ramdisk/list b/distrib/bebox/floppies/ramdisk/list index 04cc7e586b8b..59b3e593b91b 100644 --- a/distrib/bebox/floppies/ramdisk/list +++ b/distrib/bebox/floppies/ramdisk/list @@ -1,4 +1,4 @@ -# $NetBSD: list,v 1.9 2007/03/01 07:11:04 apb Exp $ +# $NetBSD: list,v 1.10 2007/03/03 06:40:05 apb Exp $ # copy the crunched binary, link to it, and kill it COPY ${OBJDIR}/ramdiskbin ramdiskbin @@ -54,9 +54,8 @@ SPECIAL /bin/rm ramdiskbin # copy the MAKEDEV script and make some devices COPY ${DESTDIR}/dev/MAKEDEV dev/MAKEDEV -COPY ${DESTDIR}/dev/MAKEDEV.subr dev/MAKEDEV.subr SPECIAL cd dev; sh MAKEDEV ramdisk -SPECIAL /bin/rm dev/MAKEDEV dev/MAKEDEV.subr +SPECIAL /bin/rm dev/MAKEDEV # various files that we need in /etc for the install COPY ${CURDIR}/../../../../etc/group etc/group diff --git a/distrib/common/Makefile.makedev b/distrib/common/Makefile.makedev index 17d93699bfa7..d02f0a355140 100644 --- a/distrib/common/Makefile.makedev +++ b/distrib/common/Makefile.makedev @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.makedev,v 1.12 2007/03/01 09:20:59 apb Exp $ +# $NetBSD: Makefile.makedev,v 1.13 2007/03/03 06:40:06 apb Exp $ # # Makefile snippet to add ${MAKEDEVTARGETS} devices to the mtree list # (if set), otherwise copy .OJBDIR-of-etc/MAKEDEV to ./dev @@ -15,11 +15,10 @@ # # Variables modified by this: # MAKEDEVSCRIPT path to .OBJDIR-of-etc/MAKEDEV -# MAKEDEVSUBR path to .OBJDIR-of-etc/MAKEDEV.subr # MTREECONF may get "devices.spec" added # LISTS may get "list.makedev" added -# IMAGEDEPENDS may get ${MAKEDEVSCRIPT} and ${MAKEDEVSUBR} added -# PARSELISTENV may get MAKEDEVSCRIPT=... and MAKEDEVSUBR=... added +# IMAGEDEPENDS may get ${MAKEDEVSCRIPT} added +# PARSELISTENV may get MAKEDEVSCRIPT=... added # .if !defined(_MAKEFILE_MAKEDEV_) @@ -30,7 +29,6 @@ MAKEDEVSPEC?= devices.spec _MAKEDEVOBJDIR!=cd ${NETBSDSRCDIR}/etc && ${PRINTOBJDIR} MAKEDEVSCRIPT= ${_MAKEDEVOBJDIR}/MAKEDEV -MAKEDEVSUBR= ${_MAKEDEVOBJDIR}/MAKEDEV.subr CLEANFILES+= ${MAKEDEVSPEC} ${MAKEDEVSPEC}.tmp @@ -43,7 +41,7 @@ CLEANFILES+= ${MAKEDEVSPEC} ${MAKEDEVSPEC}.tmp # MTREECONF+= ${MAKEDEVSPEC} -${MAKEDEVSPEC}: ${MAKEDEVSCRIPT} ${MAKEDEVSUBR} +${MAKEDEVSPEC}: ${MAKEDEVSCRIPT} ${_MKTARGET_CREATE} -rm -f ${.TARGET} ${.TARGET}.tmp MACHINE=${MACHINE:Q} MACHINE_ARCH=${MACHINE_ARCH:Q} \ @@ -59,9 +57,8 @@ ${MAKEDEVSPEC}: ${MAKEDEVSCRIPT} ${MAKEDEVSUBR} # (effectively) running "cd /dev ; ./MAKEDEV all" # LISTS+= ${DISTRIBDIR}/common/list.makedev -IMAGEDEPENDS+= ${MAKEDEVSCRIPT} ${MAKEDEVSUBR} +IMAGEDEPENDS+= ${MAKEDEVSCRIPT} PARSELISTENV+= MAKEDEVSCRIPT=${MAKEDEVSCRIPT:Q} -PARSELISTENV+= MAKEDEVSUBR=${MAKEDEVSUBR:Q} ${MAKEDEVSPEC}: .PHONY diff --git a/distrib/common/list.makedev b/distrib/common/list.makedev index ea0b54158b85..5d1d0af8bc3b 100644 --- a/distrib/common/list.makedev +++ b/distrib/common/list.makedev @@ -1,4 +1,3 @@ -# $NetBSD: list.makedev,v 1.6 2007/03/01 09:22:28 apb Exp $ +# $NetBSD: list.makedev,v 1.7 2007/03/03 06:40:06 apb Exp $ COPY ${MAKEDEVSCRIPT} dev/MAKEDEV 555 -COPY ${MAKEDEVSUBR} dev/MAKEDEV.subr 555 diff --git a/distrib/evbsh3/rom/ramdiskcommon/list b/distrib/evbsh3/rom/ramdiskcommon/list index b4da4a771188..5d8afdc066da 100644 --- a/distrib/evbsh3/rom/ramdiskcommon/list +++ b/distrib/evbsh3/rom/ramdiskcommon/list @@ -1,4 +1,4 @@ -# $NetBSD: list,v 1.4 2007/03/01 07:11:04 apb Exp $ +# $NetBSD: list,v 1.5 2007/03/03 06:40:06 apb Exp $ # various files that we need in /etc for the install COPY ${CURDIR}/../../../../etc/master.passwd etc/master.passwd @@ -27,9 +27,8 @@ COPY ${CURDIR}/../ramdiskcommon/shells etc/shells # copy the MAKEDEV script and make some devices COPY ${DESTDIR}/dev/MAKEDEV dev/MAKEDEV -COPY ${DESTDIR}/dev/MAKEDEV.subr dev/MAKEDEV.subr 555 SPECIAL cd dev; sh MAKEDEV ramdisk -SPECIAL /bin/rm dev/MAKEDEV dev/MAKEDEV.subr +SPECIAL /bin/rm dev/MAKEDEV #SPECIAL chmod 755 etc/rc diff --git a/distrib/notes/common/netboot b/distrib/notes/common/netboot index 909d5470fc51..e52575cc82ec 100644 --- a/distrib/notes/common/netboot +++ b/distrib/notes/common/netboot @@ -1,4 +1,4 @@ -.\" $NetBSD: netboot,v 1.27 2006/03/26 14:29:12 wiz Exp $ +.\" $NetBSD: netboot,v 1.28 2007/03/03 06:40:06 apb Exp $ .\" .\" Copyright (c) 1999-2004 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -805,9 +805,29 @@ Create device nodes .No # Ic "./MAKEDEV all" .disp) .Pp -This procedure only works on +The above procedure works only if the server is a .Nx -hosts. +host. +If the server is running a foreign operating system +(or an incompatible version of +.Nx ) , +then you can use a +.Nx +host to create an archive of device nodes in +.Dq ustar +format, and then unpack the archive on the foreign server +using the server's equivalent of the +.Xr pax 1 +or +.Xr tar 1 +commands, as follows: +.Pp +.(disp +.No on the +.No # mkdir temp +.No # mkdir temp + +.disp) .Pp .It Set up the client's diff --git a/distrib/pc532/floppies/inst-common/list b/distrib/pc532/floppies/inst-common/list index c37660f1e73c..27ceabe0e090 100644 --- a/distrib/pc532/floppies/inst-common/list +++ b/distrib/pc532/floppies/inst-common/list @@ -1,10 +1,9 @@ -# $NetBSD: list,v 1.16 2007/03/01 07:11:04 apb Exp $ +# $NetBSD: list,v 1.17 2007/03/03 06:40:09 apb Exp $ # copy the MAKEDEV script and make some devices COPY ${DESTDIR}/dev/MAKEDEV dev/MAKEDEV -COPY ${DESTDIR}/dev/MAKEDEV.subr dev/MAKEDEV.subr SPECIAL cd dev; sh MAKEDEV floppy -SPECIAL /bin/rm dev/MAKEDEV dev/MAKEDEV.subr +SPECIAL /bin/rm dev/MAKEDEV # we need the contents of /usr/mdec (XXX) COPY ${DESTDIR}/usr/mdec/* usr/mdec diff --git a/distrib/sun2/miniroot/Makefile b/distrib/sun2/miniroot/Makefile index 439a3d3c32a1..1903956c3202 100644 --- a/distrib/sun2/miniroot/Makefile +++ b/distrib/sun2/miniroot/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.20 2007/03/01 09:25:42 apb Exp $ +# $NetBSD: Makefile,v 1.21 2007/03/03 06:40:09 apb Exp $ .include .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib" @@ -31,7 +31,6 @@ IMAGEDEPENDS= ${KERNEL} \ ${DESTDIR}/bin/sleep ${DESTDIR}/bin/stty ${DESTDIR}/bin/sync \ ${DESTDIR}/bin/test \ ${DESTDIR}/dev/MAKEDEV ${DESTDIR}/dev/MAKEDEV.local \ - ${DESTDIR}/dev/MAKEDEV.subr \ ${DESTDIR}/etc/disktab ${DESTDIR}/etc/group \ ${DESTDIR}/etc/master.passwd ${DESTDIR}/etc/netconfig \ ${DESTDIR}/etc/passwd ${DESTDIR}/etc/protocols \ diff --git a/distrib/sun2/miniroot/list b/distrib/sun2/miniroot/list index f64b2a13af44..942d8744070a 100644 --- a/distrib/sun2/miniroot/list +++ b/distrib/sun2/miniroot/list @@ -1,5 +1,5 @@ # -# $NetBSD: list,v 1.3 2007/03/01 07:11:05 apb Exp $ +# $NetBSD: list,v 1.4 2007/03/03 06:40:09 apb Exp $ # # The PROM provides a default kernel name of "vmunix" @@ -39,7 +39,6 @@ SYMLINK /tmp/hosts etc/hosts # copy the MAKEDEV script and make some devices COPY ${DESTDIR}/dev/MAKEDEV dev/MAKEDEV 555 -COPY ${DESTDIR}/dev/MAKEDEV.subr dev/MAKEDEV.subr 555 COPY ${DESTDIR}/dev/MAKEDEV.local dev/MAKEDEV.local 555 # copy the miniroot installation tools diff --git a/distrib/sun3/miniroot/Makefile b/distrib/sun3/miniroot/Makefile index 72f4a9dad6b7..12839e7b87f4 100644 --- a/distrib/sun3/miniroot/Makefile +++ b/distrib/sun3/miniroot/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.34 2007/03/01 09:25:42 apb Exp $ +# $NetBSD: Makefile,v 1.35 2007/03/03 06:40:09 apb Exp $ .include .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib" @@ -27,7 +27,6 @@ IMAGEDEPENDS= ${CRUNCHBIN} \ ${KERNEL3} ${KERNEL3X} \ fstab install.md profile termcap \ ${DESTDIR}/dev/MAKEDEV ${DESTDIR}/dev/MAKEDEV.local \ - ${DESTDIR}/dev/MAKEDEV.subr \ ${DESTDIR}/etc/disktab ${DESTDIR}/etc/group \ ${DESTDIR}/etc/master.passwd ${DESTDIR}/etc/netconfig \ ${DESTDIR}/etc/passwd ${DESTDIR}/etc/protocols \ diff --git a/distrib/sun3/miniroot/list b/distrib/sun3/miniroot/list index c8ccf1ebdb4f..7e6153767497 100644 --- a/distrib/sun3/miniroot/list +++ b/distrib/sun3/miniroot/list @@ -1,5 +1,5 @@ # -# $NetBSD: list,v 1.13 2007/03/01 07:11:04 apb Exp $ +# $NetBSD: list,v 1.14 2007/03/03 06:40:09 apb Exp $ # COPY ${KERNEL3} netbsd.sun3 @@ -38,7 +38,6 @@ SYMLINK /tmp/hosts etc/hosts # copy the MAKEDEV script and make some devices COPY ${DESTDIR}/dev/MAKEDEV dev/MAKEDEV 555 -COPY ${DESTDIR}/dev/MAKEDEV.subr dev/MAKEDEV.subr 555 COPY ${DESTDIR}/dev/MAKEDEV.local dev/MAKEDEV.local 555 # copy the miniroot installation tools diff --git a/distrib/vax/inst-common/list b/distrib/vax/inst-common/list index df43eafdf9d2..92eb8a1737a8 100644 --- a/distrib/vax/inst-common/list +++ b/distrib/vax/inst-common/list @@ -1,4 +1,4 @@ -# $NetBSD: list,v 1.7 2007/03/01 07:11:05 apb Exp $ +# $NetBSD: list,v 1.8 2007/03/03 06:40:10 apb Exp $ # copy the crunched binary, link to it, and kill it COPY ${OBJDIR}/instbin instbin @@ -50,7 +50,6 @@ SPECIAL /bin/rm instbin # copy the MAKEDEV script and make some devices COPY ${DESTDIR}/dev/MAKEDEV dev/MAKEDEV -COPY ${DESTDIR}/dev/MAKEDEV.subr dev/MAKEDEV.subr SPECIAL cd dev; sh MAKEDEV all # various files that we need in /etc for the install