Commit Graph

1145 Commits

Author SHA1 Message Date
tron
731af7cc71 Add raid(4) to the list of machine-independent devices which "sysinst"
recognizes. This allows upgrading e.g. NetBSD-macppc or NetBSD-sparc64
systems with RAIDframe mirrored root devices.
2005-06-09 22:14:20 +00:00
chs
b944888e86 install the bootloader in the root of the target fs. 2005-06-05 18:55:30 +00:00
dsl
148ea12326 Stub out mbrtowc(), removes all the citrus_xxx stuff from libc.
rescue_tiny fits again...
2005-05-15 10:15:47 +00:00
chs
2438f5c3ad add hp700 support. 2005-05-14 14:46:21 +00:00
christos
bc7bf3d1e0 Translation of the new messages, and some corrections from
Hernani Marques Madeira. Many thanks.
2005-05-08 22:35:20 +00:00
martin
db1141b950 Use "domain" verbatim in DNS context - the german translation is hardly
ever used.
2005-05-08 20:32:36 +00:00
martin
3d320fb96e Translate the new slip related messages to german. 2005-05-08 20:29:53 +00:00
christos
91876f6dac Apply patch from Mikhail Zakharov that enables slip based installation.
From: http://www.onlamp.com/pub/a/bsd/2005/05/05/hardware_rescue.html
2005-05-08 19:46:33 +00:00
lukem
5baba459c0 use /usr/sbin/postinstall instead of etc/postinstall from the extracted etc.tgz 2005-04-18 23:36:03 +00:00
jschauma
0351658cc8 Some improvements and fixes.
From Mirko Thiesen in private mail.
2005-04-09 17:24:43 +00:00
he
3fdfdbed08 Include <unistd.h> to get the getgroupmembership() prototype. 2005-04-01 13:11:12 +00:00
he
97b59ebcdc Return 0xff from setlogmask() instead of falling off the end of
the int-returning function without returning a value.  The 0xff
value is taken from the C library and is the default log mask.
2005-03-31 13:03:34 +00:00
he
fca2c8bedd Provide weak aliases for the newly added getpwuid_r() and getpwnam_r()
functions in order to fix link-time conflicts with the C library.
2005-03-31 12:56:49 +00:00
christos
57b822fef8 Add re-entrant versions of the password routines. Well, not really, but close. 2005-03-31 04:14:42 +00:00
yamt
e0ea81bf20 follow the recent changes in sbin/ifconfig/Makefile. 2005-03-20 14:21:05 +00:00
yamt
4d5c8584db follow the recent changes in sbin/ifconfig/Makefile. 2005-03-19 18:16:34 +00:00
dsl
3650a70127 Allow the user to change the partition type from FFSv1 to FFSv2
Should fix install/29693
2005-03-14 21:37:43 +00:00
bouyer
3e8f0992c8 Integrate Xen to the i386 build process:
- Add xen devices to MAKEDEV
- Add Xen kernels to list of kernel to build
- Add INSTALL_XENU to the install kernels
- introduce the xbd disk devices to sysinst.

This will add 3 kernels to the i386 release:
XEN0 for use as a Xen domain0 kernel
XENU for use on a non-privileged domain
INSTALL_XENU to install NetBSD on a non-privileged domain virtual disk.
2005-03-11 20:55:10 +00:00
dsl
6fd109179e Use KB_ENF_FUN() from dev/wscons/wsksymdef.h to avoid having our own list
of the known keyboard mappings.
2005-03-09 20:59:09 +00:00
dsl
630725bdbc Put 'Delete ?' (not "yes or no") in box when we ask whether the user
want to keep or delete the dist files.
Stop the "type enter to continue" if the rmdir fails - may not be empty.
Report an error if the chroot() (for RUN_CHROOT) fails.
fflush log and script files before writing to them from a child.
2005-02-26 17:40:49 +00:00
dsl
b0d31e5def Remove target_prefix() from rmdir command used to remove the temporary
directory that ftp copied teh dist files into.  Command is running chroot().
2005-02-26 17:36:32 +00:00
dsl
d53c0d596e Put /bin/sh at top of list for root's shell.
Remove a global data item as well.
2005-02-20 20:54:52 +00:00
dsl
5fd32d4f19 Give all the space to / even when the BIOS can't quite read all of it.
Usually the unreadable part will be swap, but remove it from root even
if swap is not selected.
The user can always put it back on the next screen.
Saves sysinst allocating /usr when the bios geometry excludes the last
few MB of the disk (32 on one disk I have).
2005-02-20 20:42:36 +00:00
dsl
c2abea4a9e Move definition od SRCS into global Makefile.inc (crunchgen no longer needs
to determine the list of source files).
Add -DWSKBD to amd64 (probably should go into many others as well)
2005-02-19 17:00:38 +00:00
aymeric
425332b643 Correct a typo in a filename: s/fdstab/fstab/ 2005-02-12 15:06:59 +00:00
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