summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/system.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix some long-standing malloc bugs in the package handling code (freeing garbagejkh1996-05-161-4/+16
| | | | | | | | | | | | | in one place, leaking memory in another). Add a facility to invoke subsystems directly by naming them on sysinstall's command-line when running post-install. A replacement for pkg_manage might, for example, be `/stand/sysinstall configPackages' Fix bogon where upgrade shell was entered with tty modes spammed. Fix bug with release name checking in ftp_strat. Turned a bunch of bogus exit()s into proper calls to systemShutdown().
* Micro tweak for getting the Holographic shell message to stay on thejkh1996-05-011-2/+2
| | | | screen longer.
* Fix more display weirdnesses that only show up during a real installation.jkh1996-04-291-2/+4
|
* Add a new -fake argument to make sysinstall not actually change things whilejkh1996-04-281-2/+11
| | | | I'm testing it.
* Fix an ancient index list bug.jkh1996-04-281-2/+9
| | | | | Make FTP re-initializion work. Fix fix fix.
* Move some of functions around in order to make this stuff easierjkh1996-04-281-3/+2
| | | | to work on.
* Fix display refresh bug in displayHelp()jkh1996-04-261-3/+6
| | | | | | | Go back to Normal menus for Media and FTP menus rather than radio menus - the difference in behavior is confusing and sort of detracts from the added (small) advantage of seeing what you last picked.
* Quite a few changes:jkh1996-04-251-1/+2
| | | | | | | | | | 1. Fix the last display bugs (I hope) by use of dialog rebuilds at stategic points. 2. Clean up the distributions menus so that everybody (that's reasonable) has All and Clear options for setting/clearing things en-masse. 3. Various attempts at display optimization. 4. Change the wording of the `Don't use Write!' dialogs to make them more explicitly define when and when not to use the option.
* Bring this into sync.jkh1996-04-231-9/+1
| | | | | | | | | | I still have a _very very annoying_ display bug which occurs when a menu item causes a submenu to be displayed - the screen repaints for the original menu (which is restored upon return from the submenu) are off by about 4 characters. I've tried restoring the screen, the cursor position, you name it - same deal. Grrrr! This commit is my first step in trying to get someone else to help me look into this one since I'm just tearing my hair out at this point!
* 1. Update all the copyrights to delete useless clauses 3 and 4.jkh1996-04-131-9/+5
| | | | | 2. Change more of the menu code over to new system. 3. Streamline label editor.
* Major enhancements to the package adder (next step is to use the new dialogjkh1996-03-211-3/+3
| | | | | | functions to make the menus far less klunky, but one thing at a time). Fix bug that had debug output spewing uselessly on vty2 when running multiuser.
* Lots of fixes:jkh1996-03-181-2/+2
| | | | | | | | | | | | | | | | 1. Revamp package installer to use new dependency lists and also pkg_add's new `read from stdin' mode to prevent a copy of the package from hitting the disk unnecessarily. 2. More fixes for running "not as init" - don't get upset if CDROM already mounted, do the right thing instead. 3. If running as init, assume first-time install and _don't show the (W)rite option in the fdisk screen. 4. Many other little tweaks, some of which will have to wait for fuller testing until I can create a boot floppy (testing certain system-destroying features of sysinstall can be a royal pain). Expect some more commits.
* Miscellaneous cleanup before big round of menu restructuring (to use newjkh1996-03-021-2/+1
| | | | libdialog features).
* Update the -current sources from the 2.1 branch.peter1995-12-071-54/+67
| | | | Approved (in spirit) by: jkh
* This mega-commit brings in Jordan's latest sysinstall version..peter1995-09-181-64/+4
| | | | | | | This looks like it was developed offline, and is being spammed over the top of the existing. "That's fine by me! I dont really care how you do it, just get it in there..." said Jordan in a conversation a short while ago...
* Merge RELENG_2_0_5 into HEADrgrimes1995-06-111-86/+35
|
* Remove trailing whitespace.rgrimes1995-05-301-2/+2
|
* Sync up my work for the night. This should implement ALL possiblejkh1995-05-291-35/+57
| | | | | | installation methods and provide a fairly robust set of menu options. This should also fix a few more bugs on Poul-Henning's latest gripe list.
* Get help files form /stand/help.tgzphk1995-05-291-23/+17
|
* Shrink the boot floppy by removing all extraneous stuff. Also increasejkh1995-05-291-4/+2
| | | | | | number of inodes. Fix various bugs reported by Poul. Implement VTY switching.
* Try again to redirect the console back before rebooting.jkh1995-05-281-3/+5
|
* Put the console back on ttyv0 before rebooting.jkh1995-05-261-2/+7
|
* Ask name of "other" ftp site in correct place.jkh1995-05-261-2/+2
| | | | | Make TIOCCONS redirection for console messages work properly; we no longer open /dev/console for all I/O - we use the VTYs directly.
* Clean up the configuration stuff a bit more - we should now populatejkh1995-05-261-5/+5
| | | | | | /etc with good things(tm). Fire off ppp with all the proper initial options set.
* Totally revamp the TCP/IP dialog; now network selection makes a bit more sense.jkh1995-05-261-4/+3
| | | | | | | | Root floppy (which actually may be able to go completely away at some point soon!) is now loadable from ftp/nfs/dos as well as CDROM and (of course) floppy. Fix more problems on Poul's Gripe List.
* Bring in all my fixes to Poul's gripe list as of last night.jkh1995-05-251-16/+2
|
* Cleanup.jkh1995-05-251-2/+2
|
* Invoke the _right_ shell. Sigh.jkh1995-05-241-2/+2
|
* Whoops - that last feature I committed to put a diagnostic shell injkh1995-05-241-1/+3
| | | | | ttyv3 would work a lot better if I actually exec'd a shell! :-) Reviewed by:
* 1. Spawn a shell on VTY4 and leave it lying around.jkh1995-05-241-1/+13
| | | | | 2. Bring in Gary's prompt stuff in extractGeneric. 3. Add another global for telling when we're running as init.
* 1. Bring in the first cut of Poul's ftp routines. We still don'tjkh1995-05-231-4/+5
| | | | | | | | | | use them yet, but it's close (we're working on the last wrinkles in the CD install for now). 2. Complete the CDROM installation strategy code. 3. Simplify the distribtuion loading code. 4. General error message cleanup. 5. Write the /etc/fstab file now and split those routines into config.c 6. Clean up the menus a little more.
* label.c: wizard mode now returns;phk1995-05-211-2/+1
| | | | | | disks.c: clrtobot() so that deleted stuff disappears. disks.c: offset is signed (for OnTrack diskmanager) system.c: don't setbuf(stdout,0), it's too slow.
* Make newfs options work on rootfs.phk1995-05-211-54/+35
| | | | | | | Add size argument to new_part, so it can come up with a good default for newfs. Fix (possibly) a dialog botch after label.c's wizard mode. Make vsystem even smarter abour crunched binaries (what a speedup!) (You need to recompile crunchgen !)
* Now cpio works for me. (it was Mostly confusion about when the chrootphk1995-05-201-10/+3
| | | | | | happened) Make vsystem crunch aware in an intelligent fashion. make the boot.flp target more specific (and faster).
* #if 0 out PHK's code until we can find a way of making it crunchgengpalmer1995-05-201-3/+6
| | | | dependant so that standalone builds aren't hosed.
* Change vsystem to know that the shell is crunched in.phk1995-05-201-3/+55
| | | | Sanitize a couple of messages.
* Clear the screen on msgNotifys.jkh1995-05-201-2/+2
| | | | | | Don't notify in vsystem() - it obscures the original message. Put some debugging code into cpio_extract() so that I can see why it doesn't work now. :(
* Totally re-work cpio_extract.jkh1995-05-201-2/+3
| | | | | Erase the annoying "Command output is on debugging screen" message when it's time to switch back.
* More assorted verbosity. Also don't log informational messages.jkh1995-05-191-1/+2
|
* 1. Incorporate Nickolay's ammended patches for Russian screenmap supportjkh1995-05-191-3/+21
| | | | | | | | | | | | | as per Andrey's letter. Make a few modifications for correctness. 2. Add Language menu back to first menu - it was too buried in the Options menu. 3. Add size information to all distributions. 4. Add a compat20 distribution (we need to make one of these!! Any takers? Please?) Submitted by: Nickolay N. Dudorov <nnd@gw.itfs.nsk.su> & jkh
* Whoops! Put the helpful message telling you to look at the secondjkh1995-05-191-2/+2
| | | | screen on the first screen, and not the second.. :-)
* Poul says that setting fonts on monocrome displays is uselessjkh1995-05-181-2/+2
| | | | | as most mono displays aren't that intelligent anyway. Disable it in this case.
* Clear the screen after changing the font.jkh1995-05-181-1/+3
|
* 1. Use 8x16 fonts.jkh1995-05-181-15/+11
| | | | | | | | 2. Don't use russian screenmap - apparently not necessary with right font. 3. Dequote bogusly quoted font name in english language setting. 4. Use setterm() and hack around an undesirable side-effect (cbreak is unset). 5. be smarter about setting OnVTY, and use it in cases where it makes sense. Submitted by: Nickolay N. Dudorov <nnd@gw.itfs.nsk.su>
* 1. Primitive bad144 support (I believe an additional command is needed, butjkh1995-05-181-1/+7
| | | | | | | | won't know until Poul wakes up again). 2. Make vsystem() put its output on the debugging fd. 3. DTRT with root filesystem placement - now I see how this has to work (thanks, Poul). 4. Many miscellaneous spelling errors fixed and general cleanup.
* Use my own version of system() everywhere - it knows where to find thejkh1995-05-181-2/+23
| | | | shell!
* 1. Set a path to /stand by default.jkh1995-05-171-2/+2
| | | | 2. Don't clear() when I can dialog_clear().
* This will now compile and even scribble helpfully on your disks.jkh1995-05-161-11/+10
| | | | | | | | | It remains to be seen how successfully. The distribution loading code is still not here yet, but the partition/newfs/mount/cpio-extract cycle is as complete as it's ever going to get, modulo possible bug fixes. The TCP/IP setup screen is also sort of here, albeit in a highly-changing state due to the fact that per-interface information isn't being kept right now but is being added (thanks, Gary!).
* 1. Don't check CHUNK_BSD_COMPAT for now; it always returns "no" and isjkh1995-05-111-1/+2
| | | | | | getting in the way of testing right now. 2. Call system() on commands, not vsystem(). No need for vsystem() here. 3. Add a path for the shell.
* Don't use curses routines until that part of the system is initialized.jkh1995-05-101-4/+6
|
OpenPOWER on IntegriCloud