Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-4]: src/distrib/sparc Add sysinst setup for sparc, does not aff...



details:   https://anonhg.NetBSD.org/src/rev/7038a3b5b37b
branches:  netbsd-1-4
changeset: 468567:7038a3b5b37b
user:      abs <abs%NetBSD.org@localhost>
date:      Fri Apr 30 05:09:44 1999 +0000

description:
Add sysinst setup for sparc, does not affect existing script based install.
ramdisk.sysinst should work unchanged for i386 also. Would be good to merge
after 1.4.

diffstat:

 distrib/sparc/bootfs.sysinst/list                   |    4 +
 distrib/sparc/list2sh.awk                           |   55 +++
 distrib/sparc/ramdisk.sysinst/disktab.preinstall    |   31 +
 distrib/sparc/ramdisk.sysinst/dist/base_obsolete    |  137 ++++++++
 distrib/sparc/ramdisk.sysinst/dist/comp_obsolete    |  319 ++++++++++++++++++++
 distrib/sparc/ramdisk.sysinst/dist/games_obsolete   |    8 +
 distrib/sparc/ramdisk.sysinst/dist/man_obsolete     |   46 ++
 distrib/sparc/ramdisk.sysinst/dist/misc_obsolete    |   16 +
 distrib/sparc/ramdisk.sysinst/dist/secr_obsolete    |   23 +
 distrib/sparc/ramdisk.sysinst/dist/xbase_obsolete   |    2 +
 distrib/sparc/ramdisk.sysinst/dist/xserver_obsolete |    2 +
 distrib/sparc/ramdisk.sysinst/list.m4               |  115 +++++++
 distrib/sparc/ramdisk.sysinst/mtree.conf            |   82 +++++
 distrib/sparc/ramdisk.sysinst/ramdiskbin.m4         |   46 ++
 distrib/sparc/ramdisk.sysinst/termcap.mini          |  202 ++++++++++++
 distrib/sparc/runlist.sh                            |   13 +
 16 files changed, 1101 insertions(+), 0 deletions(-)

diffs (truncated from 1165 to 300 lines):

