head	1.1;
access;
symbols
	perseant-exfatfs-base-20261102:1.1
	netbsd-11-1-RELEASE:1.1
	netbsd-10-2-RELEASE:1.1.2.2
	netbsd-11-0-RELEASE:1.1
	netbsd-11-0-RC7:1.1
	netbsd-11-0-RC6:1.1
	netbsd-11-0-RC5:1.1
	netbsd-11-0-RC4:1.1
	netbsd-11-0-RC3:1.1
	netbsd-11-0-RC2:1.1
	netbsd-11-0-RC1:1.1
	perseant-exfatfs-base-20250801:1.1
	netbsd-11:1.1.0.6
	netbsd-11-base:1.1
	netbsd-10-1-RELEASE:1.1.2.2
	perseant-exfatfs-base-20240630:1.1
	perseant-exfatfs:1.1.0.4
	perseant-exfatfs-base:1.1
	netbsd-10-0-RELEASE:1.1.2.2
	netbsd-10-0-RC6:1.1.2.2
	netbsd-10-0-RC5:1.1.2.2
	netbsd-10-0-RC4:1.1.2.2
	netbsd-10-0-RC3:1.1.2.2
	netbsd-10-0-RC2:1.1.2.2
	netbsd-10-0-RC1:1.1.2.2
	netbsd-10:1.1.0.2;
locks; strict;
comment	@# @;


1.1
date	2023.02.11.19.12.31;	author tsutsui;	state Exp;
branches
	1.1.2.1;
next	;
commitid	hamwhcBmk7WwO8dE;

1.1.2.1
date	2023.02.11.19.12.31;	author martin;	state dead;
branches;
next	1.1.2.2;
commitid	x0ejKEF7mzw9pweE;

1.1.2.2
date	2023.02.22.12.59.17;	author martin;	state Exp;
branches;
next	;
commitid	x0ejKEF7mzw9pweE;


desc
@@


1.1
log
@Build a RAMDISK root kernel on NetBSD/next68k release build.

No sysinst(8) yet, but useful on bootstrap and rescue ops.
@
text
@# $NetBSD$
#
# Copyright (c) 1995 Jason R. Thorpe
# 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

ROOTDEV=/dev/md0a

umask 022

if [ "X${DONEPROFILE}" = "X" ]; then
	DONEPROFILE=YES
	export DONEPROFILE

	# set up some sane defaults
	echo 'erase ^H, werase ^W, kill ^U, intr ^C, status ^T'
	stty newcrt werase ^W intr ^C kill ^U erase ^H status ^T

	# get the terminal type
	eval `tset -s -m ":?$TERM"`

	# mount root read-write
	mount -u $ROOTDEV /

	# run the installation program
	if [ -x /sysinst ]; then
		# run the installation or upgrade script.
		sysinst || stty sane
	else
		echo "This image contains utilities which may be needed"
		echo "on bootstrap or rescue etc."
	fi
fi
@


1.1.2.1
log
@file dot.profile was added on branch netbsd-10 on 2023-02-22 12:59:17 +0000
@
text
@d1 69
@


1.1.2.2
log
@Pull up following revision(s) (requested by tsutsui in ticket #91):

	etc/etc.next68k/MAKEDEV.conf: revision 1.7
	sys/arch/next68k/conf/GENERIC: revision 1.156
	sys/arch/next68k/conf/GENERIC: revision 1.157
	sys/arch/next68k/conf/GENERIC: revision 1.158
	distrib/next68k/instkernel/Makefile: revision 1.1
	sys/arch/next68k/conf/GENERIC: revision 1.159
	distrib/next68k/ramdisk/list: revision 1.1
	etc/etc.next68k/Makefile.inc: revision 1.8
	sys/arch/next68k/conf/RAMDISK: revision 1.5
	distrib/next68k/ramdisk/dot.profile: revision 1.1
	sys/arch/next68k/conf/SLAB: revision 1.62
	sys/arch/next68k/conf/GENERIC: revision 1.160
	sys/arch/next68k/conf/SLAB: revision 1.63
	sys/arch/next68k/conf/GENERIC: revision 1.161
	distrib/next68k/ramdisk/Makefile: revision 1.1
	sys/arch/next68k/conf/majors.next68k: revision 1.26
	distrib/next68k/Makefile: revision 1.2

Remove trailing TABs.

Remove trailing spaces and TABs.

Enable file-system CD9660.
It's useful for installation especially on emulators.

Remove nonexistent options SWAPDEBUG.

Remove unnecessary commented out lines.

Disable rarely used options and devices, and add options MODULAR instead.

Also enable files-system MSDOS for file exchange via removable media.

Build a RAMDISK root kernel on NetBSD/next68k release build.
No sysinst(8) yet, but useful on bootstrap and rescue ops.
@
text
@a0 69
# $NetBSD: dot.profile,v 1.1 2023/02/11 19:12:31 tsutsui Exp $
#
# Copyright (c) 1995 Jason R. Thorpe
# 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

ROOTDEV=/dev/md0a

umask 022

if [ "X${DONEPROFILE}" = "X" ]; then
	DONEPROFILE=YES
	export DONEPROFILE

	# set up some sane defaults
	echo 'erase ^H, werase ^W, kill ^U, intr ^C, status ^T'
	stty newcrt werase ^W intr ^C kill ^U erase ^H status ^T

	# get the terminal type
	eval `tset -s -m ":?$TERM"`

	# mount root read-write
	mount -u $ROOTDEV /

	# run the installation program
	if [ -x /sysinst ]; then
		# run the installation or upgrade script.
		sysinst || stty sane
	else
		echo "This image contains utilities which may be needed"
		echo "on bootstrap or rescue etc."
	fi
fi
@


