summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall
Commit message (Collapse)AuthorAgeFilesLines
* Document sysinstall's limitation on operating on mounted disks.scottl2006-04-301-0/+11
|
* Fix copy-and-pasto in comment.jkim2006-04-141-1/+1
|
* Fix minimal installation check. 'X' was not displayed when it was selected.jkim2006-04-141-1/+1
| | | | | Reported by: Ian J. Hart <ianjhart at ntlworld dot com> Pieter de Goeje <pieter at degoeje dot nl>
* Teach sysinstall about mfi(4).scottl2006-03-291-0/+1
|
* Only set the size of /usr to whatever-is-left is whatever-is-left iscperciva2006-03-241-0/+1
| | | | | | | | greater than the size we autosized. Without this fix, systems with drives under 10GB can end up with very small /usr partitions... Broken since: January 2002 Tripped over by: simon
* - Use jp.pc98 as default keymap for pc98.nyan2006-03-161-1/+5
| | | | - Remove an extra argument.
* If a keymap file is not found for the selected country then default to the morethompsa2006-03-151-2/+5
| | | | | | | common USA ISO rather than index 0 (Belgian). Reviewed by: jhb MFC after: 1 day
* use the same test as release/Makefile to select WITH_SMPsam2006-03-111-2/+3
| | | | Reviewed by: ru
* Disable an SMP detection on pc98.nyan2006-03-102-2/+2
|
* missed a case that needs WITH_SMPsam2006-03-091-0/+2
| | | | Noticed by: kensmith
* Revamp base system packaging of kernels to enable up/smp selectionsam2006-03-089-13/+1041
| | | | | | | | | | | | | | | | | | | | | | | | | | at runtime and to support distributing additional kernels: o remove kernel from the base tarball o add new kernel tarballs o build + package both SMP and GENERIC kernels when an <arch>/conf/SMP config file is present o add sysinstall support for multiple kernels o update sysinstall to probe for the number of cpus on a system and auto-select smp/up kernel accordingly o add a post-kernels install hook to fixup /boot/kernel o add -ldevinfo to boot crunch for sysinstall's cpu probing logic Notes: 1. On HEAD this code is not currently used because GENERIC kernels include SMP. This work is mainly intended for RELENG_6 where the GENERIC kernel is UP. If HEAD changes to match then just enable WITH_SMP in sysinstall/Makefile. 2. The cpu probing support is done with acpi and MPTable; this means some systems will require work for auto-detection to work. 3. The handling of /boot/kernel may need to be revisited; for now we rename one kernel at the last moment (SMP if installed, otherwise GENERIC). There are other, possibly better, approaches. Lots of help from ru, emaste, scottl, and jhb.
* Add new NTP servers for Taiwan.ceri2006-03-011-0/+15
| | | | | | | PR: bin/92160 Submitted by: Jose Liang <jose at jose dot idv pinkt tw> Approved by: jhb MFC After: 2 days
* Wrap keymap menu helper functions in #ifdef WITH_SYSCONS to unbreak thejhb2006-03-011-0/+2
| | | | | | build on archs that don't include syscons support in sysinstall. Reported by: sparc64 tinderbox
* Fix numerous warnings. Aside from menu items in system.c and menu.cjhb2006-02-2817-53/+49
| | | | | | | | this now compiles on i386 with WARNS?= 3. Most of the fixes included adding missing 'static' keywords to internal functions, using fully-defined terminators in statically defined arrays of structs, and various signed vs unsigned mismatches. Also G/C'd unused configSecurity() function.
* Use some helper macros for the device table so it can fit in 80 columns andjhb2006-02-281-77/+89
| | | | | to allow us to use default values in some entries to quiet warnings. This table is actually readable again now.
* Drop unused major, minor, and delta values from device table.jhb2006-02-281-23/+20
|
* G/C some cruft.jhb2006-02-282-37/+2
|
* - Autogenerate a menu containing a list of countries and keymaps supportedjhb2006-02-287-4/+196
| | | | | | | | | | | | | | | by syscons. - If we are running as init, popup the country menu before the main menu. If a non-default country is chosen, then a second menu is brought up to let the user choose a keymap. By default the default keymap for the country that was selected is highlighted. If the user chooses the default country, then the default keymap is just assumed and the user is not presented with the keymap menu. Currently the default country is set to "United States" except for PC98 which assumes "Japan". PR: bin/93853 Submitted by: Seth Kingsley sethk at magnesium dot net MFC after: 3 days
* - Back out 1.155. I mismerged my ancient local patch. Luckily it wasjkim2006-02-231-18/+23
| | | | | | | | completely noop. - Geometry sanitization for non-interactive mode is moved to correct place. Reported by: Anton Yuzhaninov <citrin at citrin dot ru> Pointyhat: me
* s/lp/plip/ for PLIP interfaces.ceri2006-02-132-2/+2
| | | | | Approved by: jhb MFC after: 1 week
* Actually fix the DHCP handling, by using more robust detection of DHCPdelphij2006-02-091-2/+8
| | | | | | | setting. While there, add some more debug messages explaining what is happening, and some comments to improve readability. Submitted by: ceri
* Remove attempts to use mknod.ceri2006-02-072-45/+4
| | | | Approved by: jhb
* Attempt to fix DHCP address acquisition which was broken by rev. 1.133.delphij2006-02-061-3/+6
| | | | MFC After: 3 days
* Another update for reality: "dangerously dedicated" mode is nowceri2006-02-061-25/+23
| | | | | | | achieved by hitting 'F', which is no longer undocumented. PR: bin/92533 Submitted by: Rudolf Cejka <cejkar at fit.vutbr dot cz>
* Correct a user-visible typo.ceri2006-02-051-1/+1
|
* Gratuitous "typo in comment" fix.ceri2006-02-051-1/+1
|
* Bring these files somewhat into the present.ceri2006-02-0512-140/+123
| | | | | | | Perform some rewording while here. Remove register.hlp, since the code that deals with it was removed nearly 7 years ago.
* - Hide 'incorrect geometry warning' in non-interactive mode. A user shouldjkim2006-01-271-11/+18
| | | | | | know what they are doing in non-interactive mode. Less scarier warning goes to debugging info instead. - Print sanitized geometry to debugging info.
* Add `mediaOpen' function. This function mounts selected media device.jkim2006-01-274-0/+22
| | | | | | | | | | | | | | | For example, you can dynamically generate and load configuration file depending on the hardware configuration with the following template: mediaSetCDROM mediaOpen command='/dist/rescue/sh /dist/scripts/install.sh' system mediaClose configFile=/tmp/generated.cfg loadConfig Now we have full access to files on the media before installation begins.
* Add ntp.cgi.cz.ceri2006-01-151-0/+3
| | | | | | | PR: bin/90095 Submitted by: Jakub Chromy <hicks at cgi dott cz> Approved by: jhb (proxy mentor) MFC after: 3 days
* Preserve any additional arguments to ifconfig that were specified in theceri2006-01-151-1/+1
| | | | | | | | DHCP case too. PR: bin/74406 Approved by: jhb (proxy mentor) MFC after: 3 days
* If sysinstall was used to configure an anonymous FTP area, it wasceri2006-01-151-1/+1
| | | | | | | | | | | | | possible for information to be copied from the group file to the group file in the FTP area. This patch based on a patch from Zak Johnson <zakj at nox dot cx>. PR: bin/25851 Submitted by: Ted Mittelstaedt <tedm at toybox punkt placo period com> Approved by: jhb (proxy mentor) MFC after: 3 days MFC to: RELENG_5, RELENG_6 Security: Prevents possible group information leakage
* Correct obsolete chown syntax.ceri2006-01-151-2/+2
| | | | | | | | PR: bin/90057 Submitted by: Charlie M. McDonald <BoredOutkast at yahoo punkt com> Approved by: jhb (mentor by proxy) MFC to: RELENG_5, RELENG_6 MFC After: 3 days
* On i386, 7.0 requires 106MB on /usr. 6.0 requires 101MB.ceri2005-12-301-1/+1
| | | | | | | Bump USR_MIN_SIZE to 128MB, so that an auto-layout install won't fail due to /usr being too small. MFC After: 8 days
* An i386 machine with 32MB of RAM requires a 700MB disk for auto-layout toceri2005-12-291-2/+2
| | | | | | | succeed, whilst an i386 with 256MB of RAM requires more. Up the amount of disk hinted at as a minimum requisite for auto-layout. MFC after: 1 week
* Remove usbd(8) and all references to it. It is no longer necessaryiedowse2005-12-155-58/+1
| | | | | | since devd(8) now provides the same functionality. Submitted by: Anish Mistry
* MACHINE is changed to "pc98" on FreeBSD/pc98.nyan2005-12-081-6/+0
|
* Preserve /etc/sysctl.conf when doing a binary update. This prevents, forphilip2005-12-011-0/+1
| | | | | | | | | instance, the dreaded shared memory problem in PostgreSQL coming back to haunt you after a binary update. PR: 89817 Submitted by: edwin MFC after: 2 days
* -mdoc sweep.ru2005-11-181-1/+1
|
* Sync whitespace change that is found uniquely in RELENG_6, to reduce diffdelphij2005-10-091-1/+1
| | | | against it.
* Switch from OLDCARD to NEWCARD on pc98.nyan2005-09-272-8/+0
|
* Update number and size of Ports Collection.murray2005-08-281-2/+2
| | | | MFC after: 1 day
* - Remove NTP servers which do not resolve in DNS.rodrigc2005-08-241-87/+69
| | | | | | | | | | - Use pool.ntp.org servers where possible, thanks to Chuck Swiger <cswiger at mac dot com> . - Update list of Swedish NTP servers, thanks to Fredrik Lindberg <fli+freebsd-current at shapeshifter dot se> . PR: bin/75479 MFC after: 1 day
* Change the default partition sizing code in order tocperciva2005-08-161-9/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Provide larger /, /var, and /tmp partitions (the last increase was in 2001, and we now have both larger hard drives and more space-hungry software.) 2. If there is enough space available, allocate extra space to /var sufficient to store a crash dump. On systems where harddrivesize > 3 * RAMsize + 10GB, the default sizes will now be as follows: swap RAMsize * 2 / 512 MB /tmp 512 MB /var 1024 MB + RAMsize /usr the rest (8GB or more) On systems where harddrivesize > RAMsize / 8 + 2 GB, the default sizes will be in the following ranges, with space allocated proportionally: swap RAMsize / 8 -- RAMsize * 2 / 256 MB -- 512 MB /tmp 128 MB -- 512 MB /var 128 MB -- 1024 MB /usr 1536 MB -- 8192 MB On systems with even less disk space, the existing behaviour is not changed. Approved by: re (kensmith) MFC after: 1 day (or once people stop arguing about colours of paint)
* The /stand directory now disappears out from under sysinstall whilekensmith2005-08-051-1/+2
| | | | | | | | | it is running during installations. The vsystem() function does get used after this happens (e.g. if you manually configure the network interface and ask it to enable the interface) so it needs to be a little smarter about whether it uses /stand/sh or /bin/sh. MFC after: 3 days
* Recognise GEM ethernet adapter (sparc64/ppc).grehan2005-07-211-0/+1
| | | | | reviewed by: scottl MFC after: 3 days
* Make sure /etc/fstab is written out for Apple-partitioned drivesgrehan2005-07-211-0/+4
| | | | | reviewed by: scottl MFC after: 3 days
* Catch up with menus.c revision 1.399.obrien2005-07-171-29/+0
|
* Adapt sysinstall to the new dhclient. This includes explicitely tellingscottl2005-07-111-3/+9
| | | | | | | | | it about the lease file location and not invoking it with the (non-existant) '-r' option. Releasing leases works vastly different now, so this isn't needed. Submitted by: sam Approved by: re
* Update hardcoded postfix version number to the current postfix versionsimon2005-07-041-1/+1
| | | | | | | | | 2.2.x. PR: i386/82030 Prodded by: matteo MFC after: 1 week Approved by: re (scottl)
OpenPOWER on IntegriCloud