Module Name:    src
Committed By:   tsutsui
Date:           Thu Apr 30 12:47:40 UTC 2009

Added Files:
        src/distrib/notes/rs6000: Makefile hardware install legal prep upgrade
            xfer
        src/distrib/rs6000: Makefile
        src/distrib/rs6000/bootfs: Makefile
        src/distrib/rs6000/instkernel: Makefile
        src/distrib/rs6000/ramdisk: Makefile disktab.preinstall dot.profile
            list list.inet6
        src/distrib/sets/lists/base: md.rs6000
        src/distrib/sets/lists/comp: md.rs6000
        src/etc/etc.rs6000: MAKEDEV.conf Makefile.inc ttys
        src/sys/arch/rs6000/conf: INSTALL

Log Message:
Add necessary files for build.sh -m rs6000 release.
Based on PR port-powerpc/40421 from Wojciech Galazka,
with misc tweaks by me.

Note sysinst part is not pulled because there is
no supported storage device yet on this port.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/distrib/notes/rs6000/Makefile \
    src/distrib/notes/rs6000/hardware src/distrib/notes/rs6000/install \
    src/distrib/notes/rs6000/legal src/distrib/notes/rs6000/prep \
    src/distrib/notes/rs6000/upgrade src/distrib/notes/rs6000/xfer
cvs rdiff -u -r0 -r1.1 src/distrib/rs6000/Makefile
cvs rdiff -u -r0 -r1.1 src/distrib/rs6000/bootfs/Makefile
cvs rdiff -u -r0 -r1.1 src/distrib/rs6000/instkernel/Makefile
cvs rdiff -u -r0 -r1.1 src/distrib/rs6000/ramdisk/Makefile \
    src/distrib/rs6000/ramdisk/disktab.preinstall \
    src/distrib/rs6000/ramdisk/dot.profile src/distrib/rs6000/ramdisk/list \
    src/distrib/rs6000/ramdisk/list.inet6
cvs rdiff -u -r0 -r1.1 src/distrib/sets/lists/base/md.rs6000
cvs rdiff -u -r0 -r1.1 src/distrib/sets/lists/comp/md.rs6000
cvs rdiff -u -r0 -r1.1 src/etc/etc.rs6000/MAKEDEV.conf \
    src/etc/etc.rs6000/Makefile.inc src/etc/etc.rs6000/ttys
