Commit Graph

148 Commits

Author SHA1 Message Date
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
mrg 9aebf66cbe allow installing sets from already-mounted directory. fixes PR#6313 1999-06-28 07:59:39 +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
is 23610fcf92 - make empty media options with non-empty other interface options work.
- use media options for the install program as well as for the future
  installation.
1999-05-16 20:42:27 +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
is ef37d9492f Fix an old typo (or rather, an old failure to fully adapt copied code's
prompt text to the new location): for ftp, we build a list and extract all
at once afterwards.
1999-05-02 20:53:22 +00:00
is 5baac5a0fb Disable line editing for the ftp-scripts. Apparently, this is what makes
ftp installs work again.
1999-04-26 10:50:44 +00:00
is f9b0d69d7d use an async mount for building the miniroot filesystem 1999-04-18 21:01:57 +00:00
pk 51ec3af2ba Identify binaries that were moved or removed between 1.3 and 1.4 1999-04-13 19:14:47 +00:00
is 2c4e2ccda8 Actually use MDSETS, so that ports can install the x sets if useful 1999-04-12 22:17:21 +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
pk d00a3a4467 Add `gnu/usr.bin/grep' as a source directory. 1999-03-25 13:14:42 +00:00
leo 9c6b700adf Allow for a 'LIBS' directive in the 'list'-files. 1999-03-23 10:20:01 +00:00
is 2dc9b12410 Make it clearer what to answer to the "Device name: " prompt. 1999-02-07 19:39:07 +00:00
mrg b6ae8c804d use pax for tar. 1999-01-31 09:28:26 +00:00
garbled 851ee9e397 1) Remove all vestiges of tar from src/distrib. Use pax and appropriate
commandlines for all tar operations.  (work supplied by Matt Green)
2) Update arch/*/md.c to deal with new sysinst/run.c.  Special case
anything that needs to do a redirect or a pipe.
3) #if 0 some unused code in target.c. This code will need to be updated,
or special cased with do_system.

Big thank you to Matt for all his work on this.
1999-01-25 23:34:20 +00:00
jonathan c0fc274246 Add hook for running extraneous commands before newfs. 1998-11-16 23:43:58 +00:00
lukem 06b0ffe181 distclean is a synonym for cleandir 1998-09-05 14:46:13 +00:00
bad 4da46852f5 We don't need to manually flush the buffer cache after ``vnconfig -u''
anymore.
1998-01-26 23:50:54 +00:00
veego 48b59e11c5 Back out the ipnat static change. 1998-01-24 19:15:04 +00:00
veego 884c32ed05 Add new RELOCATED_FILES_14 because ipnat moved from /usr/sbin to /sbin. 1998-01-23 22:36:39 +00:00
pk 96f13f7ed6 * Fix a typo.
* Present option to configure a swap device (a bit rude.. we only offer
  partition `b', like we only consider `a' for root)
1997-11-25 12:29:33 +00:00
leo f1f734f05a Save +/- 70Kb on miniroot.....
- Use init_s
  - Link etc/pwd.db etc/spwd.db
1997-11-13 13:56:52 +00:00
pk c144b2c93b Fix typo. 1997-11-12 01:30:30 +00:00
pk b7f5e603b4 Previous sync with `etc/netstart' was not complete. 1997-11-12 01:13:54 +00:00
pk ba5e432c64 Check `auto_ifconfig' rc.conf variable, per Michael Hitch. 1997-11-10 21:13:01 +00:00
pk c9c773124f Add `nfsd' and `nfsiod' to the list of relocated files. 1997-11-03 10:15:23 +00:00
jtc c8f77c0b8b Fix tipo inherited from old version of TNF copyright template. 1997-10-09 07:25:45 +00:00
leo 4f74685857 Refurbish the ftp_install function:
- it now tries to find out if there are files that look like install
    sets in the remote directory.
  - it is possible to change to another directory when there are no
    things like install-sets around.
  - you can even get a directory listing while trying to find the
    correct directory (wow ;-)
  - when the correct directory is found, you can tag the sets you want to
    extract (like in all(?) other cases). The only difference is that the
    get-install sequence is batched.

