Commit Graph

127 Commits

Author SHA1 Message Date
lukem a8025d95ae Commit work-in-progess rototill of distrib/miniroot and associated machine
dependent files:

- Use infrastructure from distrib/common to build file system images with
  crunchgen-ed programs from a list file.

- Non root ("UNPRIVED") builds from a read-only source tree are possible,
  as makefs(8) replaces vnconfig(8)/vnd use, devices are generated using
  common/makedev2spec.awk, etc.

- Cross builds should be possible, except that some ports need cross-compile
  host tool versions of installboot and any appropriate host disk labelling
  tools.
	XXX: pmax, sparc and vax need fixing for this!

- This code has NOT YET BEEN TESTED on most of the ports.
  It should work, but it is extremely likely that the file system
  parameters may need tweaking to get things to fit.
  See MAKEFS_FLAGS in sparc/miniroot/Makefile.inc for an example.
  If assistance is required, please ask!
2002-03-06 12:04:48 +00:00
is a23cd9356a Use the building machine's raw partition instead of fixed "c" to allow
cross-building.
2002-02-12 11:17:47 +00:00
lukem acf8770a4a remove REV in favour of DISTRIBREV (from ../Makefile.inc) 2002-02-12 01:38:17 +00:00
lukem 811d644d8f don't set the owner or group when installing into $RELEASEDIR 2002-02-09 13:56:48 +00:00
pk 653e663226 Test DESTDIR and RELEASEDIR for non-emptyness as well as existence, sigh.. 2002-01-15 17:45:36 +00:00
pk 0fe18a041a Remove instbin.cache from dependency lists, since crunchgen is now run
unconditionally.
Avoid running the crunchgen command multiple times for each dependent
target by marking only one target (instbin.mk) for unconditional re-make.
2002-01-15 17:41:41 +00:00
shin aac10b548d use 'vnd0' instead of 'vnd0c', when unconfigure device. 2002-01-07 12:56:42 +00:00
fredette 1b9e597488 Added support for uncompressed sets.
When doing a UDP NFS mount, ask if "small transfers" (i.e.,
-r 1024 -w 1024) should be used; this is necessary when
the client and/or server has a feeble network card.
2001-12-17 20:17:34 +00:00
jmc 353d4e5bef Just use vnd0 when vnconfig'ing and then use the char/raw device when newfs'ing
and mounting
2001-11-27 05:05:38 +00:00
tron d6302e0641 Use the block device when invoking "vndconfig" because the character
device isn't accepted any longer.
2001-11-08 07:29:45 +00:00
shin e056338509 use raw device name for vnconfig. 2001-11-07 08:02:54 +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
jmc af957ccb50 Make sure crunchgen remakes the makefile everytime and it doesn't use it's
cache since other Makefiles could change source files too easily.
2001-02-25 03:54:24 +00:00
scw 4ab6d51c0e Add -lintl 2000-11-24 19:04:46 +00:00
abs f399708136 Handle hostname being set in /mnt/etc/rc.conf 2000-11-22 21:04:46 +00:00
pk d4ed4966be Allow for an optional MD upgrade preparation routine. 2000-11-17 17:36:39 +00:00
is ee2a656373 Finish the old job of makeing this work with media-less interfaces, e.g.
bah or amiga if_es.
2000-11-14 20:37:25 +00:00
garbled 83f61a5891 Change all ocurrences of "crunchgen" to ${CRUNCHGEN} 2000-11-01 07:57:55 +00:00
is f2a9404fd1 Fix typo, pointed out privately by Petri Koistinen. 2000-10-30 20:21:08 +00:00
pk 0eaca67b66 Add `/dist', which is used by sysinst. 2000-10-20 23:24:52 +00:00
pk db46ad3478 Use `nlist' to get the set list from ftp. 2000-09-03 20:01:46 +00:00
jhawk a022cf9d37 Use
${MAKE}
instead of
  make
2000-08-30 23:51:46 +00:00
leo e388684ccd Backout previous commit. It shouldn;t have happend. 2000-08-29 11:41:24 +00:00
leo f07d4c1517 Pull up revision 1.16 (requested by leo, approved by thorpej).
Log:
  Use x_ed and x_route to save space on the miniroot.
2000-08-29 11:31:18 +00:00
leo 1c453dd5ad Oops, link x_route to route... 2000-08-28 07:48:04 +00:00
leo 388269283a Use x_ed and x_route to save space on the miniroot. 2000-08-27 19:34:41 +00:00
thorpej ceff2dc6bc Need /etc/netconfig. 2000-06-07 20:32:06 +00:00
matt 9d53129465 Updagte the VAX bits so they actually work. Use the common method of building
miniroots.  Fix the ramdisk bits.  Use the INSTALL kernel.  This stuff has
really suffered from bitrot.
2000-05-18 02:12:43 +00:00
lukem 78abee064b remove netstart 2000-05-13 08:07:01 +00:00
sjg 9caa7e60e5 Added missing .gz to makesums arg 2000-05-05 11:15:45 +00:00
sjg 1f724b9392 use bsd.kernobj.mk to tell us KERNOBJDIR for compiled kernels. 2000-05-02 16:06:45 +00:00
sjg 49cf26c7de Use top-level Makefile.inc to set BSDSRCDIR
use bsd.kernobj.mk to set KERNOBJDIR and pass this to runlist.sh
2000-05-02 06:45:24 +00:00
pk 6fa10bb0bf Fix path to `makesums' 2000-04-16 21:27:00 +00:00
matt fedc2dd8aa Use relative path to osrelease.sh 2000-04-16 19:17:18 +00:00
pk 3123085e13 Make FQDN optional (PR#9823). 2000-04-11 08:26:34 +00:00
pk 20bea9cdbc Bump image size by 1MB. 2000-03-07 08:41:35 +00:00
is cb9a71b69b Make sure the miniroot distribution directory exists.
Compute the checksums.
2000-03-06 21:43:36 +00:00
mrg f2c5f2ab2c add an option to disable the -v flag to pax, that a SPARC framebuffer console user might very much like. 2000-02-20 00:23:10 +00:00
pk 28017b2956 get_localdir: fix variable use in error message (PR#8913)
+ clarify expected input.
2000-02-04 15:28:28 +00:00
pk f1feb4e600 Remove version number from boot image files. 2000-01-10 15:17:30 +00:00
simonb 2e3036aadb Remove update from the miniroot lists. 1999-11-23 23:16:02 +00:00
sjg d77acbe49a make sure . install.sub etc work regardless of PATH 1999-11-02 06:11:25 +00:00
pk 973b140334 Use utils/x_ping (so we don't have to include libipsec in the miniroot). 1999-10-18 20:40:52 +00:00
pk 2bcf2d369c Add `libbz2'. 1999-10-18 20:39:56 +00:00
pk b06b87a810 Add `release:' targets. 1999-10-18 20:13:55 +00:00
sjg ed00b4ca01 install_sets(): If Default_sets_dir is set to a directory that contains
THESETS then set local_sets_dir to it so that install_from_mounted_fs()
gets called straight away.
install_from_mounted_fs(): if the passed dirname contains THESETS
don't bother/confuse the user by asking him where they are.
1999-10-07 00:10:03 +00:00
sjg e8c3ee0f50 make sure . install.sub etc work regardless of PATH 1999-10-07 00:07:05 +00:00
abs 68801ce8f6 s/makeing/making/ 1999-07-18 07:22:36 +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