cvs rdiff -u -r0 -r1.1 src/sys/arch/rs6000/conf/INSTALL

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: src/distrib/notes/rs6000/Makefile
diff -u /dev/null src/distrib/notes/rs6000/Makefile:1.1
--- /dev/null	Thu Apr 30 12:47:40 2009
+++ src/distrib/notes/rs6000/Makefile	Thu Apr 30 12:47:39 2009
@@ -0,0 +1,6 @@
+#	$NetBSD: Makefile,v 1.1 2009/04/30 12:47:39 tsutsui Exp $
+
+MERGED_SRCS+=	${COMMON}/netboot
+MERGED_SRCS+=	${COMMON}/sysinst ${COMMON}/upgrade ${COMMON}/xfer
+
+.include <bsd.man.mk>
Index: src/distrib/notes/rs6000/hardware
diff -u /dev/null src/distrib/notes/rs6000/hardware:1.1
--- /dev/null	Thu Apr 30 12:47:40 2009
+++ src/distrib/notes/rs6000/hardware	Thu Apr 30 12:47:39 2009
@@ -0,0 +1,14 @@
+.\"	$NetBSD: hardware,v 1.1 2009/04/30 12:47:39 tsutsui Exp $
+.
+Since
+.Nx*M
+is an experimental port, the hardware support is in a constant state of flux.
+Check the
+.Mt port-p...@netbsd.org
+mailing list and the
+.Nx*M
+port homepage for an up-to-date list of known supported hardware.
+.Lk http://www.NetBSD.org/ports/rs6000/
+.Pp
+.Nx*M
+\*V works diskless via netboot.
Index: src/distrib/notes/rs6000/install
diff -u /dev/null src/distrib/notes/rs6000/install:1.1
--- /dev/null	Thu Apr 30 12:47:40 2009
+++ src/distrib/notes/rs6000/install	Thu Apr 30 12:47:39 2009
@@ -0,0 +1,5 @@
+.\"	$NetBSD: install,v 1.1 2009/04/30 12:47:39 tsutsui Exp $
+.
+.Ss2 Installing NetBSD by using a netboot setup
+.
+.so ../common/netboot
Index: src/distrib/notes/rs6000/legal
diff -u /dev/null src/distrib/notes/rs6000/legal:1.1
--- /dev/null	Thu Apr 30 12:47:40 2009
+++ src/distrib/notes/rs6000/legal	Thu Apr 30 12:47:39 2009
@@ -0,0 +1,2 @@
+.\"	$NetBSD: legal,v 1.1 2009/04/30 12:47:39 tsutsui Exp $
+.
Index: src/distrib/notes/rs6000/prep
diff -u /dev/null src/distrib/notes/rs6000/prep:1.1
--- /dev/null	Thu Apr 30 12:47:40 2009
+++ src/distrib/notes/rs6000/prep	Thu Apr 30 12:47:39 2009
@@ -0,0 +1,2 @@
+.\"	$NetBSD: prep,v 1.1 2009/04/30 12:47:39 tsutsui Exp $
+.
Index: src/distrib/notes/rs6000/upgrade
diff -u /dev/null src/distrib/notes/rs6000/upgrade:1.1
--- /dev/null	Thu Apr 30 12:47:40 2009
+++ src/distrib/notes/rs6000/upgrade	Thu Apr 30 12:47:39 2009
@@ -0,0 +1,28 @@
+.\"	$NetBSD: upgrade,v 1.1 2009/04/30 12:47:39 tsutsui Exp $
+.\"
+.\" Copyright (c) 1999-2000 The NetBSD Foundation, Inc.
+.\" All rights reserved.
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\" 1. Redistributions of source code must retain the above copyright
+.\"    notice, this list of conditions and the following disclaimer.
+.\" 2. Redistributions in binary form must reproduce the above copyright
+.\"    notice, this list of conditions and the following disclaimer in the
+.\"    documentation and/or other materials provided with the distribution.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
+.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+.\" PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
+.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+.\" POSSIBILITY OF SUCH DAMAGE.
+.\"
+.
+.so ../common/upgrade
Index: src/distrib/notes/rs6000/xfer
diff -u /dev/null src/distrib/notes/rs6000/xfer:1.1
--- /dev/null	Thu Apr 30 12:47:40 2009
+++ src/distrib/notes/rs6000/xfer	Thu Apr 30 12:47:39 2009
@@ -0,0 +1,28 @@
+.\"	$NetBSD: xfer,v 1.1 2009/04/30 12:47:39 tsutsui Exp $
+.\"
+.\" Copyright (c) 1999, 2000 The NetBSD Foundation, Inc.
+.\" All rights reserved.
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\" 1. Redistributions of source code must retain the above copyright
+.\"    notice, this list of conditions and the following disclaimer.
+.\" 2. Redistributions in binary form must reproduce the above copyright
+.\"    notice, this list of conditions and the following disclaimer in the
+.\"    documentation and/or other materials provided with the distribution.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
+.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+.\" PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
+.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+.\" POSSIBILITY OF SUCH DAMAGE.
+.\"
+.
+.so ../common/xfer

Index: src/distrib/rs6000/Makefile
diff -u /dev/null src/distrib/rs6000/Makefile:1.1
--- /dev/null	Thu Apr 30 12:47:40 2009
+++ src/distrib/rs6000/Makefile	Thu Apr 30 12:47:39 2009
@@ -0,0 +1,9 @@
+#	$NetBSD: Makefile,v 1.1 2009/04/30 12:47:39 tsutsui Exp $
+
+SUBDIR=	ramdisk .WAIT instkernel .WAIT bootfs
+TARGETS+=release
+
+#iso_image:
+#	${MAKEDIRTARGET} cdroms iso_image
+
+.include <bsd.subdir.mk>

