Commit Graph

108 Commits

Author SHA1 Message Date
jkh
28cf43f876 Totally change the way variables are accounted for in sysinstall.
Now we know which variables are internal and which need to be
backed to /etc/rc.conf.site.  rc.conf is not touched now.

Also kget kernel change information back properly and set up a loader.rc
file to use it.
1999-02-05 22:15:52 +00:00
jkh
bcc10fc6f1 Adapt sysinstall more fully to the alpha (deal with proper boot signatures,
don't present label editor, etc).

Submitted by:	dfr
1999-01-08 00:14:22 +00:00
jkh
45663f8ca9 Read in /boot contents at runtime. Assumes /boot/boot1 on alpha (which
may not yet be caught up).
1999-01-02 07:23:37 +00:00
jkh
088bb48d59 properly conditionalize for alpha. 1998-10-13 09:49:16 +00:00
jkh
f4b0ba0cab switch to proper boot0 1998-10-13 09:45:59 +00:00
jkh
2451509b71 Don't use boot2 on alpha. 1998-10-07 03:15:08 +00:00
jkh
1edfa9de81 One last alpha seat belt - never ask for an MBR boot manager. 1998-09-30 21:58:36 +00:00
jkh
14a047a8b7 Add another check to prevent user from hanging themselves on alpha. 1998-09-30 21:55:33 +00:00
jkh
f04265d7f2 Always use dedicated disk case on alpha. 1998-09-30 21:48:11 +00:00
gibbs
f471072615 Device name cleanup for CAM. 1998-09-15 10:24:46 +00:00
jkh
15e801f8f4 Fix printf warnings and add a few casts.
PR:		7560
Submitted by:	Stefan Eggers <seggers@semyam.dinoco.de>
1998-09-14 19:14:11 +00:00
jkh
926323fd1d MF22: resync. 1998-03-23 08:36:27 +00:00
jkh
7ac25e58aa MF22: catch up with recent changes. 1998-03-23 05:59:18 +00:00
jkh
04cf7ab799 correct checks for "already written" case. 1998-03-19 15:07:20 +00:00
jkh
65f7de01f0 MF22: correct bogus failure return. 1998-02-13 08:01:01 +00:00
steve
7ee742faac Typo: PAT -> FAT.
PR:		5593
1998-02-01 05:58:42 +00:00
jkh
14dcd3e295 Fix disk counting bug.
Submitted by:	Arjan de Vet <Arjan.deVet@adv.IAEhv.nl>
1997-10-18 21:22:25 +00:00
jkh
8c8de91c06 Separate the siamese twins that were the partition and label editor.
Now you can use one without entering the other and it will DTRT.
These changes just allowed me to do the most straight-forward new disk
installation I've ever managed with sysinstall.
1997-10-12 16:21:21 +00:00
jkh
bff6965ba0 Fix offset bug in partition display that made partitions of type
`linux_swap' hose the output.

Also add a (T)ype command for changing the type of a partition.
1997-09-11 17:12:08 +00:00
joerg
adc301fb9f Add a hint to the FAQ regarding ``DD'' disks. 1997-09-07 14:05:21 +00:00
jkh
7b5b6c96bb People have complained that this is overly chatty, and
"dangerously dedicated" mode doesn't appear to have killed
anyone in recent memory, so I agree.
1997-09-03 10:47:44 +00:00
jkh
4034045142 1. Add a noWarn flag so that scripts can turn warnings off.
2. If hostname not set from script, bring up interactive dialog anyway.
1997-06-18 05:11:37 +00:00
jkh
0b4996eb1a YAMF22 1997-06-12 08:46:51 +00:00
jkh
e36d560237 Resurrect / implement some of the more esoteric scripting features,
such as partitioning a disk or overriding an interactive prompt.
1997-06-05 09:48:03 +00:00
pst
ba33b371b5 Fix null dereference if config variable not set. 1997-05-10 17:11:24 +00:00
pst
3ecba5b23e Add in some more config file support -- add variables to shut up
sysinstall about the dangerously dedicated message, and other
variables to allow pre-configuring the distribution sets.

Still todo: add a variable to define an initial set of packages that
should be loaded.
Reviewed by:	jkh
1997-05-05 05:16:03 +00:00
jkh
ca8a48179d Sync with 2.2 and clean up some tortured english that was added. 1997-04-20 16:46:36 +00:00
joerg
17d5bede30 YAMF22 (rev 1.70.2.10, added blurb to explanations) 1997-03-11 16:27:25 +00:00
peter
34fd560164 Revert $FreeBSD$ to $Id$ 1997-02-22 14:13:04 +00:00
jkh
0fb36a0fa1 This is a patch that makes some of the "partitions" --> "slice" to be
more consistant in our use of the terms for differentiation between PC
partitions and traditional BSD partitions.

Submitted-By: obrien@cs.ucdavis.edu (David O'Brien)
1997-01-24 07:47:17 +00:00
obrien
4c0717bbc3 Change from using chunk_n to slice_type_name().
Reviewed by:	jkh
1997-01-24 02:26:42 +00:00
jkh
59a1d5d7e1 Now that I know which parts of the installation really need it (since
there's no menu display bug to work around now), be far more selective
in my use of DITEM_RECREATE (which is slow and involves much screen I/O).
1997-01-17 08:47:13 +00:00
jkh
d3874d585b Cope with Open_Disk() failure much more gracefully. 1997-01-16 14:42:21 +00:00
jkh
83826012b6 Make the bindist-only checks actually work.
Add code which theoretically should let you get a disk up from
start to finish while running multiuser, using your existing /dev
entries.
1997-01-15 07:06:39 +00:00
jkh
ee7289c9d3 Accept emacs-style editing keys for traversal and ESC as an abort character. 1997-01-15 02:52:00 +00:00
jkh
9c0cd3f9df Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
phk
246209119a Try to impreve DD mode.
Try to make 4Mb floppies work again.
1996-11-27 22:52:34 +00:00
jkh
30a7887087 Make sure current_chunk is 0 each time we enter the editor. 1996-11-07 16:40:10 +00:00
phk
dbf4804590 Remove a bogon from version 1.69. Just because we say "use all disk"
doesn't mean that our geometry can be flushed down the drain.
1996-11-05 19:53:20 +00:00
jkh
2965c4906d DTRT if ESC is hit in a Yes/No dialog.
Noticed-by: jfieber
1996-10-09 09:53:41 +00:00
jkh
47b9da25b8 Correctly re-adjust current slice # when slices are deleted.
Beautify the code a little.
1996-10-06 11:40:31 +00:00
jkh
539695771a Various cosmetic tweaks. 1996-10-04 14:53:52 +00:00
jkh
a199716f90 Syncronize my tree so Eric can access the latest code. 1996-10-04 13:33:49 +00:00
jkh
2df3fb4408 First cut at a "copy userconfig changes from installation kernel to installed
kernel" mechanism.  This is just the foundation - more work follows
and will be committed over the next few hours.
Submitted-by: "Eric L. Hernes" <erich@lodgenet.com> & jkh
1996-10-03 06:01:44 +00:00
jkh
9e5972340b Saner screen refresh changes, part I. 1996-10-01 04:56:34 +00:00
jkh
4416080b40 Remove some gratutious screen saves. 1996-09-22 00:48:55 +00:00
jkh
a150f10760 Try to make screen update more efficient (less flickering) by more
judicious use of dialog_clear_norefresh().
1996-08-03 10:11:56 +00:00
jkh
a876e03162 Make the same fix to the disk partition editor screen. 1996-08-03 05:29:24 +00:00
jkh
f9a2c3997c Clean up the results from getch(). 1996-08-01 11:39:49 +00:00
jkh
66a0dca67a Add a required save/restore 1996-07-31 14:49:20 +00:00