Commit Graph

670 Commits

Author SHA1 Message Date
tsutsui
010ec39dbb First cut at sysinst for newsmips. Mostly copied from news68k. 2002-03-16 15:47:56 +00:00
tsutsui
b322db6bea s/macppc/news68k/ in comments. (Oops) 2002-03-16 08:51:07 +00:00
tsutsui
1cdefcf3a6 Fix toggle_getit() args for md_set_no_x().
XXX It seems this should be handled without magic numbers..
2002-03-16 08:42:52 +00:00
tsutsui
72fc77e730 Fix typo in toggle_getit() arg. 2002-03-16 08:40:12 +00:00
tsutsui
fd0eb9f1bd - Use common sysinst/bsddisklabel.c for md_make_bsd_partitions()
- Prepare md_cleanup_install() (XXX not tested)
2002-03-16 08:25:00 +00:00
gmcgarry
b5dfc7ec7b Replace inappropriate comment about floppy with warning about failure
on low-memory machines.
2002-03-15 05:26:37 +00:00
gmcgarry
923c2a794d Remove debugging goo 2002-03-15 05:24:31 +00:00
reinoud
a89c6bc776 Only select the RPC_WSCONS as default to prevent confusion and ending up
with an NC_WSCONS kernel (ahum)
2002-03-12 19:35:55 +00:00
lukem
521853db1d simply VERDEP calculation by using ${_SRC_TOP_} 2002-03-06 22:36:58 +00:00
reinoud
42dd65f262 Implement (/copy) from the generic way the option to keep the existing disk
layout... this was missing for quite some time.
2002-02-15 00:40:23 +00:00
reinoud
7ffc54f047 Fix typo.... 2002-02-14 15:28:31 +00:00
reinoud
b9a12f956d Let the user choose between the other kernels available than just
`GENERIC'.
2002-02-14 15:25:02 +00:00
skrll
4cd25cd0e8 First cut at cats support. 2002-02-11 13:50:18 +00:00
thorpej
3fcc2a907a arm32 -> shark 2002-02-10 19:20:52 +00:00
gmcgarry
3101b620cc hp300 machine-dependent components 2002-02-10 01:14:05 +00:00
mrg
c0099774ec allow the user to continue the install, even if sysinst thinks that the
network has not been configured (due to what ever local condition that
causes ping to fail, or whatever.)  requested by kre in private email
many many months ago.
2002-02-04 14:35:10 +00:00
skrll
03ecb39a1f Don't go mad with the includes... 2002-02-03 22:44:21 +00:00
skrll
a3a8c36b17 Factor out the aout library moving code for use in other platforms. 2002-02-03 22:21:55 +00:00
wormey
3beb955c29 Add definition to a variable. 2002-02-03 20:04:31 +00:00
reinoud
187b0b9771 Fix typo 2002-01-31 01:56:43 +00:00
reinoud
b97d535232 Create a sysinstall part of our own... not my own choise (maintainability)
but since arm32's gonna go i'll have to.
2002-01-31 00:33:49 +00:00
atatat
043e7e58b6 Redefine MENUC and MSGC so that non-new-toolchain platforms don't
lose.
2001-12-24 00:47:42 +00:00
mrg
07f129f94a clean up a couple of items. 2001-12-13 14:02:02 +00:00
tv
7ec460046d Major readability cleanup; nuke redundancies; MKfoo=no -> NOfoo=. 2001-12-12 00:05:09 +00:00
minoura
9d9c30bd81 Correct argument order of installboot. 2001-12-10 03:09:03 +00:00
minoura
7d3c9783e0 Use new boot system. 2001-12-06 04:15:31 +00:00
jhawk
55b9072766 s/change a partition/change partitions/
otherwise it looks like you're being asked to change
partition 'a'.
2001-12-03 06:12:19 +00:00
thorpej
3a4956a5c8 On platforms for which there is more than one kernel set choice,
default the kernel sets to "no", thus requiring that the user
explicitly enable the one that is right for their system.
2001-11-29 23:24:23 +00:00
thorpej
0f33bc5dfa Update for the new kernel set names. 2001-11-29 23:20:56 +00:00
soren
4004df64a0 Add sgimips sysinst support from Scott G. Taylor. 2001-11-20 15:53:22 +00:00
perry
b4109e020f XXX if a color term, do color. horrible kludge. 2001-11-17 02:06:47 +00:00
briggs
7bd7e68996 First cut at sysinst for sandpoint. 2001-10-24 19:43:40 +00:00
hubertf
7dfbd02819 Only turn ttyE[1-9] on, and explicitly leave ttyE0 off, as recommended
in PR #14075. (Since PR #13249 was fixed, we have /dev/console enabled
in /etc/ttys on i386 by default!)
2001-10-15 22:49:36 +00:00
uch
0cbd019fc3 playstation2 support 2001-10-15 16:22:50 +00:00
jdolecek
785b85c14a glue in necessary IBM PS/2 kern set bits 2001-09-13 18:09:19 +00:00
jdolecek
b29d271447 change launch_subwin() to pass failure reason back to caller, add check
pipe(2) call was successful
make launch_subwin(), va_prog_cmdstr() static
2001-09-13 18:07:26 +00:00
simonb
e5592e5454 Use "sd" only in disk_names. 2001-08-26 11:58:47 +00:00
wiz
41df6b74a9 partiton -> partition 2001-07-26 22:47:34 +00:00
scottr
8f69e0c022 After modifying the Apple Disk Partition Map, use the DIOCGDINFO/DIOCWDINFO
ioctls to refresh the in-core disk label.  From Bob Nestor.
2001-07-14 07:57:16 +00:00
thorpej
a59a7e818b First pass at sysinst for the ARC port. This is a work-in-progress. 2001-07-04 16:56:01 +00:00
jdolecek
d5c13f3228 Add 'ed' to list of known/valid disk names 2001-06-16 14:33:08 +00:00
veego
a0106f8d24 Editing Fsize/Bsize caused a segmention fault.
Fix provided by Klaus Klein.
2001-06-16 08:25:20 +00:00
mrg
79ba24e616 wait a couple of seconds for the interface to go live, before calling ping.
fixes problem noted by gkm@petting-zoo.net where the interface was still
negotiating before ping failed, causing the network config to wrongly failed.
2001-06-07 12:34:55 +00:00
scottr
d4a2f03f78 Add support for FTP through a web proxy (via the ftp_proxy environment
variable).
2001-06-06 23:12:48 +00:00
itojun
d9bcf0f87a use "!rtsol" for IPv6 interface autoconf.
XXX i did not use "!rtsol $int" because there could be problem with
shell script expansion ($int gets expanded too early).
2001-05-07 11:49:52 +00:00
fvdl
58dc4d0703 Use the -2 option for the NFS mount. Install kernels might have
NFS_V2_ONLY to save space, and we're only reading anyway.
2001-04-29 00:22:34 +00:00
simonb
6f6fe2f3ad Spell occurred correctly. 2001-04-25 02:33:08 +00:00
itojun
4a360e2310 write out IPv6 configuration to /etc/rc.conf and /etc/ifconfig.* 2001-04-15 11:08:51 +00:00
briggs
ae21cdde67 Make this compile again:
* Remove duplicate definition of "nobiosgeom"
	* Update to "new" edit_mbr() and define a basic md_bios_info().
2001-04-12 03:48:12 +00:00
dogcow
84e3a863c2 missed a \n after dhclient_flags=\"%s\". 2001-03-06 09:22:40 +00:00
abs
ef51389957 Update the pleasemountroot message to indicate which root needs to be
mounted, and what needs to be done.
2001-02-26 16:32:53 +00:00
wdk
9123196f19 sysinst utility for mipsco port 2001-02-19 07:38:44 +00:00
jmc
d264c53a1d Add support for installing serial bootblocks. If biosboot_com0.sym exists
on the ramdisk image then ask which set of bootblocks to install (normal or
serial). If it doesn't exist, just install the normal ones. (small/tiny
images).
2001-01-27 07:34:39 +00:00
jmc
b70406007d Fix various typo's so this compiles. 2001-01-23 01:22:32 +00:00
nonaka
8492c6a9e8 Add prep installer 2001-01-16 16:53:57 +00:00
mrg
1f4e0ae80c fix compile lossage on i386.
move some data & a function from bsddisklabel.c to disks.c.
2001-01-14 23:45:16 +00:00
mrg
d436dd6641 extend sysinst disk handling, some general clean ups, better /etc support
and some sparc64 fixes.  details:

- new scripting_{,v}fprintf() that also write to the script log (if open).
- support of creation of LFS filesystems
- standard installs now allow one to choose which file systems to create,
out of the list of /usr, /var, /home, MFS /tmp, and swap.  a / is always
created, but the rest all optional. [*]
- new disklabel method: use existing.  this requires one to fill in the
mount points (and having at least a "/" is enforced).
- preservation of existing filesystems (at install) is supported.
- rewrote most of make_fstab(): the entire thing is generated from the
bsdlabel now, rather than hard coding / to 'a' and swap to 'b'.  create
MFS /tmp if requested.
- if IPv6 support isn't present, don't display any ipv6 messages.
- better rc.conf support
- sparc & sparc64 default to "cylinders" now.
- choosing "standard" instead of "standard with X" de-selects the X pkgs
by default.
- sparc64: don't install bootblocks until we have a complete system, avoids
booting with no /dev/console.
- sparc64: bump STDNEEDMB, it is way low.


[*] i have added default values for DEFVARSIZE & DEFUSRSIZE (this is used
only if /usr and /home are selected) to each port, based on STDNEEDMB.  as
such, my guesses might be wrong so port maintainers should look at these.
2001-01-14 02:38:13 +00:00
jdc
6b6028160d Use wrefresh(curscr) instead of clearok().
Suggested by Thomas Dickey.
2001-01-07 13:07:57 +00:00
jdc
885c8eaa06 Be paranoid and do a clearok() before we do a refresh(). 2000-12-31 13:08:05 +00:00
mrg
8da46e6897 de-__P()-ify 2000-12-22 10:12:12 +00:00
mrg
c5e19f6801 s/sparc/sparc64/ in some comments. 2000-12-22 04:43:54 +00:00
jdc
dab8e56b56 Don't output the termcap `cl' sequence.
XXX: do we really need to home the cursor here?
XXX: should we do clearok() instead or in addition?
2000-12-21 21:42:00 +00:00
hubertf
db8b15ae28 A sane distrib doesn't only need etc.tgz and kern.tgz, but also base.tgz.
Check for it!