Index: src/distrib/rs6000/bootfs/Makefile
diff -u /dev/null src/distrib/rs6000/bootfs/Makefile:1.1
--- /dev/null	Thu Apr 30 12:47:40 2009
+++ src/distrib/rs6000/bootfs/Makefile	Thu Apr 30 12:47:39 2009
@@ -0,0 +1,33 @@
+#	$NetBSD: Makefile,v 1.1 2009/04/30 12:47:39 tsutsui Exp $
+
+.include <bsd.own.mk>
+.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
+
+IMAGE=		boot.fs
+
+MDEC=		${DESTDIR}/usr/mdec
+BOOTLOADER=	${MDEC}/boot
+
+KERNDIR!=	cd ${.CURDIR}/../instkernel && ${PRINTOBJDIR}
+KERNEL=		${KERNDIR}/netbsd-INSTALL.gz
+
+TMPKERNEL=	${.OBJDIR}/netbsd
+
+BOOT_RELEASEDIR=	installation/bootfs
+
+${IMAGE}.gz:	${KERNEL} ${BOOTLOADER}
+	gzip -cd ${KERNEL} > ${TMPKERNEL}
+	${TOOL_POWERPCMKBOOTIMAGE} -m ${MACHINE} \
+	    -b ${BOOTLOADER} -k ${TMPKERNEL} ${IMAGE}
+	gzip -9nc ${IMAGE} > ${IMAGE}.tmp
+	mv ${IMAGE}.tmp ${.TARGET}
+
+CLEANFILES+=	${IMAGE} ${IMAGE}.tmp ${IMAGE}.gz
+
+all realall:	${IMAGE}.gz
+
+release::	check_RELEASEDIR .WAIT ${IMAGE}.gz
+	${RELEASE_INSTALL} ${IMAGE}.gz \
+	    ${RELEASEDIR}/${RELEASEMACHINEDIR}/${BOOT_RELEASEDIR}
+
+.include <bsd.prog.mk>

Index: src/distrib/rs6000/instkernel/Makefile
diff -u /dev/null src/distrib/rs6000/instkernel/Makefile:1.1
--- /dev/null	Thu Apr 30 12:47:40 2009
+++ src/distrib/rs6000/instkernel/Makefile	Thu Apr 30 12:47:39 2009
@@ -0,0 +1,14 @@
+#	$NetBSD: Makefile,v 1.1 2009/04/30 12:47:39 tsutsui Exp $
+
+.include <bsd.own.mk>
+.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
+
+RAMDISKDIR!=	cd ${.CURDIR}/../ramdisk && ${PRINTOBJDIR}
+RAMDISK=	${RAMDISKDIR}/ramdisk.fs
+
+MDSETTARGETS=		INSTALL		${RAMDISK}	-
+MDSET_RELEASEDIR=	binary/kernel
+
+.include "${DISTRIBDIR}/common/Makefile.mdset"
+
+.include <bsd.prog.mk>

