mirror of
https://github.com/GnoConsortium/gno.git
synced 2024-12-30 04:33:01 +00:00
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
This commit is contained in:
parent
11aa6241ea
commit
15ad1533e2
@ -1,15 +0,0 @@
|
||||
/*
|
||||
* This file is used to specify the build date in a programs resource
|
||||
* fork. It is used by #including it in the program *.rez file.
|
||||
*
|
||||
* $Id: builddate.rez,v 1.1 1998/02/14 23:56:39 gdr-ftp Exp $
|
||||
*/
|
||||
|
||||
#define BUILD_DATE "Build Date: " $$Date
|
||||
|
||||
/*
|
||||
Unfortunately, this mechanism doesn't seem to work. It gets zeros for the
|
||||
month and hour fields:
|
||||
$$Format("%d/%d/%d %d:%d",$$Year,$$Month,$$Day,$$Hour,$$Minute)
|
||||
*/
|
||||
|
35
build.tools/checksizes
Executable file
35
build.tools/checksizes
Executable file
@ -0,0 +1,35 @@
|
||||
#! /bin/sh
|
||||
#
|
||||
# This script examines NuFX archives and verifies that the extracted files
|
||||
# are able to fit onto a single 800k floppy.
|
||||
#
|
||||
# $Id: checksizes,v 1.1 1999/01/18 03:00:15 gdr-ftp Exp $
|
||||
#
|
||||
|
||||
TMPDIR=${TMPDIR:-/tmp}
|
||||
tmpfile1=$TMPDIR/checksizes.$$a
|
||||
|
||||
trap "rm -f $tmpfile1" 0 1 2 15
|
||||
|
||||
if [ "$*" = "" ]; then
|
||||
echo "Usage: $0 file1 file2 ..."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
maxOnDisk=778240
|
||||
errors=0
|
||||
set -e
|
||||
for f in $*; do
|
||||
nulib tv $f > $tmpfile1
|
||||
sizes="`perl -ne '(m,\%\s+(\d+)\s*$,) && print $1."\n";' $tmpfile1`"
|
||||
total=0
|
||||
for s in $sizes; do
|
||||
newval="` expr \( $s / 512 \) \* 512 + 512`"
|
||||
total="`expr $total + $newval`"
|
||||
done
|
||||
if [ $total -gt $maxOnDisk ]; then
|
||||
echo "archive $f is too large. Max=$maxOnDisk Current=$total"
|
||||
errors="`expr $errors + 1`"
|
||||
fi
|
||||
done
|
||||
exit $errors
|
@ -6,7 +6,7 @@
|
||||
#
|
||||
# Devin Reade, September 1997.
|
||||
#
|
||||
# $Id: fudgeinstall,v 1.5 1998/07/07 02:31:22 gdr-ftp Exp $
|
||||
# $Id: fudgeinstall,v 1.6 1999/01/18 03:00:15 gdr-ftp Exp $
|
||||
|
||||
# What is our release directory? (The second one must be HFS, and
|
||||
# may be the same as the first.)
|
||||
@ -34,7 +34,9 @@ install -dV $RELDIR/home/root
|
||||
install -dV $RELDIR/lang/orca/shell
|
||||
install -dV $RELDIR/lang/orca/languages
|
||||
install -dV $RELDIR/lib/orcacdefs
|
||||
install -dV $RELDIR/lib/rinclude
|
||||
install -dV $RELDIR/sbin
|
||||
install -dV $RELDIR/usr/ainclude
|
||||
install -dV $RELDIR/usr/bin
|
||||
# when we finally get a working cp(1) again, we can eliminate creating
|
||||
# of the /usr/include and /HFSinclude directories.
|
||||
@ -75,8 +77,8 @@ install -dV $RELDIR/var/run
|
||||
install -dV $RELDIR/var/spool
|
||||
|
||||
echo "installing files in /"
|
||||
install -V $ROOT/kern.971027 $RELDIR/kern
|
||||
install -V $ROOT/initrc $RELDIR
|
||||
install -V $ROOT/kern.971027 $RELDIR/kern
|
||||
install -V $SRC/gno/verbatim/initrc $RELDIR
|
||||
|
||||
echo "installing files in /HFSinclude"
|
||||
install -V /HFSinclude/net/*.h $RELDIR2/HFSinclude/net
|
||||
@ -84,8 +86,8 @@ install -V /HFSinclude/netinet/*.h $RELDIR2/HFSinclude/netinet
|
||||
install -V /HFSinclude/sys/*.h $RELDIR2/HFSinclude/sys
|
||||
|
||||
echo "installing files in /bin"
|
||||
install -V /bin/aroff $RELDIR/bin
|
||||
install -V /bin/binprint $RELDIR/bin
|
||||
# aroff done
|
||||
# binprint done
|
||||
# cat done
|
||||
install -V /bin/center $RELDIR/bin
|
||||
install -V /usr/orca/bin/chmod $RELDIR/bin
|
||||
@ -102,7 +104,7 @@ install -V /bin/egrep $RELDIR/bin
|
||||
install -V /bin/fgrep $RELDIR/bin
|
||||
install -V /bin/freeze $RELDIR/bin
|
||||
install -V /bin/grep $RELDIR/bin
|
||||
install -V /bin/gsh $RELDIR/bin
|
||||
# gsh done
|
||||
# head done
|
||||
install -V /bin/hostname $RELDIR/bin
|
||||
install -V /bin/init $RELDIR/bin
|
||||
@ -146,6 +148,7 @@ echo "installing files in /etc"
|
||||
# don't need cronlog, crontab yet
|
||||
install -V /etc/freeze.cnf $RELDIR/etc
|
||||
# gettytab done
|
||||
install -V $SRC/gno/verbatim/etc/glogin $RELDIR/etc
|
||||
install -V $SRC/gno/verbatim/etc/group $RELDIR/etc
|
||||
install -V $SRC/gno/verbatim/etc/inittab $RELDIR/etc
|
||||
install -V $SRC/gno/verbatim/etc/motd $RELDIR/etc
|
||||
@ -155,7 +158,7 @@ date >> $RELDIR/etc/motd
|
||||
install -V $SRC/gno/verbatim/etc/namespace $RELDIR/etc
|
||||
install -V $SRC/gno/verbatim/etc/passwd $RELDIR/etc
|
||||
install -V $SRC/gno/verbatim/etc/rchost $RELDIR/etc
|
||||
# syslog.conf?
|
||||
install -V /etc/syslog.conf $RELDIR/etc
|
||||
install -V $SRC/gno/verbatim/etc/termcap $RELDIR/etc
|
||||
install -V $SRC/gno/verbatim/etc/tty.config $RELDIR/etc
|
||||
install -V $SRC/gno/verbatim/etc/ttys $RELDIR/etc
|
||||
@ -197,7 +200,7 @@ install -V /usr/bin/diff $RELDIR/usr/bin
|
||||
# dirname done
|
||||
install -V /usr/local/bin/dmake $RELDIR/usr/bin
|
||||
# fmt done
|
||||
install -V /usr/bin/getvers $RELDIR/usr/bin
|
||||
# getvers done
|
||||
# help done
|
||||
# install done
|
||||
# last done
|
||||
@ -205,7 +208,7 @@ install -V /usr/bin/launch $RELDIR/usr/bin
|
||||
# link done
|
||||
# lseg done
|
||||
# man done
|
||||
install -V /usr/bin/nroff $RELDIR/usr/bin
|
||||
# nroff done
|
||||
# removerez done
|
||||
# rlogin done
|
||||
# rsh done
|
||||
@ -220,6 +223,14 @@ install -V /usr/bin/uptime $RELDIR/usr/bin
|
||||
# whois done
|
||||
install -V /usr/bin/yankit $RELDIR/usr/bin
|
||||
|
||||
echo "installing files in /usr/ainclude"
|
||||
chtyp -lasm $SRC/gno/ainclude/m*
|
||||
install -V $SRC/gno/ainclude/m* $RELDIR/usr/ainclude
|
||||
|
||||
echo "installing files in /lib/rinclude"
|
||||
chtyp -lrez $SRC/gno/rinclude/*.rez
|
||||
install -V $SRC/gno/rinclude/*.rez $RELDIR/lib/rinclude
|
||||
|
||||
echo "installing files in /usr/include"
|
||||
install -V $SRC/gno/include/*.h $RELDIR/usr/include
|
||||
install -V $SRC/gno/include/arpa/*.h $RELDIR/usr/include/arpa
|
||||
@ -241,17 +252,19 @@ chtyp -lcc $RELDIR/usr/include/rpc/*.h
|
||||
chtyp -lcc $RELDIR/usr/include/sys/*.h
|
||||
|
||||
echo "installing files in /usr/lib"
|
||||
install -V /usr/lib/curses.lib $RELDIR/usr/lib/libcurses
|
||||
# describe.src done
|
||||
install -V $SRC/gno/doc/describe/describe.src $RELDIR/usr/lib
|
||||
# libcontrib done
|
||||
# libcrypt done
|
||||
install -V /usr/lib/curses.lib $RELDIR/usr/lib/libcurses
|
||||
# libedit IS MISSING
|
||||
# libnetdb done
|
||||
# libsim IS MISSING
|
||||
# libtermcap done
|
||||
# libutil done
|
||||
# liby done
|
||||
install -V $SRC/gno/build.tools/startup.mk $RELDIR/usr/lib/startup.mk
|
||||
install -V /usr/lib/tmac/tmac.an $RELDIR/usr/lib/tmac
|
||||
install -V /usr/lib/tmac/tmac.s $RELDIR/usr/lib/tmac
|
||||
install -V $SRC/gno/build.tools/dmake.startup $RELDIR/usr/lib/startup.mk
|
||||
# /usr/lib/tmac/tmac.an done
|
||||
# /usr/lib/tmac/tmac.s done
|
||||
|
||||
echo "installing files in /usr/orca/bin"
|
||||
# describe done
|
||||
|
@ -5,7 +5,7 @@
|
||||
#
|
||||
# Devin Reade, April 1998.
|
||||
#
|
||||
# $Id: mkboot,v 1.2 1998/04/24 03:38:51 gdr-ftp Exp $
|
||||
# $Id: mkboot,v 1.3 1999/01/18 03:00:16 gdr-ftp Exp $
|
||||
|
||||
# What is our release directory? (The second one must be HFS, and
|
||||
# may be the same as the first.)
|
||||
@ -21,6 +21,7 @@ setenv SRC /src
|
||||
echo "creating directories ..."
|
||||
install -dV $RELBOOT/bin
|
||||
install -dV $RELBOOT/dev
|
||||
install -dV $RELBOOT/doc
|
||||
install -dV $RELBOOT/etc
|
||||
install -dV $RELBOOT/home/root
|
||||
install -dV $RELBOOT/lang/orca/languages
|
||||
@ -30,6 +31,7 @@ install -dV $RELBOOT/lib
|
||||
install -dV $RELBOOT/sbin
|
||||
install -dV $RELBOOT/tmp
|
||||
install -dV $RELBOOT/usr/bin
|
||||
install -dV $RELBOOT/var/adm
|
||||
|
||||
echo "installing files ..."
|
||||
# There's a bug in the v2.0.6 kernel right now that keeps us from
|
||||
@ -55,6 +57,7 @@ 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
|
||||
install -V $SRC/gno/verbatim/etc/glogin $RELBOOT/etc
|
||||
install -V $SRC/gno/verbatim/boot/namespace $RELBOOT/etc
|
||||
install -V $RELDIR/etc/termcap $RELBOOT/etc
|
||||
install -V $RELDIR/etc/tty.config $RELBOOT/etc
|
||||
@ -64,6 +67,7 @@ install -V $RELDIR/sbin/mkso $RELBOOT/sbin
|
||||
chtyp -lexec $RELBOOT/gshrc $RELBOOT/installboot*
|
||||
|
||||
echo "installing temporary files since gshk will not archive empty directories"
|
||||
install $SRC/gno/verbatim/tmp/delete.me $RELBOOT/doc
|
||||
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
|
||||
@ -71,3 +75,4 @@ 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
|
||||
install $SRC/gno/verbatim/tmp/delete.me $RELBOOT/var/adm
|
||||
|
Loading…
Reference in New Issue
Block a user