Commit Graph

162 Commits

Author SHA1 Message Date
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
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