[ previous ] [ next ] [ threads ]
 
 From:  Mike Tancsa <mike at sentex dot net>
 To:  Vincent Jardin <vjardin at wanadoo dot fr>, list at m0n0wall dot neon1 dot net
 Subject:  Re: [m0n0wall] build script
 Date:  Mon, 14 Apr 2003 23:52:36 -0400
I use the following to make some local modifications.


#save the previous version
mv mono-local.bin mono-local.bin.`date "+%d%m%y-%H:%M:%S"`
mv mfsroot.bin mfsroot.bin.`date "+%d%m%y-%H:%M:%S"`

vnconfig -u vn0

#create the mfsroot file system
dd if=/dev/zero of=mfsroot.bin bs=512 count=55k
vnconfig -s labels -c vn0 mfsroot.bin
disklabel -Brw vn0 auto
disklabel -R vn0 vn0.label-mfs-root-fs
newfs -b 8192 -f 1024 -U /dev/vn0a
mount /dev/vn0a /mnt

cp -pR mfsroot-files/* /mnt/
umount /mnt
vnconfig -u vn0
cat mfsroot.bin | gzip -9 > mfsroot.gz

vnconfig -u vn0
#create the root image / fs that will store all-- about 32MB
dd if=/dev/zero of=mono-local.bin bs=512 count=64k
vnconfig -s labels -c vn0 mono-local.bin
disklabel -Brw vn0 auto
disklabel -R vn0 vn0.label-root-fs
newfs -b 8192 -f 1024 -U /dev/vn0a
mount /dev/vn0a /mnt
cp -pR root-files/* /mnt
cp -p mfsroot.gz /mnt
umount /mnt
vnconfig -u vn0





At 10:32 PM 14/04/2003 +0200, Vincent Jardin wrote:
>Hi,
>
>I am wondering how is built m0n0wall. Are there some home-made scripts or are
>some public FreeBSD scripts used ?
>
>Regards,
>   Vincent
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: list dash unsubscribe at m0n0wall dot neon1 dot net
>For additional commands, e-mail: list dash help at m0n0wall dot neon1 dot net