Commit Graph

1120 Commits

Author SHA1 Message Date
dsl 70af5e654b Add back short country names and put them into the config file.
Fixes PR install/29059
2005-01-28 23:02:09 +00:00
dsl 102f557a3b Ensure we only remove the size of /usr from that of / once.
Fixes PR install/28568
2005-01-21 17:02:40 +00:00
dsl ea62f7c027 Use full country names when asking for keyboard type - thanks to Hubert for
finding them out and adding the comments to wsksymdef.h.
Make German always have KB_NODEAD set - IIRC Martin said that is needed.
Unfortunately this means we have our own list...
2005-01-20 22:15:46 +00:00
dsl 9146a4af0b Default to using 2k fragments (16k blocks) on filesystems that are >1GB.
Matches the defaults advertised in the newfs(8).
Perry keeps on asking me to do this :-)
2005-01-20 21:59:35 +00:00
lukem 46123551a0 Only support SMALLPROG_INET6 if ${USE_INET6} != "no".
Part of PR 28994.
2005-01-18 12:30:21 +00:00
snj 127531e055 We prefer "file system" over "filesystem". 2005-01-09 19:58:55 +00:00
snj 7921b65d89 Fix a typo: fileystem -> filesystem. 2005-01-09 06:30:08 +00:00
lukem a3665ef9cf Implement getgroupmembership(3). This is similar to getgrouplist(3), except
that the "int maxgroups" and "int *ngroups" parameters are separated into
two separate parameters which makes it possible to call multiple nsswitch
back-ends and have the results correctly merged.
getgrouplist(3) is now implemented using getgroupmembership(3).

Proposed on tech-userlevel on December 1, 2004.
2005-01-06 15:10:45 +00:00
joff 68490c8820 Add TS7200 kernel for sysinst 2004-12-28 17:56:40 +00:00
hubertf 8e7f054fdb Fix typo, pointed out by César Catrián C. <ccatrian@eml.cc>
on tech-install@
2004-12-15 08:35:17 +00:00
dsl 8c170ab578 Stop md_pre_disklabel falling off its bottom. 2004-11-14 18:36:11 +00:00
he 3629f91d5b Add casts to unsigned char for args to ctype functions. 2004-11-14 13:34:53 +00:00
sekiya e2b7f39b2d Bump up the volume header size to four megabytes; now it's big enough to
contain a GENERIC kernel.

With this commit, NetBSD can now be successfully installed via sysinst on the
IP12 (Personal Iris / Indigo R3k) family of workstations.
2004-11-13 11:49:08 +00:00
sekiya cc1b1e3980 Various tweaks for IP12:
* Add the IP12 kernel set to the list, and make it the default kernel selection
  if we're installing on an IP12,
* Don't install ARCS bootblocks on IP12,
* Install the ECOFF kernel to the volume header for IP12.
2004-11-13 10:26:39 +00:00
dsl c74f8d82e5 Specify --chroot and -h to tar so that it will chroot into the target
filesystem and then follow existing symbolic links in that filesystem.
The choot is required to make absolute links be processed correctly,
and must be done by tar because the program (and input file) do not
exist inside the chroot.
Fixes PR install/5010 and install/8090 (at least)
2004-11-11 22:39:03 +00:00
dsl b1bc1fb2fa Remove precisely the set files when tidying up after an ftp install.
(why this code persists in running 'rm -f' and not just calling unlink()
is rather beyond me....)
2004-11-11 22:30:49 +00:00
dsl 4c23b8b763 Put WARNS=3 in the right place - so it actually affects the compilations 2004-11-11 22:21:53 +00:00
dsl efe04144e4 Get network some interface details by using the relevant ioctls (not
trying to parse the output of ifconfig)
Loop if the user specifies an unsupported media type.
Run ifocnfig to set the media type (any anything else the user typed in)
    before running dhcp to assign an address.
Correctly extract the defualt gateway from output of 'route -n show'
Extract nameserver from resolv.conf without using get_command_out(),
    delete get_command_out().
Fixes (at least) PR install/11880, install/12706
2004-11-11 22:10:54 +00:00
dsl e4ad2fc0f8 Make url_decode() return a pointer to the end of the string, and take a
char * limit (not a length) to simplify buffer overrun avoidance.
2004-11-11 21:36:23 +00:00
dsl 7d6407147b Add support for fetching using http (by specifying http URL to ftp)
Remove a 'Press <enter> to continue' message that was accidently left
in by a previous commit.
Fixes PR/18555 (and a recent discussion on a mailing list)
2004-11-11 21:24:40 +00:00
dsl 855ac51c74 Simplify code that opens file for -f option.
I bet no one ever uses the option anyway!
2004-11-11 20:17:48 +00:00
dsl 9dbf8d89fe Use strtoul() instead of atoi() and cast arg of remaining ctype fns
to unsigned char.
2004-11-11 20:14:02 +00:00
dsl f5a10817b2 need to deconst() a qouted string to compile with WARNS=3 2004-11-11 20:00:40 +00:00
he 81fc849478 For hp300, don't try to install a second-stage boot loader, as none
exists, and use the 'c' (raw) partition for boot code installation
instead of the 'a' partition (which will not work).  This should fix
the problem that newly-partitioned and newly-installed disks will not
be made bootable by sysinst.
2004-11-11 00:19:48 +00:00
jmc ba1ca39c0a Make sure this picks up nbtool_config.h so non-NetBSD builds work 2004-11-10 03:57:23 +00:00
christos 4f7e113b33 Add Solaris mbr id 0xbf. From Larry Lee <lclee at west.sun.com> 2004-11-10 02:41:00 +00:00
martin f1ec8926e5 Changes from various people to the german translation, as discussed
in PR install/27281.
XXX - Output is not correct since sysinst does not set the proper LC_CTYPE
yet (which happens to not affect umlauts, but sharp-s (0xdf))
2004-10-21 12:14:21 +00:00
dsl 5f64a0e24d Fix equivalent of PR/26917 - this code was stolen from fdisk.
(similtaneus eqns to determine bios geometry from mbr entries could divide
by zero)
2004-10-20 19:36:23 +00:00
dsl 300c56aef2 Add a newline to the end of the 'syslog' output when writing it to stderr.
(affects output of dhclient when run from sysinst)
2004-10-17 11:57:14 +00:00
dsl 81c71a86b4 Make compile with WARNS=3 2004-10-16 13:20:10 +00:00
dsl 8cc827516a Remove used variable 2004-10-16 12:52:30 +00:00
gavan 0560d8b947 Initial import of iyonix port.
The Iyonix is a desktop machine from Castle Technology, based on a 600MHz
XScale[tm] 80321 processor.

