head	1.12;
access;
symbols
	RELENG_3_5_0_RELEASE:1.8.2.5
	RELENG_3_4_0_RELEASE:1.8.2.5
	RELENG_3_3_0_RELEASE:1.8.2.5
	RELENG_3_2_PAO:1.8.2.4.0.2
	RELENG_3_2_PAO_BP:1.8.2.4
	RELENG_3_2_0_RELEASE:1.8.2.4
	RELENG_3_1_0_RELEASE:1.8.2.2
	RELENG_3:1.8.0.2
	RELENG_3_BP:1.8
	RELENG_3_0_0_RELEASE:1.6
	v0_4:1.1.1.1
	PICOBSD:1.1.1;
locks; strict;
comment	@# @;


1.12
date	99.08.22.21.42.32;	author dwhite;	state dead;
branches;
next	1.11;

1.11
date	99.06.14.15.37.11;	author roger;	state Exp;
branches;
next	1.10;

1.10
date	99.02.15.00.27.00;	author abial;	state Exp;
branches;
next	1.9;

1.9
date	99.02.12.20.35.08;	author abial;	state Exp;
branches;
next	1.8;

1.8
date	99.01.19.23.02.05;	author abial;	state Exp;
branches
	1.8.2.1;
next	1.7;

1.7
date	99.01.14.23.14.46;	author abial;	state Exp;
branches;
next	1.6;

1.6
date	98.09.26.17.27.18;	author abial;	state Exp;
branches;
next	1.5;

1.5
date	98.09.19.21.44.42;	author abial;	state Exp;
branches;
next	1.4;

1.4
date	98.09.07.19.00.15;	author abial;	state Exp;
branches;
next	1.3;

1.3
date	98.09.04.08.08.05;	author abial;	state Exp;
branches;
next	1.2;

1.2
date	98.09.03.10.16.03;	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.8.2.1
date	99.02.05.12.15.00;	author abial;	state Exp;
branches;
next	1.8.2.2;

1.8.2.2
date	99.02.15.00.29.51;	author abial;	state Exp;
branches;
next	1.8.2.3;

1.8.2.3
date	99.02.21.22.04.24;	author abial;	state Exp;
branches;
next	1.8.2.4;

1.8.2.4
date	99.05.07.10.02.30;	author abial;	state Exp;
branches;
next	1.8.2.5;

1.8.2.5
date	99.08.22.23.07.43;	author dwhite;	state dead;
branches;
next	;


desc
@@


1.12
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: populate,v 1.11 1999/06/14 15:37:11 roger Exp $
#

. ../Version

pwd=`pwd`

echo "-> Populating MFS tree..."
cd ../${TYPE}/mfs.tree
make
if [ X"${NO_DEVFS}" != X"" ]
then
	make devnodes
fi
if [ "X$?" != "X0" ]
then
	echo "-> ERROR while making \"${TYPE}\" hierarchy in /mnt..."
	echo "-> Aborting $0"
	exit 10
fi
if [ "${TYPE}" = "router" ]
then
	cat ../lang/mfs.rc.${LANGUAGE}| \
		sed -e "s/@@VER@@/${VER}/g" > \
		/mnt/etc/oinit.rc
else
	cat ../lang/mfs.rc.${LANGUAGE} | \
		sed -e "s/@@VER@@/${VER}/g" > \
		/mnt/etc/rc
	cp ../../dial/mfs.tree/login.conf /mnt/etc/login.conf
	cat ../lang/README.${LANGUAGE} | \
		sed -e "s/@@VER@@/${VER}/g" > \
		/mnt/README
fi
cp ../lang/update.${LANGUAGE} /mnt/stand/update
if [ "${TYPE}" = "dial" ]
then
	cp ../lang/reboot.${LANGUAGE} /mnt/stand/reboot
	ln -f /mnt/stand/reboot /mnt/stand/shutdown
	cp ../lang/login.${LANGUAGE} /mnt/stand/login
	cp ../lang/dialup.${LANGUAGE} /mnt/stand/dialup
	(cd ../../help;\
	rm -rf tmp_hlp;\
	mkdir tmp_hlp;\
	for i in `ls *.hlp.${LANGUAGE}`;\
	do \
		cp $i tmp_hlp/`basename $i .hlp.${LANGUAGE}`;\
	done;\
	cd tmp_hlp;\
	ar -cru help.a *;\
	cp help.a /mnt/help.a)
fi

echo "-> Making and installing crunch1..."
cd ../crunch1
make "SRC=${SRC}" && make install 2>&1 >/dev/null
if [ "X$?" != "X0" ]
then
	echo "-> ERROR while building ../${TYPE}/crunch1..."
	echo "-> Aborting $0"
	exit 10
fi

cd ${pwd}

(echo "-> Fixing permissions"; cd /mnt; chown -R root *)
@


1.11
log
@Update to PicoBSD 0.44 from RELENG_3
@
text
@d3 1
a3 1
#	$Id: populate,v 1.8.2.4 1999/05/07 10:02:30 abial Exp $
@


1.10
log
@Copy the 'reboot' script only for "dial" floppy.
@
text
@d3 1
a3 1
#	$Id: populate,v 1.9 1999/02/12 20:35:08 abial Exp $
d32 1
a32 1
	cp login.conf /mnt/etc/login.conf
@


1.9
log
@Merge from RELENG_3.
@
text
@d3 1
a3 1
#	$Id: populate,v 1.8 1999/01/19 23:02:05 abial Exp $
a32 2
	cp ../lang/reboot.${LANGUAGE} /mnt/stand/reboot
	ln -f /mnt/stand/reboot /mnt/stand/shutdown
d40 2
@


