aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/sysinstall
Commit message (Collapse)AuthorAgeFilesLines
...
* Unbreak the build on less common architectures.Ed Schouten2010-06-131-1/+6
| | | | | | | Submitted by: Andreas Tobler <andreast list fgznet ch> Notes: svn path=/head/; revision=209123
* Clean up code by removing pre-C99 struct hack preprocessor magic.Colin Percival2010-06-111-6/+0
| | | | | | | Approved by: randi (maintainer) Notes: svn path=/head/; revision=209072
* Make sysinstall WARNS=2 clean.Randi Harper2010-06-116-8/+6
| | | | | | | | Approved by: cperciva (mentor) MFC after: 1 month Notes: svn path=/head/; revision=209069
* Fix uninitialized variables that cause a crash when the network isRandi Harper2010-06-101-0/+3
| | | | | | | | | | | initialized and sysinstall is not running as init. Submitted by: Nick Mills Approved by: cperciva (mentor) MFC after: 3 days Notes: svn path=/head/; revision=209004
* Flush all routes before adding the default route in order to allowRandi Harper2010-05-221-2/+12
| | | | | | | | | | | | sysinstall to cleanly re-initialize the network. PR: bin/145553 Submitted by: gcooper Approved by: cperciva (mentor) MFC after: 3 days Notes: svn path=/head/; revision=208407
* Make the "Q = Finish" text visible when running sysinstall as a normalRebecca Cran2010-04-212-12/+11
| | | | | | | | | | | application. Reword the boot manager screen to try and avoid confusion. Reviewed by: randi Approved by: rrs (mentor) MFC after: 1 week Notes: svn path=/head/; revision=207005
* Fix bug introduced in r198317: Don't leak a file descriptor after scanning ↵Randi Harper2010-04-211-0/+2
| | | | | | | | | | for network devices. Approved by: cperciva (mentor) MFC after: 1 week (original commit + bugfix) Notes: svn path=/head/; revision=206995
* Add sge(4) to the list of supported network interface.Pyun YongHyeon2010-04-141-0/+1
| | | | Notes: svn path=/head/; revision=206628
* Add an entry for the old Beastie logo saver and re-sort.Jung-uk Kim2010-04-071-11/+13
| | | | Notes: svn path=/head/; revision=206368
* o Trim leading w/space.Maxim Konovalov2010-03-261-1/+1
| | | | | | | | | PR: docs/145030 Submitted by: olgeni MFC after: 1 week Notes: svn path=/head/; revision=205671
* Add bwn(4) driver.Weongyo Jeong2010-02-251-0/+1
| | | | Notes: svn path=/head/; revision=204328
* Xorg isn't treated as a distribution, so /usr/X11R6/lib shouldn't be ↵Rebecca Cran2010-02-081-1/+1
| | | | | | | | | | | configured when running ldconfig. PR: bin/138945 Approved by: rrs (mentor) MFC after: 3 days Notes: svn path=/head/; revision=203690
* Don't pop up the menu to select a documentation language for non-interactiveJohn Baldwin2010-01-261-0/+4
| | | | | | | | | installs. Default to not installing any documentation in that case. MFC after: 1 week Notes: svn path=/head/; revision=203032
* Use UFS2 as default filesystem. Now pc98's boot2 works for UFS2.Yoshihiro Takahashi2010-01-021-4/+0
| | | | | | | MFC after: 2 week. Notes: svn path=/head/; revision=201392
* The last big commit: let usr.sbin/ use WARNS=6 by default.Ed Schouten2010-01-021-0/+2
| | | | Notes: svn path=/head/; revision=201390
* Remove unused variables.Ed Schouten2010-01-021-1/+1
| | | | Notes: svn path=/head/; revision=201389
* Don't let sysinstall depend on <utmp.h>.Ed Schouten2009-12-091-4/+3
| | | | | | | | Looking at the other entries, I suspect we must also reserve one terminating byte, so I'm using UNAME_FIELD_LEN - 1, not UNAME_FIELD_LEN. Notes: svn path=/head/; revision=200302
* Convert syscons on i386 to TERM=xterm.Ed Schouten2009-11-131-9/+2
| | | | | | | | TEKEN_XTERM is now gone. Because we always use xterm mode now, we only need a TEKEN_CONS25 switch to go back to cons25. Notes: svn path=/head/; revision=199250
* Switch the default terminal emulation style to xterm for most platforms.Ed Schouten2009-11-131-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Right now syscons(4) uses a cons25-style terminal emulator. The disadvantages of that are: - Little compatibility with embedded devices with serial interfaces. - Bad bandwidth efficiency, mainly because of the lack of scrolling regions. - A very hard transition path to support for modern character sets like UTF-8. Our terminal emulation library, libteken, has been supporting xterm-style terminal emulation for months, so flip the switch and make everyone use an xterm-style console driver. I still have to enable this on i386. Right now pc98 and i386 share the same /etc/ttys file. I'm not going to switch pc98, because it uses its own Kanji-capable cons25 emulator. IMPORTANT: What to do if things go wrong (i.e. graphical artifacts): - Run the application inside script(1), try to reduce the problem and send me the log file. - In the mean time, you can run `vidcontrol -T cons25' and `export TERM=cons25' so you can run applications the same way you did before. You can also build your kernel with `options TEKEN_CONS25' to make all virtual terminals use the cons25 emulator by default. Discussed on: current@ Notes: svn path=/head/; revision=199243
* Remove a bunch of code used to detect SMP on ((i386 && !pc98) || amd64) andDag-Erling Smørgrav2009-11-108-867/+1
| | | | | | | | | | | | | | | | | | offer to install an SMP kernel. The way this worked was: on supported platforms, code to read ACPI tables and BIOS MP tables was compiled into sysinstall, and if an SMP kernel config was present in the source tree when sysinstall was built, code that called it was also compiled. Since we haven't had SMP kernel configs in years, the latter was never compiled and the former never ran. This only removes dead and unreachable code; it does *not* remove the NCpus variable, nor the code that sets it to 1, nor the code that asks the user to select a kernel from a list. Discussed with: re@, randi@ and others Notes: svn path=/head/; revision=199133
* Don't leak a file descriptor when ejecting a CDROM.Colin Percival2009-10-261-0/+1
| | | | | | | | Submitted by: Ronald Klop, trhodes Note to self: don't do commits while half-asleep Notes: svn path=/head/; revision=198503
* Eject CDROM after installation if used as source media.Colin Percival2009-10-261-0/+22
| | | | | | | | Submitted by: randi MFC after: 1 month Notes: svn path=/head/; revision=198477
* Introduce 'netDev=ANY' support for scripted (install.cfg) installs, which ↵Rink Springer2009-10-211-10/+73
| | | | | | | | | | | results in the first ethernet interface with physical link being selected. While here, fix a minor typo causing an 'if' to be missed. Submitted by: randi Notes: svn path=/head/; revision=198317
* Spell Israel correctly.Ed Schouten2009-09-181-1/+1
| | | | | | | | Submitted by: Alexey Savartsov <asavartsov gmail com> PR: bin/138580 Notes: svn path=/head/; revision=197308
* Prevent sysinstall from needlessly waiting for confirmation when using an USBRink Springer2009-08-161-1/+2
| | | | | | | | | | | | | | | | device in non-interactive mode. If there are no USB devices, sysinstall gives an error messages, and if there is >1, it'll ask which one is to be used. This change allows a non-interactive install from USB media to succeed without any user interaction if there is exactly one USB disk device in the system it can use. Submitted by: Daniel O'Connor < doconnorat gsoft dot com dot au > Reviewed by: randi Approved by: re (rwatson) Notes: svn path=/head/; revision=196272
* Make sysinstall recognize /dev/ada* disk devices. The description stringColin Percival2009-08-141-0/+1
| | | | | | | | | | | | "SATA disk device" reflects the current state of /dev/ada*; this may be changed in the future if other drive types start appearing as /dev/ada*. Submitted by: randi Details about what disks can appear as /dev/ada* supplied by: scottl Approved by: re (rwatson) Notes: svn path=/head/; revision=196213
* Fix references to the kernel distributions to use the correct namesJohn Baldwin2009-08-122-3/+3
| | | | | | | | | | | | (uppercase). PR: docs/137415 Submitted by: Yuri Gorchakov Approved by: re (rwatson, kib) MFC after: 3 days Notes: svn path=/head/; revision=196147
* Change the name displayed in sysinstall(8) from 'Wizard Mode'Edward Tomasz Napierala2009-07-253-4/+4
| | | | | | | | | | to 'Expert Mode', to make it less confusing to new users, to whom a 'wizard' is a set of simple dialogs with the 'next >>>' button. Approved by: re (kensmith) Notes: svn path=/head/; revision=195863
* It is believed the last of the base system that could have an issue withKen Smith2009-07-221-10/+10
| | | | | | | | | | IDs larger than 16-bits has been updated so adjust sysinstall to allow IDs up to the current system-wide size of 32-bits. Approved by: re (kib) Notes: svn path=/head/; revision=195828
* Remove the "dedicated disk mode" partitioning option from sysinstall, inColin Percival2009-07-221-16/+2
| | | | | | | | | | | | | both the disk partitioning screen (the 'F' key) and via install.cfg (the VAR_DEDICATED_DISK option). This functionality is currently broken in 8.x due to libdisk and geom generating different partition names; this commit merely acts to help steer users away from the breakage. Submitted by: randi Approved by: re (kensmith) Notes: svn path=/head/; revision=195817
* Correct the name of the Mongolian Documentation package.Ken Smith2009-07-161-1/+1
| | | | | | | Approved by: re (kib) Notes: svn path=/head/; revision=195725
* Add support for using a livefs from a USB disk.Colin Percival2009-07-084-3/+33
| | | | | | | | Submitted by: randi Approved by: re (kensmith) Notes: svn path=/head/; revision=195442
* Refactor code from installFixitCDROM into a new function, fixit_livefs_common.Colin Percival2009-07-081-49/+70
| | | | | | | | | | | | | While doing so, improve style and reword some comments. This should not result in any functional changes, but the fixit_livefs_common function will be used by future code. Submitted by: randi Approved by: re (kensmith) Notes: svn path=/head/; revision=195441
* - release/* update to use freebsd-doc-* packages instead of buildingMarc Fonvieille2009-06-285-12/+211
| | | | | | | | | | | | | | | FreeBSD docset during 'make release' this will speed up release builds; - sysinstall(8) has also been updated to use these packages with a new menu allowing people to choose what localized doc to install; - mention in UPDATING that docs from the FreeBSD Documentation project are now installed in /usr/local/share/doc/freebsd instead of /usr/share/doc. Approved by: re (kensmith) Notes: svn path=/head/; revision=195132
* Correct a typo (which you can use to in order -> which you can use in orderXin LI2009-06-251-1/+1
| | | | | | | | | | | to). PR: bin/136040 Submitted by: "Vikentii L. Karabin" <kvl tomsksoft com> MFC after: 1 weeks Notes: svn path=/head/; revision=195012
* Raise the default size of the EFI partition on ia64 from 100MB to 400MB.John Baldwin2009-06-251-1/+1
| | | | | | | | | | | A fresh install of a current 8.0 snapshot uses 156MB with a single kernel and having the filesystem too small prevented the system from booting. Reviewed by: marcel MFC after: 1 week Notes: svn path=/head/; revision=194953
* Make sysinstall search for /dev/daXa and register such devices as USB disks.Colin Percival2009-06-248-2/+180
| | | | | | | | | | | | This covers the common case of unsliced USB drives, and makes it possible to select them as installation source media. PR: 61152, 115197, 135016 Submitted by: randi MFC after: 1 month Notes: svn path=/head/; revision=194931
* Add detection of UFS filesystems.Colin Percival2009-06-242-4/+61
| | | | | | | | | | PR: bin/135565 Submitted by: Daniel O'Connor Reviewed by: randi MFC after: 1 month Notes: svn path=/head/; revision=194807
* Add cas(4).Marius Strobl2009-06-151-0/+1
| | | | | | | | Approved by: re (kib) MFC after: 2 weeks Notes: svn path=/head/; revision=194249
* Fix typo.Pyun YongHyeon2009-06-101-1/+1
| | | | Notes: svn path=/head/; revision=193883
* Add alc(4) to the list of supported network interface.Pyun YongHyeon2009-06-101-0/+1
| | | | Notes: svn path=/head/; revision=193881
* Allow a comma-separated list of network interfaces to be specified via theColin Percival2009-05-151-9/+16
| | | | | | | | | | netDev option in install.cfg. Submitted by: randi MFC after: 1 week Notes: svn path=/head/; revision=192130
* Add bm(4) to the built-in ethernet devices list.Nathan Whitehorn2009-04-221-0/+1
| | | | Notes: svn path=/head/; revision=191392
* Add docs category.Marc Fonvieille2009-04-191-0/+1
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=191265
* Add an entry for the French macbook keyboard layout.Ollivier Robert2009-04-171-0/+1
| | | | Notes: svn path=/head/; revision=191200
* Add uath(4) to the list of supported network interface.Weongyo Jeong2009-04-071-0/+1
| | | | Notes: svn path=/head/; revision=190790
* Clear confirm password field first when adding new user.Ganbold Tsagaankhuu2009-03-181-0/+1
| | | | | | | | | PR: i386/132580 Reported by: ilgiz <ilgiz at reid.ru> Approved by: kensmith Notes: svn path=/head/; revision=189955
* Add menus to read install.cfg from any disk device sysinstall can seeGreg Lehey2009-03-136-22/+241
| | | | | | | | | | | | | (eg USB key, CD) rather than just floppy. Handle \r\n line termination in a cfg file. Add keeprcconf variable. Submitted by: Daniel O'Connor Notes: svn path=/head/; revision=189754
* Remove vestiges of OLDCARD PC Card support. We haven't needed/usedWarner Losh2009-02-157-324/+0
| | | | | | | this since 5.x. Notes: svn path=/head/; revision=188631
* Add urtw(4) to the list of supported network interface.Weongyo Jeong2009-01-231-0/+1
| | | | Notes: svn path=/head/; revision=187615