diff -r 4e4043a4cd22 -r 7038a3b5b37b distrib/sparc/bootfs.sysinst/list
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/distrib/sparc/bootfs.sysinst/list Fri Apr 30 05:09:44 1999 +0000
@@ -0,0 +1,4 @@
+#      $NetBSD: list,v 1.1.2.2 1999/04/30 05:11:48 abs Exp $
+
+# copy the kernel
+COPY   ${OBJDIR}/netbsd.ram.gz netbsd.gz
diff -r 4e4043a4cd22 -r 7038a3b5b37b distrib/sparc/list2sh.awk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/distrib/sparc/list2sh.awk Fri Apr 30 05:09:44 1999 +0000
@@ -0,0 +1,55 @@
+#      $NetBSD: list2sh.awk,v 1.3.2.2 1999/04/30 05:09:44 abs Exp $
+
+BEGIN {
+       printf("cd ${CURDIR}\n");
+       printf("\n");
+}
+/^$/ || /^#/ {
+       print $0;
+       next;
+}
+$1 == "COPY" {
+       printf("echo '%s'\n", $0);
+       printf("rm -f ${TARGDIR}/%s\n", $3);
+       printf("cp %s ${TARGDIR}/%s\n", $2, $3);
+       next;
+}
+$1 == "LINK" {
+       printf("echo '%s'\n", $0);
+       printf("rm -f ${TARGDIR}/%s\n", $3);
+       printf("(cd ${TARGDIR}; ln %s %s)\n", $2, $3);
+       next;
+}
+$1 == "SYMLINK" {
+       printf("echo '%s'\n", $0);
+       printf("rm -f ${TARGDIR}/%s\n", $3);
+       printf("(cd ${TARGDIR}; ln -s %s %s)\n", $2, $3);
+       next;
+}
+$1 == "COPYDIR" {
+       printf("echo '%s'\n", $0);
+       printf("(cd ${TARGDIR}/%s && find . ! -name . | xargs /bin/rm -rf)\n",
+           $3);
+       printf("(cd %s && find . ! -name . | cpio -pdamu ${TARGDIR}/%s)\n", $2,
+           $3);
+       next;
+}
+$1 == "SPECIAL" {
+       printf("echo '%s'\n", $0);
+       printf("(cd ${TARGDIR};");
+       for (i = 2; i <= NF; i++)
+               printf(" %s", $i);
+       printf(")\n");
+       next;
+}
+{
+       printf("echo '%s'\n", $0);
+       printf("echo 'Unknown keyword \"%s\" at line %d of input.'\n", $1, NR);
+       printf("exit 1\n");
+       exit 1;
+}
+END {
+       printf("\n");
+       printf("exit 0\n");
+       exit 0;
+}
diff -r 4e4043a4cd22 -r 7038a3b5b37b distrib/sparc/ramdisk.sysinst/disktab.preinstall
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/distrib/sparc/ramdisk.sysinst/disktab.preinstall  Fri Apr 30 05:09:44 1999 +0000
@@ -0,0 +1,31 @@
+#      $NetBSD: disktab.preinstall,v 1.1.2.2 1999/04/30 05:09:45 abs Exp $
+#
+# Disk geometry and partition layout tables. 
+# Key:
+#      dt      controller type
+#      ty      type of disk (fixed, removeable, simulated)
+#      d[0-4]  drive-type-dependent parameters
+#      ns      #sectors/track
+#      nt      #tracks/cylinder
+#      nc      #cylinders/disk
+#      sc      #sectors/cylinder, nc*nt default
+#      su      #sectors/unit, sc*nc default
+#      se      sector size, DEV_BSIZE default
+#      rm      rpm, 3600 default
+#      sf      supports bad144-style bad sector forwarding
+#      sk      sector skew per track, default 0
+#      cs      sector skew per cylinder, default 0
+#      hs      headswitch time, default 0
+#      ts      one-cylinder seek time, default 0
+#      il      sector interleave (n:1), 1 default
+#      bs      boot block size, default BBSIZE
+#      sb      superblock size, default SBSIZE
+#      o[a-h]  partition offsets in sectors
+#      p[a-h]  partition sizes in sectors
+#      b[a-h]  partition block sizes in bytes
+#      f[a-h]  partition fragment sizes in bytes
+#      t[a-h]  partition types (filesystem, swap, etc)
+#
+# All partition sizes reserve space for bad sector tables.
+# (5 cylinders needed for maintenance + replacement sectors)
+#
diff -r 4e4043a4cd22 -r 7038a3b5b37b distrib/sparc/ramdisk.sysinst/dist/base_obsolete
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/distrib/sparc/ramdisk.sysinst/dist/base_obsolete  Fri Apr 30 05:09:44 1999 +0000
@@ -0,0 +1,137 @@
+$NetBSD: base_obsolete,v 1.1.2.2 1999/04/30 05:09:46 abs Exp $
+/dev/vga
+/dev/log
+/sbin/dumpfs
+/sbin/dumplfs
+/sbin/mountd
+/sbin/newlfs
+/sbin/nfsd
+/sbin/nfsiod
+/sbin/quotacheck
+/usr/include/machine/ansi.h
+/usr/include/machine/aout_machdep.h
+/usr/include/machine/apmvar.h
+/usr/include/machine/asm.h
+/usr/include/machine/bioscall.h
+/usr/include/machine/bootinfo.h
+/usr/include/machine/bsd_audioio.h
+/usr/include/machine/bus.h
+/usr/include/machine/cdefs.h
+/usr/include/machine/conf.h
+/usr/include/machine/cpu.h
+/usr/include/machine/cpufunc.h
+/usr/include/machine/cputypes.h
+/usr/include/machine/db_machdep.h
+/usr/include/machine/disklabel.h
+/usr/include/machine/elf_machdep.h
+/usr/include/machine/endian.h
+/usr/include/machine/exec.h
+/usr/include/machine/float.h
+/usr/include/machine/frame.h
+/usr/include/machine/freebsd_machdep.h
+/usr/include/machine/gdt.h
+/usr/include/machine/ibcs2_machdep.h
+/usr/include/machine/ieeefp.h
+/usr/include/machine/intr.h
+/usr/include/machine/joystick.h
+/usr/include/machine/limits.h
+/usr/include/machine/linux_machdep.h
+/usr/include/machine/mouse.h
+/usr/include/machine/npx.h
+/usr/include/machine/param.h
+/usr/include/machine/pcb.h
+/usr/include/machine/pccons.h
+/usr/include/machine/pcvt_ioctl.h
+/usr/include/machine/pio.h
+/usr/include/machine/pmap.h
+/usr/include/machine/proc.h
+/usr/include/machine/profile.h
+/usr/include/machine/psl.h
+/usr/include/machine/pte.h
+/usr/include/machine/ptrace.h
+/usr/include/machine/reg.h
+/usr/include/machine/segments.h
+/usr/include/machine/setjmp.h
+/usr/include/machine/signal.h
+/usr/include/machine/specialreg.h
+/usr/include/machine/spkr.h
+/usr/include/machine/stdarg.h
+/usr/include/machine/svr4_machdep.h
+/usr/include/machine/sysarch.h
+/usr/include/machine/trap.h
+/usr/include/machine/tss.h
+/usr/include/machine/types.h
+/usr/include/machine/varargs.h
+/usr/include/machine/vm86.h
+/usr/include/machine/vmparam.h
+/usr/include/machine
+/usr/include/sparc
+/usr/mdec/bootfd
+/usr/mdec/bootsd
+/usr/mdec/bootwd
+/usr/mdec/fdboot
+/usr/mdec/sdboot
+/usr/mdec/wdboot
+/usr/sbin/dig
+/usr/sbin/dnsquery
+/usr/sbin/gettable
+/usr/sbin/host
+/usr/sbin/htable
+/usr/sbin/nslookup
+/usr/sbin/nsquery
+/usr/sbin/nstest
+/usr/sbin/rdconfig
+/usr/share/doc/smm/01.setup/tahoe
+/usr/share/doc/smm/01.setup/vax
+/usr/share/games/ching
+/usr/share/man/cat4/tahoe
+/usr/share/man/cat8/tahoe
+/usr/share/man/man4/tahoe
+/usr/share/man/man8/tahoe
+/usr/share/misc/more.help
+/usr/share/zoneinfo/Africa/Lumumbashi
+/usr/share/zoneinfo/Asia/Aktau
+/usr/share/zoneinfo/Asia/Alma-Ata
+/usr/share/zoneinfo/Asia/Ishigaki
+/usr/share/zoneinfo/Asia/Tomsk
+/usr/share/zoneinfo/Europe/Kuybyshev
+/usr/share/zoneinfo/GMT+1
+/usr/share/zoneinfo/GMT+10
+/usr/share/zoneinfo/GMT+11
+/usr/share/zoneinfo/GMT+12
+/usr/share/zoneinfo/GMT+13
+/usr/share/zoneinfo/GMT+2
+/usr/share/zoneinfo/GMT+3
+/usr/share/zoneinfo/GMT+4
+/usr/share/zoneinfo/GMT+5
+/usr/share/zoneinfo/GMT+6
+/usr/share/zoneinfo/GMT+7
+/usr/share/zoneinfo/GMT+8
+/usr/share/zoneinfo/GMT+9
+/usr/share/zoneinfo/GMT-1
+/usr/share/zoneinfo/GMT-10
+/usr/share/zoneinfo/GMT-11
+/usr/share/zoneinfo/GMT-12
+/usr/share/zoneinfo/GMT-2
+/usr/share/zoneinfo/GMT-3
+/usr/share/zoneinfo/GMT-4
+/usr/share/zoneinfo/GMT-5
+/usr/share/zoneinfo/GMT-6
+/usr/share/zoneinfo/GMT-7
+/usr/share/zoneinfo/GMT-8
+/usr/share/zoneinfo/GMT-9
+/usr/share/zoneinfo/GMT1
+/usr/share/zoneinfo/GMT10
+/usr/share/zoneinfo/GMT11
+/usr/share/zoneinfo/GMT12
+/usr/share/zoneinfo/GMT13
+/usr/share/zoneinfo/GMT2
+/usr/share/zoneinfo/GMT3
+/usr/share/zoneinfo/GMT4
+/usr/share/zoneinfo/GMT5
+/usr/share/zoneinfo/GMT6
+/usr/share/zoneinfo/GMT7
+/usr/share/zoneinfo/GMT8
+/usr/share/zoneinfo/GMT9
+/usr/share/zoneinfo/Moscow
+/var/games/save
diff -r 4e4043a4cd22 -r 7038a3b5b37b distrib/sparc/ramdisk.sysinst/dist/comp_obsolete
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/distrib/sparc/ramdisk.sysinst/dist/comp_obsolete  Fri Apr 30 05:09:44 1999 +0000
@@ -0,0 +1,319 @@
+$NetBSD: comp_obsolete,v 1.1.2.2 1999/04/30 05:09:46 abs Exp $
+/usr/bin/genclass
+/usr/include/bfd/ansidecl.h
+/usr/include/bfd/bfd.h
+/usr/include/bfd/libiberty.h
+/usr/include/bfd
+/usr/include/dev/ic/isp_netbsd.h
+/usr/include/dev/isa/ahareg.h
+/usr/include/dev/isa/btreg.h
+/usr/include/dev/isa/comreg.h
+/usr/include/dev/isa/comvar.h
+/usr/include/dev/isa/if_edreg.h
+/usr/include/dev/isa/if_epreg.h
+/usr/include/dev/isa/if_ie507.h
+/usr/include/dev/isa/if_ieatt.h
+/usr/include/dev/isa/if_iee16.h
+/usr/include/dev/isa/lptreg.h
+/usr/include/dev/isa/wdlink.h
+/usr/include/dev/isa/wdreg.h
+/usr/include/dev/mii/generic_phy.h
+/usr/include/dev/mii/mii_adapter.h
+/usr/include/dev/mii/mii_adapters_id.h
+/usr/include/dev/mii/mii_phy.h
+/usr/include/dev/mii/tlphy.h
+/usr/include/dev/pci/ncr_reg.h
+/usr/include/dev/ramdisk.h
+/usr/include/dev/scsipi/cd_link.h
+/usr/include/dev/tc/clockvar.h
+/usr/include/dev/vndioctl.h
+/usr/include/dev/vnioctl.h
+/usr/include/g++/ACG.h
+/usr/include/g++/AllocRing.h
+/usr/include/g++/Binomial.h
+/usr/include/g++/BitSet.h
+/usr/include/g++/BitString.h
+/usr/include/g++/Complex.h
+/usr/include/g++/CursesW.h
+/usr/include/g++/DLList.h
+/usr/include/g++/DiscUnif.h
+/usr/include/g++/Erlang.h
+/usr/include/g++/Fix.h
+/usr/include/g++/Fix16.h
+/usr/include/g++/Fix24.h
+/usr/include/g++/Geom.h
+/usr/include/g++/GetOpt.h
+/usr/include/g++/HypGeom.h
+/usr/include/g++/Incremental.h
+/usr/include/g++/Integer.h
+/usr/include/g++/LogNorm.h
+/usr/include/g++/MLCG.h
+/usr/include/g++/NegExp.h
+/usr/include/g++/Normal.h
+/usr/include/g++/Obstack.h



Home | Main Index | Thread Index | Old Index