1998-04-22 04:51:12 +00:00
|
|
|
#! /bin/gsh
|
|
|
|
#
|
|
|
|
# This is a script that builds a the bootstrap floppy used for
|
|
|
|
# installing GNO.
|
|
|
|
#
|
|
|
|
# Devin Reade, April 1998.
|
|
|
|
#
|
1999-01-28 06:54:31 +00:00
|
|
|
# $Id: mkboot,v 1.4 1999/01/28 06:54:31 gdr-ftp Exp $
|
1998-04-22 04:51:12 +00:00
|
|
|
|
|
|
|
# What is our release directory? (The second one must be HFS, and
|
|
|
|
# may be the same as the first.)
|
|
|
|
setenv RELDIR /gno
|
|
|
|
setenv RELDIR2 /gno-hfs
|
|
|
|
setenv RELBOOT /gno.boot
|
|
|
|
|
|
|
|
# Where are the GNO (and other) sources?
|
|
|
|
setenv SRC /src
|
|
|
|
|
1999-01-28 06:54:31 +00:00
|
|
|
# Where do we keep the Finder.Data, Finder.Root, and icons files
|
|
|
|
# that are created on the GS and copied over to the GNO boot disk?
|
|
|
|
# Unfortunately, we can't put these into the repository because of
|
|
|
|
# their resource forks (unless we were to binscii them)
|
|
|
|
setenv BINSRC /scratch/gnoboot.bins
|
|
|
|
|
1998-04-22 04:51:12 +00:00
|
|
|
#==================================
|
|
|
|
|
|
|
|
echo "creating directories ..."
|
1999-01-28 06:54:31 +00:00
|
|
|
install -dV $RELBOOT/Icons
|
1998-04-22 04:51:12 +00:00
|
|
|
install -dV $RELBOOT/bin
|
|
|
|
install -dV $RELBOOT/dev
|
fudgeinstall:
- create directories /lib/rinclude and /usr/ainclude, and
populate them
- updated entries for:
initrc, aroff, binprint, gsh, /etc/glogin, syslog.conf,
getvers, nroff, tmac.an, tmac.s
- grab describe.src from the source repository
mkboot:
- create directories /var/adm and /doc, and insert 'delete.me' files
- install glogin file
checksizes:
- initial checkin. This script complains if the extracted size of
a NuFX archive is larger than will fit on an 800k disk.
builddate.rez:
- this has been moved to ../rinclude
1999-01-18 03:00:16 +00:00
|
|
|
install -dV $RELBOOT/doc
|
1998-04-22 04:51:12 +00:00
|
|
|
install -dV $RELBOOT/etc
|
|
|
|
install -dV $RELBOOT/home/root
|
|
|
|
install -dV $RELBOOT/lang/orca/languages
|
|
|
|
install -dV $RELBOOT/lang/orca/shell
|
|
|
|
install -dV $RELBOOT/lang/orca/utilities
|
|
|
|
install -dV $RELBOOT/lib
|
|
|
|
install -dV $RELBOOT/sbin
|
|
|
|
install -dV $RELBOOT/tmp
|
|
|
|
install -dV $RELBOOT/usr/bin
|
fudgeinstall:
- create directories /lib/rinclude and /usr/ainclude, and
populate them
- updated entries for:
initrc, aroff, binprint, gsh, /etc/glogin, syslog.conf,
getvers, nroff, tmac.an, tmac.s
- grab describe.src from the source repository
mkboot:
- create directories /var/adm and /doc, and insert 'delete.me' files
- install glogin file
checksizes:
- initial checkin. This script complains if the extracted size of
a NuFX archive is larger than will fit on an 800k disk.
builddate.rez:
- this has been moved to ../rinclude
1999-01-18 03:00:16 +00:00
|
|
|
install -dV $RELBOOT/var/adm
|
1998-04-22 04:51:12 +00:00
|
|
|
|
|
|
|
echo "installing files ..."
|
|
|
|
# There's a bug in the v2.0.6 kernel right now that keeps us from
|
|
|
|
# using it to boot "single user" straight into gsh (without initd).
|
|
|
|
# See PR#62. In the interim, use a v2.0.4 kernel for the boot disk.
|
|
|
|
install -V /trenco3/kern $RELBOOT/kern
|
|
|
|
# install -V $RELDIR/kern $RELBOOT/kern
|
|
|
|
install -V $RELDIR/bin/gsh $RELBOOT
|
|
|
|
install -V $SRC/gno/verbatim/boot/README.install $RELBOOT
|
|
|
|
install -V $SRC/gno/verbatim/boot/gshrc $RELBOOT
|
|
|
|
install -V $SRC/gno/verbatim/boot/initrc $RELBOOT
|
|
|
|
install -V $SRC/gno/verbatim/boot/installboot1 $RELBOOT
|
|
|
|
install -V $SRC/gno/verbatim/boot/installboot2 $RELBOOT
|
|
|
|
install -V $RELDIR/bin/chtyp $RELBOOT/bin
|
|
|
|
install -V $RELDIR/bin/cp $RELBOOT/bin
|
|
|
|
install -V $RELDIR/bin/gsh $RELBOOT/bin
|
|
|
|
install -V $RELDIR/bin/ls $RELBOOT/bin
|
|
|
|
install -V $RELDIR/bin/more $RELBOOT/bin
|
|
|
|
install -V $RELDIR/bin/sleep $RELBOOT/bin
|
1998-04-24 03:38:51 +00:00
|
|
|
install -V $RELDIR/bin/tee $RELBOOT/bin
|
1998-04-22 04:51:12 +00:00
|
|
|
install -V /usr/local/bin/touch $RELBOOT/bin
|
|
|
|
install -V $RELDIR/bin/vi $RELBOOT/bin
|
|
|
|
install -V $RELDIR/usr/bin/install $RELBOOT/bin
|
|
|
|
install -V $RELDIR/usr/bin/yankit $RELBOOT/bin
|
|
|
|
install -V $RELDIR/dev/* $RELBOOT/dev
|
fudgeinstall:
- create directories /lib/rinclude and /usr/ainclude, and
populate them
- updated entries for:
initrc, aroff, binprint, gsh, /etc/glogin, syslog.conf,
getvers, nroff, tmac.an, tmac.s
- grab describe.src from the source repository
mkboot:
- create directories /var/adm and /doc, and insert 'delete.me' files
- install glogin file
checksizes:
- initial checkin. This script complains if the extracted size of
a NuFX archive is larger than will fit on an 800k disk.
builddate.rez:
- this has been moved to ../rinclude
1999-01-18 03:00:16 +00:00
|
|
|
install -V $SRC/gno/verbatim/etc/glogin $RELBOOT/etc
|
1998-04-22 04:51:12 +00:00
|
|
|
install -V $SRC/gno/verbatim/boot/namespace $RELBOOT/etc
|
|
|
|
install -V $RELDIR/etc/termcap $RELBOOT/etc
|
|
|
|
install -V $RELDIR/etc/tty.config $RELBOOT/etc
|
|
|
|
install -V $RELDIR/etc/ttys $RELBOOT/etc
|
|
|
|
install -V $RELDIR/sbin/mkso $RELBOOT/sbin
|
1999-01-28 06:54:31 +00:00
|
|
|
install -V $BINSRC/Finder.Root $RELBOOT
|
|
|
|
install -V $BINSRC/Finder.Data $RELBOOT
|
|
|
|
install -V $BINSRC/Icons/GNO.Icon $RELBOOT/Icons
|
1998-04-22 04:51:12 +00:00
|
|
|
|
|
|
|
chtyp -lexec $RELBOOT/gshrc $RELBOOT/installboot*
|
1998-04-24 03:38:51 +00:00
|
|
|
|
|
|
|
echo "installing temporary files since gshk will not archive empty directories"
|
fudgeinstall:
- create directories /lib/rinclude and /usr/ainclude, and
populate them
- updated entries for:
initrc, aroff, binprint, gsh, /etc/glogin, syslog.conf,
getvers, nroff, tmac.an, tmac.s
- grab describe.src from the source repository
mkboot:
- create directories /var/adm and /doc, and insert 'delete.me' files
- install glogin file
checksizes:
- initial checkin. This script complains if the extracted size of
a NuFX archive is larger than will fit on an 800k disk.
builddate.rez:
- this has been moved to ../rinclude
1999-01-18 03:00:16 +00:00
|
|
|
install $SRC/gno/verbatim/tmp/delete.me $RELBOOT/doc
|
1998-04-24 03:38:51 +00:00
|
|
|
install $SRC/gno/verbatim/tmp/delete.me $RELBOOT/home/root
|
|
|
|
install $SRC/gno/verbatim/tmp/delete.me $RELBOOT/lang/orca/languages
|
|
|
|
install $SRC/gno/verbatim/tmp/delete.me $RELBOOT/lang/orca/shell
|
|
|
|
install $SRC/gno/verbatim/tmp/delete.me $RELBOOT/lang/orca/utilities
|
|
|
|
install $SRC/gno/verbatim/tmp/delete.me $RELBOOT/lib
|
|
|
|
install $SRC/gno/verbatim/tmp/delete.me $RELBOOT/tmp
|
|
|
|
install $SRC/gno/verbatim/tmp/delete.me $RELBOOT/usr/bin
|
fudgeinstall:
- create directories /lib/rinclude and /usr/ainclude, and
populate them
- updated entries for:
initrc, aroff, binprint, gsh, /etc/glogin, syslog.conf,
getvers, nroff, tmac.an, tmac.s
- grab describe.src from the source repository
mkboot:
- create directories /var/adm and /doc, and insert 'delete.me' files
- install glogin file
checksizes:
- initial checkin. This script complains if the extracted size of
a NuFX archive is larger than will fit on an 800k disk.
builddate.rez:
- this has been moved to ../rinclude
1999-01-18 03:00:16 +00:00
|
|
|
install $SRC/gno/verbatim/tmp/delete.me $RELBOOT/var/adm
|