* Uses the bootloader from NetBSD/acorn32, which is now 32-bit compatible.
* Currently boots multiuser with a serial console.
* Device support is not yet complete.

With help from abs.
2004-10-13 23:28:34 +00:00
dsl 64cdb08d62 Run the new copy of /etc/postinstall, not the one that happens to be on the
users system already.
Amongst other things this should ensure that MAKEDEV get updated.
(currently untested...)
2004-09-12 19:12:45 +00:00
chs c2472e10b2 rename a global variable so that it doesn't collide with a libcurses function
when both are present in a crunched static binary.  part of PR 26458.
2004-09-01 01:46:56 +00:00
hubertf ce610d90f3 CD-ROM -> CD-ROM / DVD
While there, capitalize list of install media (nfs->NFS, ...).
Tested on 2.0.
2004-08-20 21:23:08 +00:00
dsl 68444e9859 Don't require <enter> to by typed after setting root's password 2004-08-17 17:12:26 +00:00
dsl f372710462 Add a couple of blank lines before the 'Creating devices' message 2004-08-16 21:04:08 +00:00
dsl 29306cabe7 Default to input in MB for all architectures (MB are cylinder aligned).
Move info about cylinders to the 'ask for units' menu.
  (translations need checking, done by cutting sentences)
Stop i386 always asking for units.
Use BIOS cylinders for MBR and disk cylinders for the disklabel.
  (code intended to do this, but got it wrong...)
Mark some menus as 'sub menu' or MC_SUBMENU so that the screen underneath
  is saved.
Add GENERIC.MPACPI to i386 menu.
2004-08-14 16:06:36 +00:00
dsl e0683ac0f3 Kill two more global variables, bsize (bios disk size) was never used
and bcylsize (bios cylinder size) can be calculated in the one place
it is needed.
The ask_sizemult() call will go once I decide what to to with the
(slightly useful) explanatory text about cylinder alignment.
2004-07-17 19:36:59 +00:00
dsl 65a0b724f8 'Warp' menu selection to 'Exit' when a timezone is selected.
Add a line-break to the TZ menu title - has to look better that way.
2004-07-17 11:28:16 +00:00
dsl da414ff103 Remove the globals ramsize and rammb, the former was only ever used inside
a single function, the latter is now the return value of get_ramsize().
Changed all uses of rammb to get_ramsize().
Used the 64bit HW_PHYSMEM64 so silly things don't happen if the memory size
approaches (or even exceeds) 4GB.
2004-07-17 10:55:03 +00:00
dsl f2fcef0432 'verbose' and 'silent' were switched - correct.
Fixes PR/26283
Also removed 'static int verbose' and passed as a parameter.
2004-07-16 21:35:44 +00:00
dsl 85fdb1645f Nuke reask_sizemult() - it isn't used any more 2004-07-15 21:06:45 +00:00
christos 3a471759da PR/26201: Jukka Salmi: sysinst dumps core on NetBSD 2.0_BETA i386
The problem is that current_cylsize is used in the menu to select
rounding, and it is un-initialized at this point.
XXX: Must be pulled up to 2.0
2004-07-12 22:33:21 +00:00
martin 6d08c6a728 Translate language selection string. 2004-06-29 16:02:59 +00:00
bouyer 80ee929c70 Translate "Keyboard type" to french. 2004-06-14 21:49:15 +00:00
dsl 6ca1928243 German translation of 'keyboard type' from Martin. 2004-06-14 21:38:55 +00:00
dsl a9372a42f1 Add a menu (right at the start) to ask for the keyboard type.
Save the result in /etc/wscons.conf at the end of the install/upgrade.
Currently only builds for i386 - change arch/*/Makefile and add the
extra messages (though they could go into the msg.mi.* files).
Needs the 'Keyboard type' message translated in to German, French and polish.
Maybe the keyboard type names could be less cryptic...
2004-06-12 19:18:24 +00:00
wiz ebcfc8acc7 Grammar fix. 2004-06-12 15:55:23 +00:00
he 0433215caf Add "extern" to a couple of array declarations. Declaring an
undimensioned array in the outer scope will produce warnings that
it's assumed to have one element, and under -Werror will fail to
compile.
2004-06-12 14:44:42 +00:00