Commit Graph

73 Commits

Author SHA1 Message Date
pk edb01b1198 Pass explicit device to eject(1), since it doesn't know about the floppy
driver's "partition" scheme..
2003-07-11 12:16:56 +00:00
lukem 6107a9b605 crank memory disk from 1360 blocks to 1376 blocks 2003-03-08 00:04:36 +00:00
lukem e58bf406f1 Mount the mfs /instfs with a reasonable inode density, otherwise it
runs out of space.
Problem found & fixed by Adam Lebsack <adam@lebsack.com> in [port-sparc/17614]
2002-07-20 07:06:28 +00:00
grant 5ed147d20d add comment and fix whitespace. 2002-06-26 16:17:41 +00:00
lukem ed8e534c7e yet another distrib overhaul:
- move guts of distrib/Makefile.inc to distrib/common/Makefile.distrib
  (fixes problem caused by implicit include of ../Makefile.inc in certain
  submake conditions triggered by makefiles not yet in tree)
- removed mkdir of ${RELEASEDIR}/*;  rely upon "snap_pre" target of
  etc/Makefile to create all the release directories
- renamed RELINSTALL to RELEASE_INSTALL
- renamed FLOPPYINSTDIR to FLOPPY_RELEASEDIR
- renamed MDSETDIR to MDSET_RELEASEDIR
- removed ITARGET
- move release target from top level to appropriate subdirectory
- ensure release target has correct depends
- replace miniroot's IMAGE_MD_POST with common/Makefile.image IMAGEPOSTBUILD
- Makefile.image: add realall: ${IMAGE}
2002-05-02 18:02:14 +00:00
lukem 9e5598221a replace _SRC_TOP_ with NETBSDSRCDIR, since the latter is the "public" version 2002-04-26 15:50:21 +00:00
lukem 8f603e224b consistency cleanup 2002-04-13 13:42:57 +00:00
lukem f49045ad2d minor NDWO tweak 2002-04-12 14:56:38 +00:00
tsutsui ebf5fffe65 Set DBG=-Os for libhack. 2002-04-06 18:16:09 +00:00
lukem 484f8db2eb - Be consistent how libhack is used: If extra HACKOBJS (e.g., gethost.o) are
required, define them before pulling in libhack/Makefile.inc so that the
  dependencies work correctly.
- Other minor cleanups
2002-03-28 04:33:21 +00:00
lukem 25c4cc30b2 Disable libhack's gethost.o (replacement gethostby{name,addr}()) by default,
as they only support reading /etc/hosts, and its the "least useful" of
the libhack routines.  Add gethost.o back to Really Small media which
appears to need the space savings.
2002-03-25 07:43:39 +00:00
lukem ceed08717c - convert to New Distrib World Order, which allows this directory to be
cross-built without root privileges.  (tested i386->sparc cross-build).
- remove now-unused cruft

XXX: there's still other parts of distrib/sparc that need fixing.
2002-03-11 07:04:21 +00:00
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
pk 215ea55b64 cdrom(): allow the location of `instfs.tgz' on the CD to be overridden
as suggested by Robert Elz on port-sparc.
2001-06-17 11:57:23 +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
pk 13b10eb901 cdrom(): Look for the `instfs.tgz' image in the $MACHINE subdirectory of
the CD-R root first.
2000-11-28 21:51:09 +00:00
pk 7e005a8804 Eject the floppy disks. 2000-11-06 23:17:45 +00:00
pk f90ceb9573 Add `eject'. 2000-11-05 18:35:56 +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
pk 0caaadb3be Don't bother with the tape block size unless explicitly requested. 2000-10-31 20:53:04 +00:00
pk 130047c6c1 Remove mount(8) since we can use the fs-specific versions directly.
Add umount(8) (scaled-down version).
Add reboot/halt.
2000-10-30 23:16:13 +00:00
pk 3588feb339 Add /cdrom which is used by dot.profile as a mount point. 2000-10-30 23:14:23 +00:00
pk f016c4b2f5 Support the two-stage memory-disk based bootstrap method for tape, cdrom
and floppy.
2000-10-30 23:13:10 +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
cgd c85d2eb42b sweep of my licenses for consistency. (no functional changes) These
files have copyright held by people in addition to myself.  (I did the
original work, they copied it, enhanced it, and added their copyright
to the derivative work.)  Their approval has been given re: the license
change.
2000-06-14 22:52:37 +00:00
cgd d220ca5ba3 fix up NetBSD RCS Ids to match the standard, and the leading comment as
to match as well.  No functional changes.
2000-06-14 06:48:47 +00:00
thorpej 2304ada2b0 Need /etc/netconfig. 2000-06-07 20:43:11 +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
tsutsui 1bf52b391d rename (revert) memory disk filename /dev/mdX -> /dev/mdXa 2000-01-21 12:32:54 +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 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
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