Commit Graph

193 Commits

Author SHA1 Message Date
phil
be6397e767 Implement a config file (-f file) option that overrides compiled in
defaults for things like rel (release number), ftp host, ftp prefix,
cdrom device, cdrom directory and others.
1998-10-25 19:15:04 +00:00
phil
c0b49a1eac Make all menus scrollable by default so small screens won't have
problems.
1998-10-22 05:38:50 +00:00
phil
984947d5b9 Change how network interfaces are selected to allow for longer names,
e.g. epic0.  (Fixes PR 5778)
1998-10-14 05:27:52 +00:00
erh
b3edb8ba74 Add braces to make egcs happy. 1998-10-12 17:00:43 +00:00
ross
ccc17f86dd g/c debug rule 1998-10-08 01:08:24 +00:00
ross
e462ec8f09 Simplify the SRCDIR comment. 1998-10-08 00:44:16 +00:00
mark
0220416488 Miscellaneous maintainance and debugging.
Fix several size / offset calculation errors.
Make some of the default partition sizes more realistic.
1998-10-06 01:43:12 +00:00
mark
0402c9b7d8 Add T_FILECORE to the DTYPE enum.
Add filecore to the fstype array.
1998-10-06 01:37:17 +00:00
phil
51fbe5aee3 Fix class c netmask. 1998-09-17 16:45:36 +00:00
phil
5807dd11b1 Comments added/modified to clarify how txtwalk works. 1998-09-17 05:57:28 +00:00
phil
3330188abd 1.3 has long since come and gone, update some entries, add a couple. 1998-09-17 04:11:54 +00:00
mrg
a93789ab6a add a "ta=4.2BSD" to disktab. fixing choosing X sets to install. 1998-08-30 09:08:52 +00:00
perry
e31adf91d8 bzero->memset 1998-08-10 02:23:45 +00:00
perry
4900e681b0 bcmp->memcmp 1998-08-10 02:22:30 +00:00
hubertf
bc66f03729 /route/s/-f/flush/ 1998-08-05 07:44:58 +00:00
lukem
aa02ec494a link with -lutil for fparseln(). noted by jim bernard in bin/5895 1998-08-02 03:17:21 +00:00
tsubai
04e0026f9b Add md part of sysinst. 1998-07-29 05:41:55 +00:00
rvb
a3d43525ee Fix BIOS GEOMETRY menu 1998-07-21 14:53:36 +00:00
mrg
32f519716b - use an array MAXHOSTNAMELEN+1 size to hold hostnames
- ensure hostname from gethostname() is nul-terminated in all cases
- minor KNF
- use MAXHOSTNAMELEN over various other values/defines
- be safe will buffers that hold hostnames
1998-07-06 06:56:06 +00:00
mrg
58e5e70a16 remove bogus unnecessary "NetBSD-X.Y" directory from cdrom path; it will not exist for future cdroms 1998-06-22 12:18:52 +00:00
mrg
d1b0d1b602 KNF. 1998-06-20 13:05:48 +00:00
mrg
3e6e1c5a04 KNF, and don't copy filesystem. 1998-06-20 12:46:00 +00:00
mrg
8eff781723 add my zlib-based gzip for installs. 1998-06-06 06:11:19 +00:00
mrg
5725ca5157 initial sysinst support for the sparc, based on the alpha stuff. not heavily tested. 1998-06-06 05:34:00 +00:00
lukem
86d96336f3 spell successfully correctly 1998-06-02 14:14:46 +00:00
fvdl
4cefa17401 Forgot this in previous. 1998-05-15 15:19:25 +00:00
fvdl
f998547470 Add MD cleanup function to do some thingd once the install is done.
Only implemented for the i386; behaviour for other ports is
unchanged. For the i386, make this function remove some extraneous
files in /, and frob rc.conf to have rc_configured=YES. The defaults
are reasonable, and it saves the user having to set TERM and mount
filesystems by hand in order to be able to edit /etc/rc.conf

(XXX not very clean, but it's a workaround to be more user-friendly
 for 1.3.2)

