summaryrefslogtreecommitdiffstats
path: root/release/sysinstall/install.c
Commit message (Collapse)AuthorAgeFilesLines
* Now that I know which parts of the installation really need it (sincejkh1997-01-171-17/+22
| | | | | 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).
* Fix mishandling of extraction return status in commit.jkh1997-01-161-0/+2
|
* Keep our serial ports distinct so that first device is not found forjkh1997-01-151-4/+8
| | | | | | all (closes PR#2296). Print better FTP failure diagnostics Do better media failure checking in install.
* Make the bindist-only checks actually work.jkh1997-01-151-20/+21
| | | | | | Add code which theoretically should let you get a disk up from start to finish while running multiuser, using your existing /dev entries.
* Make the FTP installation codepath a lot more defensive. Trapjkh1997-01-151-6/+30
| | | | | | bogus path and FTP I/O errors much earlier, offer retry possibilities at steps along the way so you don't have to resume from the very beginning again on a hard error.
* Fix several problems:jkh1997-01-151-0/+16
| | | | | | | 1. Bus mouse selection didn't show up properly in mouse menu. 2. U&G management screen didn't respect cancel properly. 3. Novice not prompted to add users or set root password during installation. 4. Username length changes screw up user management form.
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | 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.
* Add more protection when running as init and don't do stupid things.jkh1997-01-121-1/+9
| | | | | Fix looping in fixit cdrom selection by adding a missing break. Move unmount of cdrom down to proper place.
* Do a better job of CDROM detection.jkh1997-01-061-11/+14
| | | | | | Use consistent spelling throughout. Remove unmount in fixit_common() since that's bogus in the CDROM case and properly "shut down" the media device instead.
* Support the use of the 2nd CDROM as a fixit aid. Also put the EHSjkh1996-12-291-13/+91
| | | | | | | into a submenu in case you need to start it again (or at some other point in the installation). Submitted-By: joerg
* Fix fixit floppy.jkh1996-12-261-9/+21
|
* 700 now. :)jkh1996-12-121-2/+2
|
* Don't run routed by default.jkh1996-12-021-2/+2
| | | | Virtually-Demanded-At-Gunpoint-By: joerg
* Move configResolv() to *after* the chroot(). This is what was causingjkh1996-12-011-4/+2
| | | | NFS installation to fail the first time. This will go into 2.2.
* Provide a symlink for /bin/sh when the fixit floppy is mounted, sojoerg1996-11-161-1/+4
| | | | | | scripts using #!/bin/sh (like /mnt2/dev/MAKEDEV) will work. Observed by: andreas
* "over 600 packages" (geeze, this has been sitting uncommitted in myjkh1996-11-141-2/+2
| | | | source tree for 5 days! :-( ).
* Only save userconfig changes if the boot floppy version and thejkh1996-11-121-2/+3
| | | | | | installed version match. Pointed-out-by: hosokawa@mt.cs.keio.ac.jp (HOSOKAWA Tatsumi)
* Several improvements to the `fixit' configuration:joerg1996-11-091-6/+9
| | | | | | | | | | | . Don't gzip the crunched binary by now; it just fits, and execution is a lot faster this way (it's truly demand-paged again). . Add more(1), ft(8), protocols(5), a stripped down services(5). . Improve the .profile, and make sysinstall actually use it again. Still no go for a 4 MB configuration though. :-(
* If mounting the fixit floppy fails in the first place, warn the userjoerg1996-11-091-1/+5
| | | | | | | | | | | | | but make a second attempt using MNT_FORCE, just in case it has been unclean from a previous crash. That's dangerous, but far better than keeping the despaired user standing in the rain... (Experienced admins can still fsck it then, and remount. Others will either totally crash, or incidentally succeed, without much further help possible...) Btw., mount(2) misses the description of MNT_FORCE for the mount syscall.
* 1. Eliminate the sendmail.cw bogon again. Peter fixed it correctly.jkh1996-11-081-5/+1
| | | | 2. Preload the ldconfig cache before calling X setup.
* Install an evil work-around for /etc/sendmail.cwjkh1996-11-071-1/+5
| | | | [same as from 2.2]
* Use macros for package names so it's easier to update them in onejkh1996-11-041-3/+3
| | | | | | | place (sysinstall.h) when packages change rev. Change the way that the routing daemon is configured entirely, to placate Joerg. Also auto-load gated if it's specified, while we're at it.
* Remove the now-unusable ports configuration code. Swapping CDs is bogus.jkh1996-10-141-12/+1
|
* Be less draconian about distribution extraction errors - still writejkh1996-10-121-5/+6
| | | | /etc file changes out.
* DTRT if ESC is hit in a Yes/No dialog.jkh1996-10-091-3/+3
| | | | Noticed-by: jfieber
* Detect the zero-chunks case properly, now that I've reversed the orderjkh1996-10-061-1/+3
| | | | | | of the distribution probes over ftp. Properly #ifdef the SAVE_USERCONFIG code.
* Make the save_userconfig() stuff conditional and turned off by defaultjkh1996-10-051-27/+27
| | | | | (for now - still a few more wrinkles here). Add more debugging code and some cosmetic tweaks.
* Multiple changes stacked as one commit since they all depend on one another.jkh1996-10-051-5/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | First, change sysinstall and the Makefile rules to not build the kernel nlist directly into sysinstall now. Instead, spit it out as an ascii file in /stand and parse it from sysinstall later. This solves the chicken-n- egg problem of building sysinstall into the fsimage before BOOTMFS is built and can have its symbols extracted. Now we generate the symbol file in release.8. Second, add Poul-Henning's USERCONFIG_BOOT changes. These have two effects: 1. Userconfig is always entered, rather than only after a -c (don't scream yet, it's not as bad as it sounds). 2. Userconfig reads a message string which can optionally be written just past the boot blocks. This string "preloads" the userconfig input buffer and is parsed as user input. If the first command is not "USERCONFIG", userconfig will treat this as an implied "quit" (which is why you don't need to scream - you never even know you went through userconfig and back out again if you don't specifically ask for it), otherwise it will read and execute the following commands until a "quit" is seen or the end is reached, in which case the normal userconfig command prompt will then be presented. How to create your own startup sequences, using any boot.flp image from the next snap forward (not yet, but soon): % dd of=/dev/rfd0 seek=1 bs=512 count=1 conv=sync <<WAKKA_WAKKA_DOO USERCONFIG irq ed0 10 iomem ed0 0xcc000 disable ed1 quit WAKKA_WAKKA_DOO Third, add an intro screen to UserConfig so that users aren't just thrown into this strange screen if userconfig is auto-launched. The default boot.flp startup sequence is now, in fact, this: USERCONFIG intro visual (Since visual never returns, we don't need a following "quit"). Submitted-By: phk & jkh
* Various cosmetic tweaks.jkh1996-10-041-9/+15
|
* Syncronize my tree so Eric can access the latest code.jkh1996-10-041-6/+9
|
* Temporarily disable userconfig saving until I figure out why uc_open()jkh1996-10-031-1/+3
| | | | | loops internally for BOOTMFS (not being able to run gdb on sysinstall when it's running as init is a real pain!).
* Check return values from uc_open() correctly. Note: This seems to workjkh1996-10-031-3/+3
| | | | | really well when running the GENERIC kernel but not with the BOOTMFS kernel. Further work is needed.
* First cut at a "copy userconfig changes from installation kernel to installedjkh1996-10-031-25/+58
| | | | | | 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
* One small policy tweak to something I like better.jkh1996-10-021-1/+3
|
* Fixes and a place-holder for future work.jkh1996-10-021-6/+13
|
* Round 2.5jkh1996-10-011-1/+5
|
* Saner screen refresh changes, part I.jkh1996-10-011-8/+19
|
* Correct a minor misspelling.jkh1996-09-291-2/+2
| | | | Noticed-by: der
* Try to make screen update more efficient (less flickering) by morejkh1996-08-031-10/+8
| | | | judicious use of dialog_clear_norefresh().
* Don't munge keystrokes.jkh1996-07-311-13/+16
|
* Detect which partitions have already been created with `auto' so as not to ↵jkh1996-07-311-8/+28
| | | | | | | | create them twice. Various cosmetic tweaks.
* 1. Fix the CD installation bogon for Novice install I mentioned.jkh1996-07-161-13/+4
| | | | 2. Add some code for dealing with a ports collection on the second CD now.
* Fix a bogon in the Novice mode CD auto-selection.jkh1996-07-131-4/+6
|
* Fix something I broke with CDROM installation (well, I knew my firstjkh1996-07-121-2/+8
| | | | test CD would turn at least one bug up :-).
* A number of improvements in the way statistics are printed, add a "chroot"jkh1996-07-091-10/+8
| | | | | | | option for installing distributions and/or packages to somewhere other than /, say for a case where you're installing to an external disk on some other machine's behalf. More miscellaneous fixes to various problems I stumbled across while adding this stuff.
* Don't freak out at the lack of root/swap/usr if we're running multiuserjkh1996-07-091-60/+79
| | | | and simply adding another disk.
* Fix even more lurking bogons - why do I never find these until the lastjkh1996-07-081-3/+1
| | | | possible minute? :-)
* Whoops! Now that I'm decompressing docs into /tmp, it's important tojkh1996-07-081-8/+8
| | | | | make sure that /tmp is there first! :-) While I'm at it, clean up the somewhat inexplicably bogus Mkdir() function.
* Support compressed doc files again.jkh1996-07-051-12/+12
| | | | | | | | Add a few strategic screen clears. Do a lot less wasted screen I/O in restoring screen contents that don't need restoring. Use tar instead of cp to back up /etc in installUpdate. Don't panic when upgrade shell exits.
* Fix some minor reported bogons from the BETAjkh1996-07-041-2/+2
|
OpenPOWER on IntegriCloud