1.8
log
@Next round of fixes before 3.1-RELEASE.
@
text
@d3 1
a3 1
#	$Id: populate,v 1.7 1999/01/14 23:14:46 abial Exp $
a53 4
elif [ "${TYPE}" != "router" ]
then
	#cp ../../build/kvm_kernel.db /mnt/var/db/kvm_kernel.db
	#rm ../../build/kvm_kernel.db
a67 5
echo "-> Preparing kernel symbols list..."
if [ ! -f ../tools/dumpnlist/dumpnlist ]
then
	(cd ../tools/dumpnlist; make)
fi
@


1.8.2.1
log
@Fixes to sync with upcoming 3.1-R. Approved by jkh.

* clean: don't clean unused tools/dumpnlist
* populate: don't install kvm_kernel.db, nor /stand/symbols.
@
text
@d3 1
a3 1
#	$Id: populate,v 1.8 1999/01/19 23:02:05 abial Exp $
d54 4
d72 5
@


1.8.2.2
log
@MFC: Copy the 'reboot' script only for "dial" floppy.
@
text
@d3 1
a3 1
#	$Id: populate,v 1.8.2.1 1999/02/05 12:15:00 abial Exp $
d33 2
a41 2
	cp ../lang/reboot.${LANGUAGE} /mnt/stand/reboot
	ln -f /mnt/stand/reboot /mnt/stand/shutdown
@


1.8.2.3
log
@A couple of fixes: copy login.conf correctly, install Forth menu.
@
text
@d3 1
a3 1
#	$Id: populate,v 1.8.2.2 1999/02/15 00:29:51 abial Exp $
d32 1
a32 1
	cp ../../../dial/mfs.tree/login.conf /mnt/etc/login.conf
@


1.8.2.4
log
@Assorted fixes to PicoBSD in preparation for 3.2-RELEASE:

* use system's kget instead of TinyWare version
* use /bin/sh instead of Ash - it was old, and not much smaller
* remove unused MIB files
* check for kzip stubs, and build them if necessary
* slightly update the docs
* use newer /boot/ contents
* use my own greeting menu.
* fix a couple of bugs in scripts
* bump revision number to 0.44

Submitted by:	me && various people from freebsd-small
@
text
@d3 1
a3 1
#	$Id: populate,v 1.8.2.3 1999/02/21 22:04:24 abial Exp $
d32 1
a32 1
	cp ../../dial/mfs.tree/login.conf /mnt/etc/login.conf
@


1.8.2.5
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
@d3 1
a3 1
#	$Id: populate,v 1.8.2.4 1999/05/07 10:02:30 abial Exp $
@


1.7
log
@Make transition to ELF kernel. Fix the userconfig_script handling.
@
text
@d3 1
a3 1
#	$Id: populate,v 1.6 1998/09/26 17:27:18 abial Exp $
d56 2
a57 2
	cp ../../build/kvm_kernel.db /mnt/var/db/kvm_kernel.db
	rm ../../build/kvm_kernel.db
@


1.6
log
@Small rearrangements for a bugfix release 0.41.
@
text
@d3 1
a3 1
#	$Id: populate,v 1.5 1998/09/19 21:44:42 abial Exp $
a76 8
../tools/dumpnlist/dumpnlist ./kernel >/mnt/stand/symbols

echo "-> Preparing kernel config list..."
if [ ! -f ../tinyware/kget/kget ]
then
	(cd ../tinyware/kget; make)
fi
../tinyware/kget/kget ./kernel /mnt/stand/vanilla
@


1.5
log
@Kill the remnants of DEVFS, since it's broken without the SLICE code...
Pity - it was _very_ handy.

This also required increasing of MFS size, so that PicoBSD consumes more
memory now...
@
text
@d3 1
a3 1
#	$Id: populate,v 1.4 1998/09/07 19:00:15 abial Exp $
d6 2
d25 3
a27 1
	cp ../lang/mfs.rc.${LANGUAGE} /mnt/etc/oinit.rc
d29 3
a31 1
	cp ../lang/mfs.rc.${LANGUAGE} /mnt/etc/rc
d35 3
a37 1
	cp ../lang/README.${LANGUAGE} /mnt/README
@


1.4
log
@Change the way the help files are stored, and save ca. 30kB on the
"dial" floppy.

Submitted by:	Eric P. Scott <eps@@sirius.com>
@
text
@d3 1
a3 1
#	$Id: populate,v 1.3 1998/09/04 08:08:05 abial Exp $
d11 1
a11 1
if [ X"${RELENG_2_2}" != X"" ]
@


1.3
log
@Set OBJFORMAT=aout to affect the whole build - for now, it seems that too
many tools needed to build the floppies are dependent on a.out...
@
text
@d3 1
a3 1
#	$Id: populate,v 1.2 1998/09/03 10:16:03 abial Exp $
d36 4
a39 1
	(cd ../../help; for i in `ls *.hlp.${LANGUAGE}`;\
d41 5
a45 2
		cp $i /mnt/help/`basename $i .${LANGUAGE}`;\
		done)
@


1.2
log
@Set OBJFORMAT=aout, until crunchide learns about ELF format...
@
text
@d3 1
a3 1
#	$Id: populate,v 1.1.1.1 1998/08/27 17:38:42 abial Exp $
d48 1
a48 1
make OBJFORMAT=aout "SRC=${SRC}" && make install 2>&1 >/dev/null
@


1.1
log
@Initial revision
@
text
@d3 1
a3 1
#	$Id: populate,v 1.6 1998/08/12 13:04:24 abial Exp $
d48 1
a48 1
make "SRC=${SRC}" && make install 2>&1 >/dev/null
@


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