Commit Graph

194 Commits

Author SHA1 Message Date
mrg 6ce8bed0fd - add a "netbsd.ram" target so we can build a kernel that has an embedded
filesystem but don't need/want to compress it.
- use "KERN?=" so that "make KERN=/path/to/my/netbsd" works.
2000-04-16 04:16:12 +00:00
soren 89e842a822 mbrlabel moves to /sbin. 2000-03-15 12:16:36 +00:00
cjs 727677837e Include bsd.own.mk so we use /etc/mk.conf. 2000-03-08 21:58:10 +00:00
cjs 3ec9dae179 1800k is not big enough, so make it 1920k. (Though I'm not sure that making
this larger is the solution we're looking for.) And make it actually work
with a larger size, rather not using the extra space we've allocated due
to not changing the geometry we disklabel it with. Do we even need to give
this a disk-like geometry, especially if it's a `floppy' with more tracks
than a real floppy has?
2000-03-08 06:08:37 +00:00
pk 3bd0cd4733 Select `boot.700000' as the second-stage boot program. 2000-02-21 14:52:01 +00:00
pk e4bc211d81 Remove update(8); move sysctl to /sbin 2000-02-07 11:10:29 +00:00
pk ec625e3683 remove update(8). 2000-02-07 11:09:59 +00:00
pk 0f18db9e9a clean .cro files. 2000-02-07 11:09:35 +00:00
pk cd055bb539 sysctl is now in /sbin 2000-02-07 11:07:19 +00:00
tsutsui 1bf52b391d rename (revert) memory disk filename /dev/mdX -> /dev/mdXa 2000-01-21 12:32:54 +00:00
pk ce40e68a20 Zip it real good. 2000-01-14 13:47:27 +00:00
pk 6d238dc726 Expand md filesystem to 1.8MB. 2000-01-14 13:46:06 +00:00
pk f1feb4e600 Remove version number from boot image files. 2000-01-10 15:17:30 +00:00
tsutsui e6824489b4 Fix root device name md0a -> md0 2000-01-10 05:03:24 +00:00
simonb 2e3036aadb Remove update from the miniroot lists. 1999-11-23 23:16:02 +00:00
simonb 71efc75854 Don't start update. 1999-11-23 22:43:20 +00:00
pk e99d6af104 Clean up the crunch configuration file as well. 1999-11-09 22:24:21 +00:00
pk 476c8f4f10 Pull in the IPSECless version of ping. 1999-11-09 22:22:52 +00:00
mycroft 53770426fe Make this build again. 1999-11-09 15:48:02 +00:00
mycroft 73ce8dd415 Make this work with obj dirs. 1999-11-09 12:57:37 +00:00
pk 58732ef4b8 Remove awk(1); it is no longer used by the installation scripts.
Add link to sysinst.
1999-10-18 20:47:19 +00:00
pk d7fdeb3097 Use `utils/x_ping'.
Add `libbz2'.
1999-10-18 20:22:10 +00:00
pk b06b87a810 Add `release:' targets. 1999-10-18 20:13:55 +00:00
abs 00f6783cab Remove *.lo in make clean 1999-07-04 16:07:00 +00:00
mrg f3ea75e08a - back out previous for amiga/miniroot/list because:
- sparc now creates /kern in the 'list' file like the amiga, atari,
  mvme68k and pmax ports, and:
- remove /kern from miniroot/mtree.conf
1999-07-04 11:46:23 +00:00
mrg e7e33e2136 miniroot changes:
install.sub:
	- fix interface grovelling, ifmedia support, allow ifmedia and link
	  to have a "none" (-> "") answer (which lets you give nothing when
	  a default answer is given)
	- allow installing more than one set at a time, including "all" as
	  a synonym for all remaining sets
	- mount -o async when extracting sets
    makeconf.awk:
	- put default "libs" section at the end rather than the start, so
	  you can put other "libs" in before this list
	- minor cleanup

    mtree.conf:
	- create /kern

    sparc install.md:
	- MDSETS are now "kern xbase xcomp xcontrib xfont xserver"
	- use /kern & kernfs (replaces dmesg)
	- replace grep & cut pipe lines with sed
	- replace grep hackery with sed hackery
	- grep and cut are no longer required!  yay!
	- deal with no /usr/bin/vi -- call disklabel -i
	- in md_copy_kern() link the netbsd.GENERIC we got from the kern set,
	  rather than the miniroot kernel
    sparc miniroot list:
	- no more dmesg, cut or grep

sparc ramdisk changes:
    Makefile:
	- `ramdiskbin.conf' is now generated by makeconf.awk
	- don't use libhack's opendir, it breaks
    dot.profile:
	- don't assume terminal is `sun'
	- set EDITOR=ed
	-
    list:
	- instbin -> ramdiskbin to make `makeconf.awk' work
	- CRUNCHSPECIAL those special dirs
	- add our LIBS as necessary

libhack changes:
	- if NOLIBHACKOPENDIR is set, don't build opendir.o
1999-06-27 12:55:58 +00:00
cgd 7aa73e55cb after checking and setting DONEPROFILE, export it so that children of the
shell (e.g.  programs and shells invoked via sysinst) don't try to run
sysinst again.  Fixes PR#7805.
1999-06-26 06:12:49 +00:00
mrg 0acd344de8 call this "netbsd" so that it is found first time.. 1999-06-23 13:20:18 +00:00
bouyer 90d35fd201 Generate the /dist/obsolete_* files used by sysinst from the obsolete lists
in sets/lists/*. The sript sets/makeobsolete concatenates the mi and md
obsolete list files all or a specified set and dumps it in a file, in a
subdir specified on the command line (inspired from the maketar and makeflist
files).
Use this for all the sysinst-based installs.
Untested for non-i386, and the md obsolete list may be wrong or incomplete.
Each postmaster is supposed to check this on his port.
1999-06-05 20:17:38 +00:00
veego dfa799a037 Sync with the recent crunchgen changes.
- Remove *.cro files and not the obsoleted *.lo files.

From Bill Studenmund commit message:
> 3) Generate .cro files rather than .lo files. .lo now is used for "local
> objects" - obj's for the host machine not the target machine.
1999-05-11 20:46:58 +00:00
abs c0161d7e63 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.
1999-04-30 05:09:43 +00:00
pk c672e5ca96 - add more i-nodes to ramdisk image
- make ramdisk/list work again with object directories
- make OS revision part of the images file names (like miniroot).
1999-04-08 21:17:14 +00:00
leo 6d588fca56 - Move the pwd.db & spwd.db files into the list-files of the ports who need
them.
- Use x_dd & x_ifconfig.
1999-03-25 15:51:01 +00:00
itohy 29b70cd215 Use G0 (not G1) for the alternative character set (DEC line graphics).
Delete "\E)0" sequences and make ":as=\E(0:ae=\E(B:"
(some terminals use "1" for "0").
This change makes it easy to use 8-bit encodings, such as ISO8859, EUC, etc.
PR #7126.
1999-03-13 09:03:28 +00:00
wrstuden ad140b77ea Modify all calls to newfs in ramdisk/miniroot creation to include
the needed endianism of the architecture. One step towards cross-building
releases.

Not touched are newfs calls in install scripts as they run on the desired
machine and thus default correctly.
1999-03-04 20:32:18 +00:00
mrg b232af4818 err, this is 92 cylinders now. 1999-01-31 08:05:08 +00:00
mrg ec6c46ef02 remove strings. 1999-01-20 07:43:17 +00:00
mrg 84e248ad5e remove bogus line in all: target. 1999-01-18 13:21:21 +00:00
mrg 0a1b83af3c use x_gzip over gzip_s 1999-01-11 13:03:43 +00:00
mrg 97023377a8 use x_netstat, and save 30k. we now have 46k spare. 1999-01-10 14:25:47 +00:00
mrg 1d8e4b1210 - share more with the miniroot
- don't use sysinst yet, it's not ready for the sparc, go back to
	  the old miniroot install programs.

- add these programs:
	- pppd (nice to install from an SS2 with local floppy & modem only)
	- bzip2 (media may be bz2'ed in the RFSN future)
	- edlabel (much ligher weight than disklabel)
	- expr (miniroot)
	- hostname (miniroot)
	- netstat (miniroot)
	- sort (miniroot)

- remove these programs:
	- tset (not used)
	- strings (too big now)
	- slattach (who uses slip these days, *really* ?  see pppd addition)
	- disklabel (see edlabel addition)
	- shutdown (have reboot/halt already)
	- sysinst (not using it yet)

- grow the install filesystem a bit more, to facilitate the new programs.

- use gordons libhack stuff, to reduce the size of the install binary.
	- don't need /etc/master.passwd or the {s,}pwd.db files anymore!

- clean up dot.profile a bit.
1999-01-10 13:39:44 +00:00
mrg fa1711e241 adapt to using the miniroot version of runlist.sh 1999-01-10 13:21:27 +00:00
mrg c050a5562e use the "miniroot" versions of these. 1999-01-10 13:21:01 +00:00
cjs 4c9053a54f Remove this dir, since it's the same as distrib/sparc/bootfs. It belongs
there rather than here because this boot filesystem is also used for
CD-ROMs.
1999-01-06 17:22:32 +00:00
cjs 2d6b2d6904 Fix paths and bring into line with distrib/sparc/boofs/Makefile. 1999-01-06 03:00:39 +00:00
cjs 5ac03a8a01 Remove strings, at least for the moment, until someone figures out
how to get it to link here. It needs to link statically against
gnu/usr.bin/binutils/common/libcommon.a (which may be in an obj or
obj.arch directory underneath, actually).
1999-01-05 23:30:46 +00:00
mrg b0c0c01da6 add a disklabel -W 1998-11-14 01:55:39 +00:00
mrg ff30fbbef4 add a disklabel -W 1998-11-14 01:45:23 +00:00
lukem 06b0ffe181 distclean is a synonym for cleandir 1998-09-05 14:46:13 +00:00
mrg 0962b7457b remove duplicate ./kern entry. 1998-08-28 09:48:18 +00:00
mrg 96b4a0b8cc use $TOP in more places (pr5899 from jbernard@ox.mines.edu). 1998-08-28 02:47:58 +00:00
mrg d2c403a90e link newfs to mount_mfs not mount_nfs 1998-08-28 02:46:39 +00:00
mrg 974e750f0e use $TOP in more places (pr5899 from jbernard@ox.mines.edu). add empty depend/install targets. 1998-08-28 02:01:28 +00:00
mrg c827c05064 call it "instfs" not "floppyinstfs" as it is not for a floppy 1998-08-28 01:55:43 +00:00
mrg d4e36ea579 this is called bootfs now. 1998-06-22 02:20:09 +00:00
mrg df19693416 oops, missed this change. 1998-06-21 13:56:18 +00:00
mrg 2762ae0f2b move distrib/sparc/floppies/* into distrib/sparc, so that the boot image
can be accessed for cdrom systems.  rename "bootfloppy" to "bootfs" as it
is used for cdroms, not just floppies :)  adjust paths as necessary for
this merge.

--- done via repository copy.
1998-06-21 07:39:45 +00:00
mrg 8d596302c7 add /mnt3 and /kern 1998-06-20 15:06:45 +00:00
mrg 76ca309bff add link for tar/cpio, fix mount_mfs, and add kernfs 1998-06-20 14:38:42 +00:00
mrg c22655fe0c FLOPPY -> INSTALL 1998-06-20 13:31:34 +00:00
mrg 238d69a954 add mount_mfs, getopt, use the src MAKEDEV and disktab files. ln less more 1998-06-20 12:07:11 +00:00
mrg 9ad088bf84 mount /dev/md0a rw 1998-06-20 12:05:32 +00:00
mrg dea9abaf42 add /usr/sbin/update, sun, xterm, and tvi925 termcaps, and a disktab.preinstall file. 1998-06-09 14:21:02 +00:00
mrg c12376b3fa rename INSTALL FLOPPY. add tset. 1998-06-06 06:09:14 +00:00
mrg ea2d6ba9bb no longer necessary. 1998-06-06 05:34:44 +00:00
mrg 5da299f886 bootable floppy support for NetBSD/sparc, based on some i386 stuff 1998-06-06 05:29:50 +00:00
perry 3891a64da7 Add $HOME to profiles, closes pr 4323 (from Tatoku Ogaito) 1998-01-09 21:51:25 +00:00
tv 581952e735 Use the boot/bootxx files from ${DESTDIR}/usr/mdec, not /usr/mdec.
(Avoid using "new" bootcode as part of a release, for uniformity.)
1998-01-01 17:48:50 +00:00
pk 929de9acc4 Install the `GENERIC_SCSI3' kernel as promised by the release notes. 1997-12-05 22:09:09 +00:00
pk cb69025d2b Remove unneeded link to `/usr/sbin/installboot' 1997-10-31 21:53:25 +00:00
jtc c8f77c0b8b Fix tipo inherited from old version of TNF copyright template. 1997-10-09 07:25:45 +00:00
pk 8cd300a821 Add `installboot' to list of files that have moved since 1.2 1997-06-22 22:26:42 +00:00
jtc 34d9f1513d merge in 1.2 branch 1996-10-09 00:13:36 +00:00
thorpej 25507ee843 Pull md_install_sets() changes down from release branch. 1996-08-26 02:34:37 +00:00
mrg 30e14d6861 Makefile to build xbin, xman, and xinc 1996-08-22 03:32:21 +00:00
mrg 682e5d1a57 do md_install_sets. 1996-08-22 03:24:15 +00:00
pk f838b18224 Do the disklabel song and dance. 1996-06-26 21:35:32 +00:00
pk 4e06e7b166 Pull up from 1.2 release branch: We need installboot, sysctl, getopt. 1996-06-26 19:26:39 +00:00
pk 187edb5fa8 Insert pause after disklabel blurb.
Remove `-v' from binstall.
1996-06-19 14:18:40 +00:00
leo cff5efa2ad Add more&less. They are no longer in the MI-list. 1996-05-30 07:00:45 +00:00
pk 728c3fbcb2 Change extra directory for vi to `vi/build' 1996-05-28 21:51:31 +00:00
leo 05574183dd Sync with changes in MI-miniroot 1996-05-27 12:41:54 +00:00
pk b4e023b86a Move disklabel(8) calls into `md_prep_label()'. 1996-05-21 18:54:40 +00:00
thorpej 0ffa7d7b3c Copyright assigned to The NetBSD Foundation. 1996-02-28 00:47:42 +00:00
pk 61a0733f9d Use MI install script. 1996-01-06 22:42:13 +00:00
pk aa1a5a63a4 sparc MD miniroot config files. 1995-12-18 22:54:43 +00:00
pk 7abf5e98e6 Some more tuning. 1995-11-16 22:29:46 +00:00
pk 0839d7a34d Fix tape extraction parms per Jason.
Fix misplaced quote.
1995-11-08 22:02:33 +00:00
pk 1dc2d541aa Timezone stuff. 1995-11-01 21:10:39 +00:00
pk 5bcfd51ba5 Kill a few HP-isms.
Add a twiddler.
1995-10-31 23:24:29 +00:00
pk f53a587fb5 Script to upgrade a NetBSD/sparc installation. 1995-10-20 16:56:03 +00:00
pk 3b4d7bd966 New install.sh based on Jason's hp300 script. Needs more polishing. 1995-10-13 20:18:30 +00:00
deraadt 6996ec783f fix typo 1994-11-14 06:25:42 +00:00
deraadt 2aa842ef49 first cut 1994-10-25 06:48:14 +00:00