Index: src/distrib/rs6000/ramdisk/Makefile
diff -u /dev/null src/distrib/rs6000/ramdisk/Makefile:1.1
--- /dev/null	Thu Apr 30 12:47:40 2009
+++ src/distrib/rs6000/ramdisk/Makefile	Thu Apr 30 12:47:39 2009
@@ -0,0 +1,44 @@
+#	$NetBSD: Makefile,v 1.1 2009/04/30 12:47:39 tsutsui Exp $
+
+.include <bsd.own.mk>
+.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
+
+IMAGE=		ramdisk.fs
+IMAGESIZE=	2048k
+MAKEFS_FLAGS=	-f 15
+
+WARNS=		1
+DBG=		-Os -mmultiple -mstring
+
+CRUNCHBIN=	ramdiskbin
+CRUNCHGEN_FLAGS= -d "${DBG}"
+LISTS=		${.CURDIR}/list # ${DISTRIBDIR}/common/list.sysinst
+MTREECONF=	${DISTRIBDIR}/common/mtree.common
+IMAGEENDIAN=	be
+MAKEDEVTARGETS=	all
+IMAGEDEPENDS=	${CRUNCHBIN} \
+		dot.profile \
+		${DESTDIR}/usr/mdec/boot ${DESTDIR}/usr/mdec/mkbootimage \
+		${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd \
+		${NETBSDSRCDIR}/etc/netconfig \
+		${NETBSDSRCDIR}/distrib/common/protocols \
+		${NETBSDSRCDIR}/distrib/common/services \
+		${NETBSDSRCDIR}/distrib/common/termcap.mini
+SMALLPROG_INET6=1
+
+.if ${USE_INET6} != "no"
+LISTS+=		${.CURDIR}/list.inet6
+.endif
+
+# Use stubs to eliminate some large stuff from libc
+HACKSRC=	${DISTRIBDIR}/utils/libhack
+.include	"${HACKSRC}/Makefile.inc"
+${CRUNCHBIN}:	libhack.o
+
+.include "${DISTRIBDIR}/common/Makefile.crunch"
+.include "${DISTRIBDIR}/common/Makefile.makedev"
+.include "${DISTRIBDIR}/common/Makefile.image"
+
+release:
+
+.include <bsd.prog.mk>
Index: src/distrib/rs6000/ramdisk/disktab.preinstall
diff -u /dev/null src/distrib/rs6000/ramdisk/disktab.preinstall:1.1
--- /dev/null	Thu Apr 30 12:47:40 2009
+++ src/distrib/rs6000/ramdisk/disktab.preinstall	Thu Apr 30 12:47:39 2009
@@ -0,0 +1,29 @@
+#	$NetBSD: disktab.preinstall,v 1.1 2009/04/30 12:47:39 tsutsui Exp $
+#
+# Disk geometry and partition layout tables.
+# Key:
+#	dt	controller type
+#	ty	type of disk (fixed, removable, simulated)
+#	d[0-4]	drive-type-dependent parameters
+#	ns	#sectors/track
+#	nt	#tracks/cylinder
+#	nc	#cylinders/disk
+#	sc	#sectors/cylinder, ns*nt default
+#	su	#sectors/unit, sc*nc default
+#	se	sector size, DEV_BSIZE default
+#	rm	rpm, 3600 default
+#	sf	supports bad144-style bad sector forwarding
+#	sk	sector skew per track, default 0
+#	cs	sector skew per cylinder, default 0
+#	hs	headswitch time, default 0
+#	ts	one-cylinder seek time, default 0
+#	il	sector interleave (n:1), 1 default
+#	bs	boot block size, default BBSIZE
+#	sb	superblock size, default SBSIZE
+#	o[a-h]	partition offsets in sectors
+#	p[a-h]	partition sizes in sectors
+#	b[a-h]	partition block sizes in bytes
+#	f[a-h]	partition fragment sizes in bytes
+#	t[a-h]	partition types (filesystem, swap, etc)
+#
+
Index: src/distrib/rs6000/ramdisk/dot.profile
diff -u /dev/null src/distrib/rs6000/ramdisk/dot.profile:1.1
--- /dev/null	Thu Apr 30 12:47:40 2009
+++ src/distrib/rs6000/ramdisk/dot.profile	Thu Apr 30 12:47:39 2009
@@ -0,0 +1,76 @@
+# $NetBSD: dot.profile,v 1.1 2009/04/30 12:47:39 tsutsui Exp $
+#
+# Copyright (c) 1997 Perry E. Metzger
+# Copyright (c) 1994 Christopher G. Demetriou
+# All rights reserved.
+# 
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions
+# are met:
+# 1. Redistributions of source code must retain the above copyright
+#    notice, this list of conditions and the following disclaimer.
+# 2. Redistributions in binary form must reproduce the above copyright
+#    notice, this list of conditions and the following disclaimer in the
+#    documentation and/or other materials provided with the distribution.
+# 3. All advertising materials mentioning features or use of this software
+#    must display the following acknowledgement:
+#          This product includes software developed for the
+#          NetBSD Project.  See http://www.NetBSD.org/ for
+#          information about NetBSD.
+# 4. The name of the author may not be used to endorse or promote products
+#    derived from this software without specific prior written permission.
+# 
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
+# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 
+# <<Id: LICENSE,v 1.2 2000/06/14 15:57:33 cgd Exp>>
+
+PATH=/sbin:/bin:/usr/bin:/usr/sbin:/
+export PATH
+TERM=vt100
+export TERM
+HOME=/
+export HOME
+BLOCKSIZE=1k
+export BLOCKSIZE
+EDITOR=ed
+export EDITOR
+
+umask 022
+
+ROOTDEV=/dev/md0a
+
+if [ "X${DONEPROFILE}" = "X" ]; then
+	DONEPROFILE=YES
+	export DONEPROFILE
+
+	# set up some sane defaults
+	echo 'erase ^?, werase ^W, kill ^U, intr ^C, status ^T'
+	stty newcrt werase ^W intr ^C kill ^U erase ^? status ^T 9600
+	echo ''
+
+	# mount the ramdisk read write
+	mount -u $ROOTDEV /
+
+	# pull in the functions that people will use from the shell prompt.
+	# . /.commonutils
+	# . /.instutils
+	grep() sed -n "/$1/p"
+
+	# run the installation or upgrade script.
+	if [ -x /sysinst ]; then
+		# run the installation or upgrade script.
+		sysinst
+	else
+		echo "This image contains utilities which may be needed"
+		echo "to get you out of a pinch."
+	fi
+fi
Index: src/distrib/rs6000/ramdisk/list
diff -u /dev/null src/distrib/rs6000/ramdisk/list:1.1
--- /dev/null	Thu Apr 30 12:47:40 2009
+++ src/distrib/rs6000/ramdisk/list	Thu Apr 30 12:47:39 2009
@@ -0,0 +1,85 @@
+#	$NetBSD: list,v 1.1 2009/04/30 12:47:39 tsutsui Exp $
+
+SRCDIRS	bin sbin usr.bin usr.sbin
+
+PROG	bin/cat
+PROG	bin/chmod
+PROG	bin/cp
+PROG	bin/dd
+PROG	bin/df
+PROG	bin/ed
+PROG	bin/ln
+PROG	bin/ls
+PROG	bin/mkdir
+PROG	bin/mt
+PROG	bin/mv
+PROG	bin/pax		usr/bin/tar
+PROG	bin/pwd
+PROG	bin/rcmd
+PROG	bin/rcp
+PROG	bin/rm
+PROG	bin/sh
+PROG	bin/stty
+PROG	bin/sync
+
+PROG	sbin/disklabel
+PROG	sbin/dmesg
+PROG	sbin/fsck
+PROG	sbin/fsck_ffs
+PROG	sbin/ifconfig
+PROG	sbin/init
+PROG	sbin/mknod
+PROG	sbin/mount
+PROG	sbin/mount_ffs
+PROG	sbin/mount_nfs
+PROG	sbin/newfs	sbin/mount_mfs
+PROG	sbin/ping
+PROG	sbin/reboot	sbin/halt
+PROG	sbin/restore	sbin/rrestore
+PROG	sbin/route
+PROG	sbin/shutdown
+PROG	sbin/swapctl
+PROG	sbin/umount
+
+PROG	usr/bin/ftp
+PROG	usr/bin/gzip	usr/bin/gzcat	usr/bin/gunzip
+PROG	usr/bin/more
+PROG	usr/bin/sed
+PROG	usr/bin/tset
+
+PROG	usr/sbin/chown	usr/bin/chgrp
+PROG	usr/sbin/chroot
+#PROG	usr/sbin/installboot
+
+# init invokes the shell as -sh
+ARGVLN	sh	-sh
+
+SPECIAL	ed		srcdir	distrib/utils/x_ed
+SPECIAL	gzip		srcdir	distrib/utils/x_gzip
+SPECIAL	ifconfig	srcdir	distrib/utils/x_ifconfig
+SPECIAL	more		srcdir	distrib/utils/more
+SPECIAL	ping		srcdir	distrib/utils/x_ping
+SPECIAL	route		srcdir	distrib/utils/x_route
+SPECIAL	umount		srcdir	distrib/utils/x_umount
+
+LIBS	libhack.o -ledit -lutil -lcurses -ltermcap -lrmt -ll -lm -lz -lprop
+
+COPY	${DESTDIR}/usr/mdec/boot		usr/mdec/boot
+COPY	${DESTDIR}/usr/mdec/mkbootimage		usr/mdec/mkbootimage
+
+# various files that we need in /etc for the install
+COPY	${NETBSDSRCDIR}/etc/group		etc/group
+COPY	${NETBSDSRCDIR}/etc/master.passwd	etc/master.passwd
+COPY	${NETBSDSRCDIR}/etc/netconfig		etc/netconfig
+COPY	${NETBSDSRCDIR}/distrib/common/protocols	etc/protocols
+COPY	${NETBSDSRCDIR}/distrib/common/services		etc/services
+
+# and the common installation tools
+COPY	${NETBSDSRCDIR}/distrib/common/termcap.mini	usr/share/misc/termcap
+
+# and the disktab explanation file
+COPY	${CURDIR}/disktab.preinstall	etc/disktab.preinstall
+
+# and the boot script
+COPY	${CURDIR}/dot.profile		.profile
+MTREE	./.profile	type=file uname=root gname=wheel mode=0644
Index: src/distrib/rs6000/ramdisk/list.inet6
diff -u /dev/null src/distrib/rs6000/ramdisk/list.inet6:1.1
--- /dev/null	Thu Apr 30 12:47:40 2009
+++ src/distrib/rs6000/ramdisk/list.inet6	Thu Apr 30 12:47:39 2009
@@ -0,0 +1,6 @@
+#	$NetBSD: list.inet6,v 1.1 2009/04/30 12:47:39 tsutsui Exp $
+
+PROG	sbin/ping6
+PROG	sbin/rtsol
+
+SPECIAL	ping6		srcdir	distrib/utils/x_ping6

Index: src/distrib/sets/lists/base/md.rs6000
diff -u /dev/null src/distrib/sets/lists/base/md.rs6000:1.1
--- /dev/null	Thu Apr 30 12:47:40 2009
+++ src/distrib/sets/lists/base/md.rs6000	Thu Apr 30 12:47:40 2009
@@ -0,0 +1,3 @@
+# $NetBSD: md.rs6000,v 1.1 2009/04/30 12:47:40 tsutsui Exp $
+./usr/mdec/boot					base-sysutil-bin
+./usr/mdec/mkbootimage				base-sysutil-bin

Index: src/distrib/sets/lists/comp/md.rs6000
diff -u /dev/null src/distrib/sets/lists/comp/md.rs6000:1.1
--- /dev/null	Thu Apr 30 12:47:40 2009
+++ src/distrib/sets/lists/comp/md.rs6000	Thu Apr 30 12:47:40 2009
@@ -0,0 +1,53 @@
+# $NetBSD: md.rs6000,v 1.1 2009/04/30 12:47:40 tsutsui Exp $
+./usr/include/ieeefp.h				comp-c-include
+./usr/include/rs6000				comp-c-include
+./usr/include/rs6000/ansi.h			comp-c-include
+./usr/include/rs6000/aout_machdep.h		comp-c-include
+./usr/include/rs6000/asm.h			comp-c-include
+./usr/include/rs6000/atomic.h			comp-c-include
+./usr/include/rs6000/bootinfo.h			comp-c-include
+./usr/include/rs6000/bswap.h			comp-c-include
+./usr/include/rs6000/cdefs.h			comp-c-include
+./usr/include/rs6000/cpu.h			comp-c-include
+./usr/include/rs6000/disklabel.h		comp-c-include
+./usr/include/rs6000/elf_machdep.h		comp-c-include
+./usr/include/rs6000/endian.h			comp-c-include
+./usr/include/rs6000/endian_machdep.h		comp-c-include
+./usr/include/rs6000/float.h			comp-c-include
+./usr/include/rs6000/fpu.h			comp-c-include
+./usr/include/rs6000/frame.h			comp-c-include
+./usr/include/rs6000/ieee.h			comp-c-include
+./usr/include/rs6000/ieeefp.h			comp-c-include
+./usr/include/rs6000/int_const.h		comp-c-include
+./usr/include/rs6000/int_fmtio.h		comp-c-include
+./usr/include/rs6000/int_limits.h		comp-c-include
+./usr/include/rs6000/int_mwgwtypes.h		comp-c-include
+./usr/include/rs6000/int_types.h		comp-c-include
+./usr/include/rs6000/intr.h			comp-c-include
+./usr/include/rs6000/kcore.h			comp-c-include
+./usr/include/rs6000/limits.h			comp-c-include
+./usr/include/rs6000/lock.h			comp-c-include
+./usr/include/rs6000/math.h			comp-c-include
+./usr/include/rs6000/mcontext.h			comp-c-include
+./usr/include/rs6000/mutex.h			comp-c-include
+./usr/include/rs6000/param.h			comp-c-include
+./usr/include/rs6000/pcb.h			comp-c-include
+./usr/include/rs6000/pmap.h			comp-c-include
+./usr/include/rs6000/pmc.h			comp-c-include
+./usr/include/rs6000/proc.h			comp-c-include
+./usr/include/rs6000/profile.h			comp-c-include
+./usr/include/rs6000/psl.h			comp-c-include
+./usr/include/rs6000/pte.h			comp-c-include
+./usr/include/rs6000/ptrace.h			comp-c-include
+./usr/include/rs6000/reg.h			comp-c-include
+./usr/include/rs6000/reloc.h			comp-c-include
+./usr/include/rs6000/rwlock.h			comp-c-include
+./usr/include/rs6000/setjmp.h			comp-c-include
+./usr/include/rs6000/signal.h			comp-c-include
+./usr/include/rs6000/spr.h			comp-c-include
+./usr/include/rs6000/stdarg.h			comp-c-include
+./usr/include/rs6000/trap.h			comp-c-include
+./usr/include/rs6000/types.h			comp-c-include
+./usr/include/rs6000/varargs.h			comp-c-include
+./usr/include/rs6000/vmparam.h			comp-c-include
+./usr/include/rs6000/wchar_limits.h		comp-c-include

Index: src/etc/etc.rs6000/MAKEDEV.conf
diff -u /dev/null src/etc/etc.rs6000/MAKEDEV.conf:1.1
--- /dev/null	Thu Apr 30 12:47:40 2009
+++ src/etc/etc.rs6000/MAKEDEV.conf	Thu Apr 30 12:47:40 2009
@@ -0,0 +1,28 @@
+# $NetBSD: MAKEDEV.conf,v 1.1 2009/04/30 12:47:40 tsutsui Exp $
+
+all_md)
+	makedev wscons fd0 fd1 sd0 sd1 sd2 sd3 sd4
+	makedev tty0 tty1
+	makedev raid0 raid1 raid2 raid3 raid4 raid5 raid6 raid7
+	makedev st0 st1 cd0 cd1
+	makedev lpt0 lpt1 lpt2 ttyv0
+	makedev ss0 ch0 uk0 uk1
+	makedev speaker audio joy0 joy1
+#	makedev ttyCY0
+	makedev music rmidi0 rmidi1 rmidi2 rmidi3 rmidi4 rmidi5 rmidi6 rmidi7
+	makedev scsibus0 scsibus1 scsibus2 scsibus3
+	makedev ses0 ses1 ses2 ses3
+	makedev isdns
+#	makedev pci0 pci1 pci2 pci3 pci4 pci5 pci6 pci7
+#	makedev nvram
+	makedev cfs
+	;;
+
+floppy)
+	makedev std fd0 wd0 wd1 sd0 sd1 sd2 tty0 tty1
+	makedev cd0 cd1 ttyE0 opty
+	;;
+
+ramdisk)
+	makedev floppy md0
+	;;
Index: src/etc/etc.rs6000/Makefile.inc
diff -u /dev/null src/etc/etc.rs6000/Makefile.inc:1.1
--- /dev/null	Thu Apr 30 12:47:40 2009
+++ src/etc/etc.rs6000/Makefile.inc	Thu Apr 30 12:47:40 2009
@@ -0,0 +1,20 @@
+#	$NetBSD: Makefile.inc,v 1.1 2009/04/30 12:47:40 tsutsui Exp $
+#
+#	etc.rs6000/Makefile.inc -- rs6000-specific etc Makefile targets
+#
+
+# If you change the list of distributed kernels, don't forget
+# to update the release documentation in distrib/notes/common/contents
+
+KERNEL_SETS=		GENERIC
+
+BUILD_KERNELS+=		INSTALL
+
+MD_INSTALLATION_DIRS+=	installation/bootfs
+INSTALLATION_DIRS+=	${MD_INSTALLATION_DIRS}
+
+snap_md_post:
+	# compute checksums
+.for dir in ${MD_INSTALLATION_DIRS}
+	${MAKESUMS} -t ${RELEASEDIR}/${RELEASEMACHINEDIR}/${dir} '*'
+.endfor
Index: src/etc/etc.rs6000/ttys
diff -u /dev/null src/etc/etc.rs6000/ttys:1.1
--- /dev/null	Thu Apr 30 12:47:40 2009
+++ src/etc/etc.rs6000/ttys	Thu Apr 30 12:47:40 2009
@@ -0,0 +1,17 @@
+#
+#	from: @(#)ttys	5.1 (Berkeley) 4/17/89
+#	$NetBSD: ttys,v 1.1 2009/04/30 12:47:40 tsutsui Exp $
+#
+# name	getty				type	status		comments
+#
+console	"/usr/libexec/getty std.9600"	vt100	off secure
+constty	"/usr/libexec/getty std.9600"	vt100	off secure
+ttyE0	"/usr/libexec/getty Pc"		vt220	on  secure
+tty00	"/usr/libexec/getty std.9600"	vt100	on  secure
+tty01	"/usr/libexec/getty std.9600"	unknown off secure
+tty02	"/usr/libexec/getty std.9600"	unknown off secure
+tty03	"/usr/libexec/getty std.9600"	unknown off secure
+tty04	"/usr/libexec/getty std.9600"	unknown off secure
+tty05	"/usr/libexec/getty std.9600"	unknown off secure
+tty06	"/usr/libexec/getty std.9600"	unknown off secure
+tty07	"/usr/libexec/getty std.9600"	unknown off secure

Index: src/sys/arch/rs6000/conf/INSTALL
diff -u /dev/null src/sys/arch/rs6000/conf/INSTALL:1.1
--- /dev/null	Thu Apr 30 12:47:40 2009
+++ src/sys/arch/rs6000/conf/INSTALL	Thu Apr 30 12:47:40 2009
@@ -0,0 +1,13 @@
+#	$NetBSD: INSTALL,v 1.1 2009/04/30 12:47:40 tsutsui Exp $
+
+include "arch/rs6000/conf/GENERIC"
+
+no options 	INCLUDE_CONFIG_FILE
+
+makeoptions	COPTS="-Os -mmultiple"
+
+options 	MEMORY_DISK_HOOKS
+options 	MEMORY_DISK_IS_ROOT		# Force root on ram-disk
+options 	MEMORY_DISK_ROOT_SIZE=4096	# 2mb
+options 	MEMORY_DISK_SERVER=0		# don't need for install
+options 	MEMORY_DISK_RBFLAGS=RB_SINGLE	# boot in single-user mode

Reply via email to