Fixes PR 11634 by Wayne Berke <wayber@rcn.com>
2000-12-18 09:39:50 +00:00
hubertf
55e87ae551 Do not tell the user we've newfs'd his disks when upgrading.
May safe him a heart attack or two.

Fixes PR 9655 and some others.
2000-12-18 09:18:46 +00:00
hubertf
3df3bcf30b Fix typo in calculation of partition's end (s/mbrp_size/mbrp_start/).
Fix reported in PR 7556 by Arne Juul <arnej@math.ntnu.no>
2000-12-18 04:52:52 +00:00
jmc
927b45cf65 After confirming the network setup should be saved, make sure dhcp is enabled if it was used on install 2000-12-17 22:55:53 +00:00
jmc
c111d88861 Add makefile goo so it'll properly rebuild the menu files if osrelease.sh changed 2000-12-17 09:22:47 +00:00
mrg
900169f00c minor KNF. 2000-12-06 04:53:37 +00:00
wiz
8ebc8eafe0 Fix typos in comments. 2000-12-04 22:47:02 +00:00
wiz
a6e6452673 Remove some items I believe fixed/done. Coreect speilnk. 2000-12-04 20:27:02 +00:00
minoura
fa875fd970 Welcome message `If you booted from a floppy,...' is somewhat port-specific
instruction.
Create md_hello message and move that message to it.

Port-maintainers: please reflect the reality of your port.
Someone who can write french: please correct *.fr catalogue.
2000-12-03 01:54:46 +00:00
ad
57ea462da2 lsu -> ld, by popular request. 2000-11-26 17:44:02 +00:00
simonb
c4a144e6ed Close list_file after we're finished with it. 2000-11-26 01:11:26 +00:00
fvdl
c13641ea40 NULL for the highest split set file for the xmisc set is wrong, make it "aa"
Also, correct the xserver split set extension.
2000-11-23 16:26:50 +00:00
abs
1d655fabae Try to upgrade a.out libraries. Currently just cut & pasted from the i386 port 2000-11-16 15:02:46 +00:00
tv
c6610a4af0 Back out 1.75 by request of fvdl. 2000-11-15 20:07:39 +00:00
hubertf
9303852347 All sysinst ports automatically set rc_configured=YES now, so delete
that text after install/upgrade. Hint at disabling/enabling services
in /etc/rc.conf though.

Noted in PR 11499 by Peter Seebach <seebs@plethora.net>
2000-11-14 23:03:35 +00:00
fvdl
3f3dfb39a3 For filesystem checks, skip any 'noauto' entries. Avoids problems
when upgrading a system that has a 'noauto' entry for a floppy
or CD device that has type ffs.
2000-11-14 13:27:49 +00:00
fvdl
3c20e1e72d Add a message saying that a /emul or /emul/aout symlink has been renamed
to .old.
2000-11-12 15:33:26 +00:00
fvdl
f86b12aaef Handle existing /emul symlink better when it points to nothing; same
with /emul/aout. Prevents unexpected sudden exits because during
aout lib move in upgrade.
2000-11-12 15:28:48 +00:00
fvdl
350e232678 Wrap checking the BOOTMODEL env var in DEBUG, it was intended for that
purpose originally, and this check only messes up selection of the
right kernel for the laptop install set.
2000-11-07 01:14:22 +00:00
fvdl
c0ffae8285 Oops, add missing space after '-c 3'. 2000-10-31 16:02:06 +00:00
fvdl
ddfa644677 -c 2 -> -c 3 2000-10-31 11:19:50 +00:00
fvdl
ef28de5011 fsck -c -> fsck -c 2 2000-10-31 10:41:43 +00:00
fvdl
448f90f01b Add a note about password files in the message about what to do minimally
after an upgrade; don't want people to end up multi-user with empty
root passwords.
2000-10-27 12:44:07 +00:00
fvdl
14506ffd18 Re-add xmisc set to menu file, which I accidentally deleted earlier.
From hubertf.
2000-10-27 07:49:14 +00:00
fvdl
02687a51bd Handle moving a.out shared libraries for X as well. 2000-10-26 23:29:25 +00:00
minoura
807d7f0327 swapon when the system memory is smaller than 6MB. 2000-10-25 14:48:35 +00:00
fvdl
44c5ba4a36 Print an install complete message; this got lost when I changed things
to move this to after zetting the time zone.
2000-10-22 22:57:04 +00:00
fvdl
ec11b62dc9 Handle split sets for special kernel sets (-laptop and -tiny) correctly. 2000-10-20 14:40:25 +00:00
ad
9e42854f7b Allow install on lsu disks. 2000-10-19 15:09:11 +00:00
ad
d53e399d91 ca -> lsu 2000-10-19 15:02:38 +00:00
pk
9182a99111 We need <fcntl.h> 2000-10-19 14:42:57 +00:00
fvdl
faf5b4b7d0 Adapt for format change in mbr editing header; it now always displays
the whole partition, and the total disksize.
2000-10-17 19:52:13 +00:00
fvdl
ead80bd575 Stress that if a match is found between a disk device and a BIOS disk,
you really should not be changing the geometry values, unless they
look totally ridiculous due to some BIOS bug.

Disable manual entering of initial partition label values when doing
a custom label. The step was redundant. Just go to the label edit
directly, leaving everything but the c and d partitions empty.
2000-10-17 19:50:39 +00:00
fvdl
8a696e8ea8 Improve labelling a bit, by allowing some shortcuts to start partitions
where another one ends, and ending partitions where another one start,
or at the start of the disk / until the end of the disk.
2000-10-17 19:44:28 +00:00
fvdl
30b8888d4a * Change the interface of run_prog: use a flags argument instead of
seperate booleans. Add flags to run as a plain 'system()' command,
  fullscreen (but on a pty), and chrooted, and implement their
  functionality. Add a bit of TIOCPKT handling code to handle
  programs messing with term settings better.
* Ask to set the root password at the end of an install.
* Remove a few unneeded comments.
* Sprinkle some touchwin() calls here and there to make the output cleaner.
  They shouldn't really be needed, but even normal usage (no syslog
  messages) even left the screen messy sometimes.
* Change some messages around that were apparently swapped by accident and
  thus caused confusion.
2000-10-11 23:47:55 +00:00
fvdl
3fd1dc7ed3 Create the disktab file directly, no need to waste precious inodes/space
in ramdisks with disktab.preinstall.
2000-10-11 22:58:17 +00:00
fvdl
38dbc727ef Don't abort when trying to remove a directory marked as obsolete that does
not exist.
2000-10-11 11:10:46 +00:00
fvdl
16d465114d Add target_realpath(), a function that expands a pathname on the
"target" filesystem, i.e. a filesystem that will probably be
mounted on /mnt during install/upgrade, but will be / when
the system is booted. Needed to deal with absolute symbolic links.
This function is (unfortunately) a verbatim copy of realpath() from libc,
with prefix handling added.
2000-10-11 11:10:11 +00:00
fvdl
57ffac419f Add message for a.out library move failure case. 2000-10-11 11:06:47 +00:00
fvdl
d8be7da3a1 Externalize concat_paths, it is used by arch/i386/md.c now. Add
target_realpath prototype.
2000-10-11 11:06:03 +00:00
fvdl
beea1cfd99 Add 2 defines for a.out library move code. 2000-10-11 11:05:03 +00:00
fvdl
90d488a637 Fix compare logic error in check for installation of seperate kernel
sets.

Add code to deal with moving a.out libraries to /emul/aout for
upgrading.
2000-10-11 11:04:43 +00:00
fvdl
f7cac0d34b Add empty stubs for md_init(). 2000-10-02 12:05:10 +00:00
fvdl
e615284d83 * In md_init, determine what kind of bootfloppy we are (either
by checking uname, or the BOOTMODEL environment var), and set
  the kernel setname accordingly for some bootmodels (tiny and laptop),
  to install GENERIC_TINY and GENERIC_LAPTOP respectively. There's
  no sense in installing plain GENERIC, especially on "tiny" systems;
  it may not even make it far enough to add swapspace on 4M machines.
* Make sure to always install bootcode into the MBR (unless the user
  explicitly tells us not to). Should fix PR#8887, PR#9093, PR#9999
2000-10-02 09:36:24 +00:00
fvdl
4ee4b50498 Add a definition for md_init(), an MD function to initialize whatever
needs to be initialized before sysinst starts processing menus.
Call it from main().
2000-10-02 09:26:26 +00:00
thorpej
0ae6087eae Add xmisc set. THIS METHOD OF HANDLING SETS MUST DIE!!! 2000-10-01 22:57:15 +00:00
simonb
db6547104d Bump default root partition size to 64MB due to growth and number of
static binaries in /bin and /sbin.
2000-09-28 12:39:16 +00:00
fvdl
f84d9da649 Remove outdated comment. 2000-09-27 20:02:16 +00:00
fvdl
09aafa8795 Move md_enable_swap to disks.c, rename it set_swap, and handle both
enabling and disabling swap. Enabling swap is currently only
done by the i386 port on systems with <= 8M of physical memory.

If a user re-enters the install procedure through the main menu,
and the target disk has an active swap partition, try to disable it,
warning the user that this might lead to 'out of swap' problems,
making a restart necessary. This should not happen very often.

Partly based on comments by Simon Burge.
2000-09-27 12:42:04 +00:00
fvdl
6bf2c525a2 On the i386, enable swapspace as soon as the disklabel has been written,
to play nice with low-memory systems.

Add a md_pre_update() hook, to do MD things before an upgrade operation.
On the i386, use it to enable swap.
2000-09-26 23:12:44 +00:00
fvdl
40cd491caa Don't call test(1) to determine the existence/type of files, that's
rather over the top. Not doing this also means that test(1) can
be omitted from the ramdisks (for scripts it's not needed, because it
is built in to sh(1)).
2000-09-26 13:26:02 +00:00
bouyer
acb9f8aefa Make change similar to msg.mi.en 1.69. From Hubert Feyrer. 2000-09-21 17:12:40 +00:00
hubertf
d2c5531d61 Remove some stale debug code, OK'd by itojun 2000-09-20 21:28:51 +00:00
hubertf
10384ae3ba Doesn't it make you nervous to see a "lastchance" warning, telling you
that "your hard disk" is about to get nuked, and you are no longer sure
which of your ten disks you told sysinst to wipe?

Change this to tell you:
``Ok, we are now ready to install NetBSD on your hard disk (wd0). Nothing ...''
2000-09-20 21:21:14 +00:00
hubertf
5fffd5f0c2 * Fix changing of /etc/rc.conf after the main file moved recently.
'rc_configured' is still changed via sed's s///, wscons=yes is appended
   via "echo >>".
 * make target-routines (target_expand(), and whatnot) work if no root
   disk was selected. With this, sysinst can now be used on a "normal"
   system to adjust the system's timezone. Use the entry in the "Utilities"
   menu for that.

Both changes were tested by a full i386 installation.
2000-09-20 19:53:35 +00:00
hubertf
b438f1b65b Improve wording for timezone selection menu a bit. 2000-09-20 19:46:33 +00:00
hubertf
5f9422b41a Tell people that the default values for /etc/rc.conf are in
/etc/default/rc.conf. (People moving files should care for this...)
2000-09-20 19:42:04 +00:00
minoura
bf7d1f145b - Correct options for installboot.
- sed is not in the ramdisk, since it is too large.
2000-09-16 13:12:09 +00:00
abs
235368355b MSG_fspart only takes onn argument - multname
Noted by Charles Carvalho <carvalho@employees.org>
2000-09-11 21:29:52 +00:00
hubertf
caaae66450 Move aside X link before /etc, and move the X link back if moving /etc fails.
Else if moving X fails, the system will end with no /etc.
2000-09-09 00:21:36 +00:00
hubertf
71be3a3b99 When upgrading and /usr/X11R6/bin/X is a symlink, move it aside (X.old)
before extracting sets, and move it back afterwards, to save the information
which X server to use.

Adresses PR 10935 by Dan McMahill <dmcmahill@netbsd.org>
2000-09-08 02:50:42 +00:00
hubertf
a042bcfea0 set_timezone:
* If etc/localtime can't be readlink(3)'d, assume the default time zone is
   UTC
 * if errors occur (malloc, fts_open, fts_read, menu generation fails),
   skip timezone setting instead of terminating sysinst.
2000-08-31 01:10:43 +00:00
mrg
03a1aeebd0 first cut sysinst for sparc64. seems to work OK. 2000-08-19 13:22:40 +00:00
hubertf
caa284ac57 * Add timezone-setting menu to sysinst, offering all timezones from
(/mnt)/usr/share/zoneinfo in a listbox, and setting (/mnt)/etc/localtime
   accordingly.
 * Adjust for the needed menuc change un run.c's log_flip() and script_flip()
   functions.

Related PRs:
 5777   sysinst does not offer to tweak /etc/localtime
 8099   changing the default time zone is non-obvious
 9910   sysinst doesn't ask about setting timezone
2000-08-15 01:08:00 +00:00
jdolecek
0e25756aee s/LANG/SYSINST&/ - the former one clashes with variable commonly
used to choose locales
2000-08-11 13:05:15 +00:00
hubertf
41894d882b in ftpsource: Add a space after host, directory, etc.'s %s
to prevent menuc(?) from putting all things in one line

(I don't know since when we got this "auto-wrapping" stuff,
and it may be nice for text paragraphs, but it's a PITA for
tables etc.)
2000-08-10 17:06:02 +00:00
hubertf
627cce8f8d Document -f flag
XXX someone please check the french translation ;-)
2000-08-07 15:56:34 +00:00
thorpej
3457a101f5 The `secr' set no longer exists; crypto is now part of the base
distribution.
2000-07-25 18:17:03 +00:00
itojun
738859d74e do not skip IPv6 configuration menu on dhcp configuration.
do not save address/netmask/default router, if we got them from dhcp.
(we shouldn't do that).  if we keep any of dhcp config into /etc, we shoul
update rc.conf to run dhcp again.
2000-07-24 10:52:28 +00:00
itojun
006f0a5618 run IPv6 configuration even if we use dhcp. background:
- on a IPv6/v4 dual stack network, it makes more sense to configure both.
- also, many of IPv4/v6 dual stack network requires us to contacd DNS
  over IPv4 transport.
discussed with cyber@netbsd.org.
2000-07-24 06:05:51 +00:00
jhawk
f893f0e7e2 Use msg_clear() + msg_table_add() instead of msg_display() when showing
the ftpsource message, so that the short lines are not paragraph-filled.
2000-07-06 20:25:26 +00:00
minoura
74704eb9e4 Support INET6. 2000-07-05 16:07:49 +00:00
itojun
2d3b669a75 ping ff02::2 instead of ff02::9. ff02::9 indicates RIPng capable interface,
which does not necessarily visible.  ff02::2 indicates routers.
2000-07-02 15:07:52 +00:00
wiz
dd3a57931e leave curses before rebooting (as seen in menus.mi.fr) 2000-06-29 16:47:09 +00:00
minoura
3c32824e8a Use newdisk(8) instead of built-in version. 2000-06-22 14:22:41 +00:00
cyber
cbefbdefce dhclient support added
only invoked if dhclient is present on install image
2000-06-18 23:50:02 +00:00
hubertf
2c8ac0d812 don't worry about non-existing files when deleting obsolete files
in the upgrade-case. just skip them silently.
2000-06-18 13:40:41 +00:00
hubertf
570a88792c s/cause cause/cause/ 2000-06-17 17:40:32 +00:00
tsutsui
c49a328d6f Turn off xserver and xfonts sets on default. 2000-06-07 13:07:41 +00:00
fvdl
902ae34ae6 When converting from relsecs to chs, if the value exceeds the maxmimum
that can be specified with CHS, truncate it to the maximum values that
the BIOS provided, not 1023*255*63. Some BIOSs get awfully cranky when
you do that.
2000-05-27 18:41:36 +00:00
shin
7b961f3147 fix disk usage. 2000-05-23 12:38:39 +00:00
wiz
c4c0300d19 We don't need to fsck -f filesystems, plain fsck is good enough.
Define DEBUG_SETS to fsck -f by default instead.
2000-05-20 00:45:45 +00:00
matt
594a6a1750 Link sysinst -static too. 2000-05-18 01:10:58 +00:00
hubertf
6ff1541020 Whitespace fix. 2000-05-12 01:00:08 +00:00
hubertf
601fd8e3ee Add some "\n"s (one to make things look better, and one for consistency). 2000-05-11 02:27:25 +00:00
hubertf
d30469d828 Move the configbootsel selection box down some lines so it doesn't
overwrite anything important. (The moving down hides some elements
of the selection box, but we can scroll).

Took some digging to find out that aparently all selection boxes default
to a upper row of 12 and some more digging on how to change it.
2000-05-11 02:26:24 +00:00
hubertf
e20160f1a2 add blank line after bootselectors partition list 2000-05-11 02:24:36 +00:00
hubertf
6458701315 fix typo 2000-05-11 02:23:53 +00:00
hubertf
ec974f2650 Seperate "Shall we continue?" questions optically, to make them more
obvious.
2000-05-09 00:25:27 +00:00
thorpej
d972fb140a Don't access curses internals, use getmaxy() instead. 2000-04-14 21:46:11 +00:00
hubertf
dd8cb52a5d Enable wscons by default, by
* setting wscons=YES in etc/rc.conf
 * setting ttyE* to "on" in etc/ttys
2000-04-10 01:40:51 +00:00
jdolecek
97c7b9f310 Correct typo. Fix sent by Dave Huang in port-mac68k/9788 2000-04-05 16:27:16 +00:00
thorpej
e1e415963d Add an option of the `secr' set (but default it to OFF), and allow the
kernel/base/etc sets to be toggled.
2000-03-28 00:29:53 +00:00
thorpej
06f397e94e Allow for building with an alternate default FTP server and alternate
default FTP directory, based on mk.conf variables SYSINST_FTP_HOST
and SYSINST_FTP_DIR.
2000-03-24 21:56:04 +00:00
ad
d0084dcebe Allow install on /dev/ca??. 2000-03-16 14:55:23 +00:00
fvdl
97965ecea8 Convert ask_sizemult to take an argument, so that MBR using ports can
actually call it with the right sectors per cylinder size during
MBR partitioning.
2000-03-14 22:42:48 +00:00
shin
a992c45b8e increase STDNEEDMB value. 2000-03-14 01:57:59 +00:00
jun
788c0236ac IPv6 option enable. 2000-02-28 05:17:50 +00:00
shin
74857849d3 comment out IPv6 support (not tested). 2000-02-21 13:28:30 +00:00
shin
437bbdf838 fix storage requirement. 2000-02-21 13:23:17 +00:00
is
f031593c55 Initial Amiga support for sysinst by Bernardo Innocenti. 2000-02-20 20:34:57 +00:00
he
5b26c39aa4 Remove local declaration of errno, rely on <errno.h> instead. 2000-01-24 10:40:56 +00:00
shin
391a6bca4e add some '#ifdef's to clarify the difference between i386 and hpcmips. 2000-01-22 02:59:59 +00:00
shin
f81f1e9333 first cut of sysinst for hpcmips.
based on i386 version.
2000-01-21 11:25:58 +00:00
shin
823e065f6f fix format string in message. ('%' -> '%d') 2000-01-21 11:23:01 +00:00
mycroft
4fe7833802 Fix display problems:
* Use endwin() strategically so that the child does not corrupt the display
  when suspending or exiting.
* Handle backspace.
* Only do one refresh per buffer-full.
* Eliminate redundant code.
2000-01-19 09:44:01 +00:00
mycroft
03d845d8cf Fix display glitch when suspending and resuming. 2000-01-19 08:46:26 +00:00
cgd
9a222ad604 remove .cvsignore files; if the tree doesn't clean completely, that's a bug 2000-01-16 08:27:40 +00:00
bouyer
810869b939 Translate recently-added messages. 2000-01-15 15:55:20 +00:00
mycroft
c82f5a6009 In command execution displays, only draw a single line between the status
display and the output window, not a whole box.  This looks better, and it
works much better on terminals.
2000-01-13 18:52:21 +00:00
jeremy
c85fda06d1 Added error checking to log and script file creation functions.
Prevents sysinst from coredumping should the root filesystem be accidentally
mounted read-only.
2000-01-07 02:02:05 +00:00
itojun
524c5db85b fix non-inet6 compilation 2000-01-05 01:50:45 +00:00
itojun
1c5b5f62fc enable IPv6 support in sysinst. integration of work by ichiro@ichiro.org.
- IPv6 autoconfiguration
- IPv6 nameserver
TODO: french messages, dhcp

add -DINET6 into x_ifconfig.
2000-01-04 08:33:51 +00:00
garbled
d2fb9c48f8 Change MENUC= and MSGC= to ?= to aid in cross-compiling sysinst. 1999-12-27 20:31:32 +00:00
tsutsui
a109943094 Initial import of news68k port. 1999-12-09 14:53:00 +00:00
simonb
5c10c3a1c1 Remove the "disklabel -W" when installing the bootblocks now that the
extra bounds check in the rz driver has been removed.
1999-11-28 06:32:21 +00:00
simonb
bf997953d8 Use installboot(8) to install the bootblocks.
XXX: Need "disklabel -W" for now to enable writing to the label area.
1999-11-28 03:38:10 +00:00
simonb
6db05d52c4 Trim down a comment. 1999-11-28 03:37:01 +00:00
minoura
e7fabd95bc Set ptstart to reserve system area. 1999-11-27 14:03:22 +00:00
he
05bfcdfbf4 No longer any point in inserting "lookup files bind"
in resolv.conf; after nsswitch implementation in libc
this will be inored here.
1999-10-29 19:45:20 +00:00
briggs
d5fa4fdb66 Put a leading slash on the device name used in md_pre_disklabel().
The pathname was a relative path.  At this point, we should always be
using the miniroot's /dev tree.  Fixes PR install/8384 from Bob Nestor.
1999-09-12 15:29:38 +00:00
mycroft
6cbab8a473 Add gif' and faith' to the ignored pseudo-devices. 1999-09-05 16:33:03 +00:00
soren
017785443d Synchronize partition types with <sys/disklabel_mbr.h>.
Closes PR install/8301 by Jonathan Cline.
1999-09-04 19:49:23 +00:00
jdc
de76a33270 Support ports which don't have 8 partitions/disk. 1999-08-21 19:19:23 +00:00
abs
c15135486d Add generic make_bsd_partitions() in bsddisklabel.c useable by virtually all
orts. Since port specific information is in appropriate arch/.../md.h
bsddisklabel.c is currently #included by arch/.../md.c.
I'm not totally happy about this, but my concience is somewhat salved by the
overall reduction in breakage.
Initially only pmax, sparc, vax and x68k are using bsddisklabel.c.
While I'm here adjust defs.h for more than eight partitions in a generic
fashion.
1999-08-16 08:29:04 +00:00
abs
1e7a66ebab Handle the 'custom' case in a sane fashion (do not create zero length
partitions under any circumstances, allow no swap, do not *overwrite* /usr
when listing additional partitions, and try to abstract at least most of the
magic numbers to #defines at the top.
Also sync up as much as possible to make this easier in future.
Still need to attack the other arch's md.c files.
1999-08-10 15:54:55 +00:00
simonb
89e2eec2fa During a custom partition layout, don't create an empty /usr partition
that newfs fails on if / and swap take up the entire disk.
1999-08-07 15:56:31 +00:00
simonb
b2651d5700 Nuke md_copy_filesystem() for the pmax - tested on both a ramdisk kernel
install and NFS diskless client install.
1999-08-07 15:45:26 +00:00
fvdl
47d416e15d When converting the end of a partition to CHS, use start + size - 1, not
start + size.
1999-07-30 20:46:10 +00:00
abs
7bcdffa983 If all disk is allocated to root and/or swap do not prompt for a (bogus) /usr.
Fixed PR#7741
If the default swap is smaller than the remaining disk, truncate to the
available space.
Set rc_configured to YES in md_cleanup_install()
1999-07-14 16:47:37 +00:00
abs
191e23342f Create a symlink of netbsd to netbsd.GENERIC in md_post_newfs().
Not ideal, but do not want to change kern.tgz until we replace the miniroot
install.
1999-07-14 16:41:31 +00:00
abs
b148673ade If the first wait4() in launch_subwin() caught the child exiting, the loop
would never exit. This resulted in somewhat suboptimal infinite install times.
1999-07-14 16:30:58 +00:00
minoura
93a7108a18 Fixed md_newdisk().
I commited an old debug version by mistake at the last commit.
1999-07-11 14:12:21 +00:00
fvdl
d25150d087 Don't try to convert the CHS values if not needed. Add extra flag
to write_mbr to for this.
1999-07-10 23:07:15 +00:00
minoura
4b69c08a24 x68k part of sysinst. 1999-07-09 15:29:44 +00:00
cgd
392fa3123d one 'domain' -> 'DNS domain' that slipped through the cracks 1999-07-06 06:10:53 +00:00
cgd
891f175906 beware whitespace at ends of lines in messages: it's actually meaningful!
while here, clean up other whitespace at EOLs in msg files to make grepping
easier.
1999-07-06 06:10:04 +00:00
bouyer
8d82c2165f Translate. 1999-07-05 12:08:09 +00:00