There is still plenty of room for improvement, but it's getting workable.
1997-09-25 06:25:50 +00:00
scottr de9a20d706 Add a VND_GEOM variable for optionally specifying a geometry
to vnconfig(8).
1997-09-22 21:33:31 +00:00
is cd718ac0c1 More changes, while working on Amiga generic miniroot stuff:
- added method BOOTINSTALL, for an architecture to optionally install a
  bootblock in the miniroot (this works for Amiga)
- added Amiga keymap directories
- removed the subdir selection from mount_local_disk() and mount_nfs(), and
  the remains from mount_cdrom(), as all are handled now by the subdir
  navigator in mount_from_installed_fs()
1997-09-09 23:02:04 +00:00
pk 603d8d5607 Don't leave /etc/rc.conf "unconfigured". 1997-09-08 23:25:01 +00:00
pk 6e885e06dd Do not present media type `manual' as a default choice. 1997-09-08 23:22:44 +00:00
is 61334d9eb4 - add support for split sets (like: base12G.aa ... base12G.bq)
- add a subdirectory navigator for moving around in mounted CD-ROMs and
  disk or network partitions.
  Still a bit rough: should have explicit ".." support.
1997-09-07 22:43:13 +00:00
is 4f1f662f6c Fix type (_fstype vs. _filesystem); and use partition "a" on CD as default. 1997-09-01 21:16:01 +00:00
pk dffa41f350 Add mountd to thelist of moving files. 1997-08-05 08:44:03 +00:00
pk 54c37dd087 Make DISKTYPE optional; default to vnd's builtin geometry.
Make `vnd0c' the default vnd device (instead of `vnd0a').
1997-07-15 08:16:36 +00:00
thorpej ed4c805216 Update for changes to vnconfig(8). 1997-06-23 21:29:50 +00:00
pk 63a16956e7 Don't bother with initializing `RELOCATED_FILES_13' to the empty string. 1997-06-22 22:28:43 +00:00
pk 1b0d39a29d Add a list of files (tagged with release number) that have shifted
locations since the last release. These files are removed if the
upgrade sets installed them in the new locations.
1997-06-20 20:28:41 +00:00
lukem 6709a268be Don't hardcode in the current release information; generate it
automatically on the fly, by using
	`sh ${BSDSRCDIR}/sys/conf/osrelease.sh -s`
1997-05-10 15:42:53 +00:00
pk 48dcd4eff7 * ftp setup: don't echo password
* network interface configuration:
	- use new ifconfig(8) capabilities
	- adapt to changed ifconfig(8) output
	- use new config files (ifconfig.xxn)
1997-05-01 13:26:54 +00:00
veego d27d7804f7 Bump the REV to 12D to get in sync with param.h and newvers.sh.
This REALLY needs to be in ONE file and not in 11 files.
1997-03-16 11:26:15 +00:00
thorpej 79ed9a4d29 Include <bsd.own.mk> for <bsd.obj.mk>. Bump rev to 12B (HI PERRY! :-) 1997-01-08 07:22:43 +00:00
pk 11e28a9fb3 Add librmt. 1996-12-01 21:51:53 +00:00
gwr 165cf39d2a Merge the netbsd-1-2 branch back into the mainline. 1996-10-10 19:58:32 +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
pk f8b994ef5b sync with 1.2 branch 1996-08-25 14:59:00 +00:00
pk 3644c8dbbd Pull up fstab changes from 1.2 branch. 1996-08-25 14:49:06 +00:00
mrg 682e5d1a57 do md_install_sets. 1996-08-22 03:24:15 +00:00
leo a8ea317ed4 keymap -> keymaps 1996-07-15 06:24:07 +00:00
leo 1cc9cc4d59 Re-arrange install_disk() a bit. The code to mount a disk is pulled out
so it can also be used from other functions.
1996-07-04 06:57:21 +00:00
leo 04b67d2caa Check for $DESTDIR being set. This prevents you from accidently ending up
with a miniroot that contains your local passwd files.
1996-07-04 06:53:12 +00:00
pk bd6d9d2e89 Deal with install sets in `install_from_mounted_fs()' differently.
The sets are passed around in a global variable.
Remember installed sets across loads from different media.
1996-06-27 13:45:45 +00:00
pk b11425523d Do not present previously skipped sets as default again. 1996-06-26 19:09:31 +00:00
pk 512a95af8e Pull up changes from release branch (rename `install_common_cdrom_nfs'). 1996-06-26 19:07:29 +00:00
thorpej b3b461a5a2 Fix a couple of typos. 1996-06-25 07:36:54 +00:00
thorpej 7f3ca3ca65 Move all disklabel handling into install.md. Even the error messages
can be machine-dependent.
1996-06-25 07:35:20 +00:00
thorpej 647f309e62 We're 1.2A, I promise. 1996-06-25 05:33:14 +00:00
leo 294d82f240 Add /usr/share/keymap/atari 1996-06-23 13:58:59 +00:00
pk 0719964575 Typos I thought I killed before. 1996-06-19 14:16:25 +00:00
pk ca95e90fca Insert filesystem type in munge_fstab.
Don't `ifconfig down' an active network interface (bad for diskless setup);
but use it to cull default IP address and netmask.
1996-06-18 12:50:56 +00:00
leo 76285e652b * Edit VERSION into install.sub while copying instead of using a
VERSION file.
* Set the EDITOR variable in install.sub, so it will be set in both
  upgrade & install.
