Commit Graph

31 Commits

Author SHA1 Message Date
jmc 350a405af0 Add bsd.prog.mk so libhack builds again 2001-11-21 01:45:21 +00:00
tron 34d8f65b19 Use "vnd0" instead of "/dev/vnd0c" as argument for "vnconfig" because it
is more portable and works with the latest "vnconfig".
2001-11-08 16:52:20 +00:00
jmc a37907dc27 Add MTREE?= to add Makefiles and use when running mtree 2001-10-13 06:15:15 +00:00
enami 652855a0c7 Use symbol MTREECONF instead of MTREE to refer configuration file
to avoid conflicts.  Pointed out by chs@netbsd.org.
2001-10-10 05:13:51 +00:00
chs 50942259de include bsd.sys.mk for DESTDIR builds. 2001-05-19 03:30:22 +00:00
pk 82dde0ecbb Tweak # of inodes once again. 2001-05-10 13:21:58 +00:00
jmc 2bf9cb72c4 Redo inode allocation to get a few bytes back 2001-01-23 01:36:24 +00:00
garbled 83f61a5891 Change all ocurrences of "crunchgen" to ${CRUNCHGEN} 2000-11-01 07:57:55 +00:00
pk 640c32d52d Drop `release' target; we don't need it. 2000-10-31 20:54:47 +00:00
garbled 1f3a06f4fd Find a bunch of places where we call "make" and replace it with ${MAKE} 2000-10-26 04:53:56 +00:00
pk 6b7e1b7c52 Boot from floppy now requires two disk images:
- a bootable bootfs which contains a spartan md-based `ramdisk'
	  filesystem, which loads the tar file image:
	- instfs, which is constructed from the miniroot filesystem
	  and contains all installation utilities.

The current miniroot image also supersedes the former separate
{bootfs,ramdisk}.sysinst tools.
2000-10-20 11:56:55 +00:00
abs 2d3bda117b Use $(IMAGE) where appropriate 2000-09-04 17:04:24 +00:00
jhawk a022cf9d37 Use
${MAKE}
instead of
  make
2000-08-30 23:51:46 +00:00
sjg 1f724b9392 use bsd.kernobj.mk to tell us KERNOBJDIR for compiled kernels. 2000-05-02 16:06:45 +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 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
pk e99d6af104 Clean up the crunch configuration file as well. 1999-11-09 22:24:21 +00:00
mycroft 73ce8dd415 Make this work with obj dirs. 1999-11-09 12:57:37 +00:00
pk b06b87a810 Add `release:' targets. 1999-10-18 20:13:55 +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
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
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
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 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 b0c0c01da6 add a disklabel -W 1998-11-14 01:55:39 +00:00
lukem 06b0ffe181 distclean is a synonym for cleandir 1998-09-05 14:46:13 +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 df19693416 oops, missed this change. 1998-06-21 13:56:18 +00:00
mrg 5da299f886 bootable floppy support for NetBSD/sparc, based on some i386 stuff 1998-06-06 05:29:50 +00:00