head	1.4;
access;
symbols
	RELENG_3_5_0_RELEASE:1.3.2.1
	RELENG_3_4_0_RELEASE:1.3.2.1
	RELENG_3_3_0_RELEASE:1.3.2.1
	RELENG_3_2_PAO:1.3.0.4
	RELENG_3_2_PAO_BP:1.3
	RELENG_3_2_0_RELEASE:1.3
	RELENG_3_1_0_RELEASE:1.3
	RELENG_3:1.3.0.2
	RELENG_3_BP:1.3
	RELENG_3_0_0_RELEASE:1.2
	v0_4:1.1.1.1
	PICOBSD:1.1.1;
locks; strict;
comment	@# @;


1.4
date	99.08.22.21.42.33;	author dwhite;	state dead;
branches;
next	1.3;

1.3
date	99.01.14.23.14.46;	author abial;	state Exp;
branches
	1.3.2.1;
next	1.2;

1.2
date	98.09.07.06.46.25;	author abial;	state Exp;
branches;
next	1.1;

1.1
date	98.08.27.17.38.42;	author abial;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	98.08.27.17.38.42;	author abial;	state Exp;
branches;
next	;

1.3.2.1
date	99.08.22.23.07.45;	author dwhite;	state dead;
branches;
next	;


desc
@@


1.4
log
@Major PicoBSD update by luigi with some debugging help from myself.

. Now builds on -STABLE (-CURRENT is broken due to bugs)
. etc directory contents centralized instead of in each
  type directory (can exclude & override as desired)
. Removed extraneous language files (lang files for rc really necessary?)
. dialog-based build tool with support for custom floppy builds
. MFS image loads as a mfs_root module instead of compiled into kernel

THIS IS BROKEN ON CURRENT.  I'll MFC to -STABLE immediately following.
luigi tells me I have an OK from jkh on the MFC.

Submitted by:	luigi
@
text
@#! /bin/sh -

#
#	$Id: stage2,v 1.3 1999/01/14 23:14:46 abial Exp $
#
set -e

if [ ! -f kernel ]; then
	echo "-> ERROR: you must build PICOBSD${suffix}.${SIZE} kernel first"
	exit 1
fi

echo "-> Preparing kernel with MFS filesystem inside..."
df -ik /mnt
umount /mnt 2>&1 >/dev/null
fsck -p /dev/rvn0c
vnconfig -u /dev/rvn0 2>&1 >/dev/null

if [ ! -f ../tools/write_mfs_in_kernel/wmik ]; then
	(cd ../tools/write_mfs_in_kernel; make)
fi

../tools/write_mfs_in_kernel/wmik kernel fs.PICOBSD
strip kernel
strip --remove-section=.note --remove-section=.comment kernel
gzip -9 -n kernel
rm fs.PICOBSD
@


1.3
log
@Make transition to ELF kernel. Fix the userconfig_script handling.
@
text
@d4 1
a4 1
#	$Id: stage2,v 1.2 1998/09/07 06:46:25 abial Exp $
@


1.3.2.1
log
@MFC: PicoBSD mega-upgrade.  It actually works in -STABLE, let's hope I
didn't miss anything.  According to luigi, I have jkh's OK on this.

Submitted by:  luigi
@
text
@d4 1
a4 1
#	$Id: stage2,v 1.3 1999/01/14 23:14:46 abial Exp $
@


1.2
log
@Set the ${suffix} only once...
@
text
@d4 1
a4 1
#	$Id: stage2,v 1.1.1.1 1998/08/27 17:38:42 abial Exp $
d24 3
a26 1
kzip -v kernel
a27 1
rm kernel
@


1.1
log
@Initial revision
@
text
@d4 1
a4 1
#	$Id: stage2,v 1.1.1.1 1998/07/14 07:30:51 abial Exp $
a6 14

if [ "${TYPE}" = "dial" ]
then
	suffix="-D"
fi
if [ "${TYPE}" = "net" ]
then
	suffix="-N"
fi
if [ "${TYPE}" = "isp" ]
then
	suffix="-I"
fi

@


1.1.1.1
log
@Initial import of PicoBSD v0.4 tree.
@
text
@@