* Make the checks on  the presence of installation sets on the local
  disks on upgrade more precise.
* Remove more&less from the list of standard binaries (I need more space!)
* When building an fstab from the users' fstab, drop lines starting with
  a '#' and lines with an fstype that is not supported on the miniroot.
1996-05-30 06:57:12 +00:00
leo ef84477f6d Forgotten in previous commit. 1996-05-27 15:50:53 +00:00
leo b058af8711 Remove leftover from atari (floppybt -> miniroot) 1996-05-27 15:46:41 +00:00
pk 5d525ce079 Two small optimizations: no need for sed to convert fstab. 1996-05-27 13:32:01 +00:00
leo e2202ab208 Sync atari miniroot & mi-miniroot 1996-05-27 12:39:01 +00:00
pk cf6887780f Include machine-specific makefile so the default values of various
things can be overridden.
1996-05-24 23:36:38 +00:00
pk 819ce802e7 Add a `install_disk' option (copied from Atari miniroot).
Make editor configurable (variable EDITOR, also usable by disklabel(8)).
Move disklabel(8) calls into `md_prep_label()'.
Eliminate two uses of `sed'.
Eliminate `awk' in upgrade.sh.
1996-05-21 18:53:54 +00:00
pk 9954d351bb kill some more awks 1996-05-21 00:10:57 +00:00
pk 5d2a8bbf21 There's life after awk. Replace awk scripts with shell function equivalents
(inspired by Leo's atari scripts).
1996-05-20 00:32:24 +00:00
pk 33819c6ee2 Change format of `LINK' and `SYMLINK' lines to accept multiple program
names. As before the first program name (field 3) is the one "with source".
The remaining entries specify just filesystem links.

Additional keywords processed by makeconf.awk:
ARGVLINK: used to specify additional link directives for crunchgen(1); no
	  filesystem links appear for these.
SRCDIRS:  crunchgen `srcdirs' directive
CRUNCHSPECIAL:  crunchgen `special' directive
1996-05-04 15:45:30 +00:00
thorpej 0ffa7d7b3c Copyright assigned to The NetBSD Foundation. 1996-02-28 00:47:42 +00:00
pk 6f94427590 MI install and upgrade scripts. 1996-01-06 22:45:13 +00:00
pk 856ea688d7 update clean target 1996-01-06 22:40:58 +00:00
pk f9cb846528 Add separate list of `argv[0]' aliases.
Add some more links.
1995-12-19 00:54:07 +00:00
pk c71d8c144e Attempt at a MI miniroot build environment, converted from hp300 version.
Note:
	- `list' was more-or-less arbitrarily split into MD & MI parts.
	- the `crunch' configuration file is generated from `list's
	  with the `makeconf' awk-script.
	- Makefile assumes there's a `../<arch>/miniroot' directory with
	  MI configuration files.
1995-12-18 22:47:26 +00:00