Also adapt a few messages slightly so they apply to both situations.
1998-05-15 15:12:29 +00:00
ross
f7a658d062 The 3/29 rewrite broke floppy builds, so add back a (different)
hack to enable this to work when included from a different directory.
Idea:  if the crunchgen(1) child were to cd to the target directory
just prior to executing its manufactured Makefile, then problems
like this might not occur.
1998-05-03 16:50:25 +00:00
ross
25df7fccdd Build x_sh, even though some non-sysinst ports don't use it. Yet. 1998-05-02 08:04:52 +00:00
fair
c4b0f47514 fix mdoc references and .Nm usage 1998-04-28 18:17:33 +00:00
lukem
d3ecec520c use CPPFLAGS not CFLAGS 1998-04-13 14:10:05 +00:00
christos
1820947a9f Simplify so that this works. 1998-03-29 09:22:06 +00:00
thorpej
7eed6ad8d8 Bring in bsd.own.mk to get the definition of BSDSRCDIR before checking
to see if it's defined.
1998-03-19 00:08:25 +00:00
cgd
f45dd19e06 note that only static compilation makes sense here 1998-03-02 19:50:53 +00:00
phil
8668166c18 Make sure fdisk gets told the proper BIOS geometry on every
execution of fdisk.  Otherwise we loose big time.  Should close
PR 5052.
1998-02-27 21:30:09 +00:00
phil
84c669fc44 Make the CDROM default path be .../NetBSD-<rel>/<machine>/binary/sets
as specified in release(7) for the ftp site.  This is because I'm
assuming that the CDROM would just be a copy of the ftp site minus
duplication.
1998-02-25 05:26:37 +00:00
jonathan
1483395dbe Move DOS BIOS-geometry and MBR-handling code to MI code for powerpc, arc:
* Split bios geometry and MBR partition editing code formerly in
    arch/i386/{md,fdisk}.c to mbr.c in mi  directory.
  * Leave /sbin/fdisk parsing/handling code in separate file,
    we may want to change it later. move to mi directory.
  * Create mbr.h with declarations for MBR/BIOS-geomotry code.
    #include "mbr.h" in  i386 md.h.
  * Use symbolic names for 386bsd and new NetBSD partition IDs.

Handle MBRs with both 386bsd and NetBSD partitions less stupidly.
1998-02-24 05:36:03 +00:00
jonathan
1cfa173f7c Add symbolic names for new NetBSD MBR partition ID and for Linux. 1998-02-24 04:32:22 +00:00
jonathan
0ed9642fe0 Add menu entries to md_distcustom for installing X11 sets
in menus.md.{eng,fr}, lifted verbatim from Alpha and pmax.
Give last split-floppy for each X11 set, for 1.3.

FIXME: if the number of floppies in any split set changes for 1.3.1,
syinst is hosed for 1.3.1. Same is true for any release: we can't
install from split sets if the count of floppies doesn't match
the precompiled version.

The number of floppies in a split set should be computed dynamically
from a directory listing, or read from a config file in the split
directory.
1998-02-23 22:55:09 +00:00
phil
eaeadf7187 Take 3! Added prototypes instead of including defs.h. Compiles now
cleanly both with sysinst and standalone away from sysinst.
1998-02-20 07:43:52 +00:00
jonathan
98b0f2b8ad * Prune default CD path from "/Release/NetBSD/NetBSD-" back to "/NetBSD-".
* Add cp_to_target() to  copy a file from current root, to an absolute
  path relative to target root.

* Clean up alpha, arm32, i386, pmax MD code: use cp_to_target()
  NB: Alpha uses target_expand() when calling installboot.
* Add tests for target == current root. Intended to support
  `upgrade/reinstall' to current root, either for testing or easier
  minor-release upgrades. Only tested on pmax.
1998-02-20 02:33:51 +00:00
jonathan
2ce5d64f35 Pull up fixes for coment typos, punctuation, and (partial,inconsistent) KNF
from sysinst/arch/alpha/md.c.
1998-02-20 01:53:59 +00:00
jonathan
317aef44f1 Undo the include cleanups of previous revision. Fixes missing
prototypes when compiling into sysinst, rather than standalone testing.
1998-02-20 01:40:53 +00:00
jonathan
95eae8964b Remove comment references to /mnt: some ports support upgrading while
running from the target root.
1998-02-20 00:37:17 +00:00
phil
a7a3b90218 Clean up the includes, make it work as an independent program better,
add a loop in the main to factor all command line parameters.
1998-02-19 19:38:39 +00:00
phil
a924a02bc1 Make the primes generation go to the true square root of parameter
max.  (Pointed out by jb@dilbert.apo.nmsu.edu (Jon Brinkmann) on
usenet.)
1998-02-19 18:37:58 +00:00
thorpej
69c0c710e5 Fix some printfs and prototypes. 1998-02-09 07:40:15 +00:00
thorpej
fee167dd96 Needs <time.h> 1998-02-09 07:34:16 +00:00
phil
c39e6b7b4f Moved selection of distribution sets to before selection of distribution
medium.
1998-02-09 07:03:38 +00:00
phil
4b083bc3ac Ask for custom/full and select distribution files before selecting
distribution medium.  Makes ftp fetch only needed files.
1998-02-09 06:55:27 +00:00