aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/pc-sysinstall
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix a bug running the autoinstall functionality.Josh Paetzel2012-03-121-1/+1
| | | | | | | | Submitted by: kris Obtained from: PC-BSD Notes: svn path=/head/; revision=232880
* Work around broken BIOS memory reportingEd Maste2012-03-081-2/+9
| | | | | | | | | | | Andrzej has a machine with 32GB of RAM, but only 16GB is reported by the smbios.memory.enabled. Thus, use the greater of hw.realmem and the smbios value. Reported by: Andrzej Tobola <ato of iem pw edu pl> Notes: svn path=/head/; revision=232681
* Permit the use of raidz3 in pc-sysinstallEitan Adler2012-03-041-1/+1
| | | | | | | | | | | PR: conf/164709 Submitted by: Garrett Cooper <yanegomi@gmail.com> Reviewed by: brd, brooks Approved by: cperciva MFC after: 3 days Notes: svn path=/head/; revision=232510
* Spelling fixes for usr.sbin/Ulrich Spörlein2011-12-303-5/+5
| | | | Notes: svn path=/head/; revision=228990
* Report the amount of memory from smbios data if provided.Ed Maste2011-11-121-1/+5
| | | | | | | | | | | This should get the correct memory size even if a 32-bit image is running on a machine with > 4GB of memory. This can be useful is using a 32-bit installer on a machine which will eventually run a 64-bit image. Reviewed by: kmoore Notes: svn path=/head/; revision=227470
* Welcome the initial patches for OSX bootcamp support!!!Josh Paetzel2011-11-083-5/+80
| | | | | | | | | | | This should let you select the ada0p3 hybrid MBR/GPT partition, and do an installation to it. Approved by: kib (mentor) Obtained from: kris@pcbsd.org MFC after: 3 days Notes: svn path=/head/; revision=227368
* Roll up several patches used by PC-BSD.Josh Paetzel2011-11-054-4/+13
| | | | | | | | | | | | | - Fix an issue with gmirror. - Allow IPv4 DHCP and IPv6 SLAAC concurrently. - Fix zpool options using the wrong device name. Approved by: kib (mentor) Obtained from: kris@pcbsd.org MFC after: 3 days Notes: svn path=/head/; revision=227118
* Fix a logic bug in pc-sysinstall creating partitions.Josh Paetzel2011-09-1911-36/+60
| | | | | | | | | | | | | | | | Improve exit when an error occurs. Fix parsing to grab values which contain extra '=' signs. Fix a bug setting the timezone properly. Fix a usage bug when setting up with gmirror. Allow a uzip file from local media to be used. Allow specifying flags for "newfs" when using UFS as the file system. Run custom commands after doing final cleanup / fstab generation and such. Also fix using relative path for config file. Approved by: re (bz) Notes: svn path=/head/; revision=225657
* Add ftp4.se.freebsd.org to the IPv4 and IPv6 mirror lists.Christian Brueffer2011-09-101-0/+2
| | | | | | | | | PR: 157210, 157211 Submitted by: Niclas Zeising <zeising@lysator.liu.se> Approved by: re (kib) Notes: svn path=/head/; revision=225467
* Start teaching pc-sysinstall about IPv6.Bjoern A. Zeeb2011-05-313-28/+249
| | | | | | | | | | | | | | | | | | | Add some additional empty string checks for IPv4 and try to configure a netmask along with the address rather than doing things twice. Contrary to AUTO-DHCP, IPv6-SLAAC will accept static configuration as well, which we will use at least for resolv.conf currently and if we were given a static address configure that as an alias as well. The pc-sysinstaller changes going along were committed to PC-BSD as r10773. Reviewed by: kmoore Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems MFC after: 20 days Notes: svn path=/head/; revision=222528
* Whitespace fixesKevin Lo2011-05-271-2/+2
| | | | | | | Reviewed by: jpaetzel Notes: svn path=/head/; revision=222365
* Wipeout the end of disks, home to things like gmirror metadata, backup GPT ↵Josh Paetzel2011-05-181-10/+2
| | | | | | | | | | | | | tables, and other potential evil. Submitted by: Kris Moore <kris@pcbsd.org> Approved by: kib (mentor) Sponsored by: iXsystems Notes: svn path=/head/; revision=222079
* Extracting optional components requires mounting devfsJosh Paetzel2011-05-181-0/+2
| | | | | | | | | Submitted by: Kris Moore <kris@pcbsd.org> Approved by: kib (mentor) Sponsored by: iXsystems Notes: svn path=/head/; revision=222078
* - Allows using full device name paths, such as /dev/ad0 or /dev/mirror/gm0 ↵Josh Paetzel2011-04-218-209/+215
| | | | | | | | | | | | | | | | in config files - Fixes some issues creating gmirror devices, including on GPT partitions - Bugfixes for ZFS mirroring - Enhanced GELI to work with a passphrase only, or key-file only - Bugfix to prevent crashing of PC-BSD Live media when checking for upgrade partitions Submitted by: Kris Moore <kmoore@freebsd.org> Approved by: kib (mentor) Sponsored by: iXsystems Notes: svn path=/head/; revision=220909
* Check in two missing files missed in cleanup.Josh Paetzel2011-03-302-4/+4
| | | | | | | | | | Change expr to $(()) Switch test from "$?" = "0" to $? -eq 0 Approved by: kib (mentor) Notes: svn path=/head/; revision=220162
* Fix syntax error from previous commit.Josh Paetzel2011-03-301-1/+1
| | | | | | | Approved by: kib (mentor) Notes: svn path=/head/; revision=220161
* Fix a syntax error in a little-used function.Josh Paetzel2011-03-2719-308/+283
| | | | | | | | | | | | | Replace expr with $(()) Replace grep > /dev/null with grep -q Replace "$?" = "0" with $? -eq 0 in tests Consolidate export statements with variable assignment Replace tests for ! -z with -n Approved by: kib (mentor) Notes: svn path=/head/; revision=220059
* Increase size of boot partition to give breathing room in the future.Josh Paetzel2011-03-271-1/+1
| | | | | | | Approved by: kib (mentor) Notes: svn path=/head/; revision=220057
* Alter comment to reflect change in code.Josh Paetzel2011-02-231-3/+8
| | | | | | | | | Try atacontrol if camcontrol fails. Approved by: kib (mentor, implicit) Notes: svn path=/head/; revision=218975
* Added patch-functions-upgrade which should fix some kernel panicsJosh Paetzel2011-02-221-2/+2
| | | | | | | | | | doing upgrades and uninstalling linux compat ports. Submitted by: Joerg-Christian Boehme <joerg@chaosdorf.de> Approved by: kib (mentor, implicit) Notes: svn path=/head/; revision=218960
* Better method for grabbing disk name, dmesg may produce mangled output.Josh Paetzel2011-02-221-1/+1
| | | | | | | Approved by: kib (mentor, implicit) Notes: svn path=/head/; revision=218959
* Remove US as the default layout in backend, let front-ends decide thatJosh Paetzel2011-02-181-2/+0
| | | | | | | | Submitted by: kmoore Approved by: kib (mentor, implicit) Notes: svn path=/head/; revision=218803
* Sort available keyboard layouts to a more sane default.Josh Paetzel2011-02-181-3/+16
| | | | | | | | | PR: bin/154687 Submitted by: kmoore Approved by: kib (mentor, implicit) Notes: svn path=/head/; revision=218802
* Improve pc-sysinstall's localization options to include support for GDM & KDMJosh Paetzel2011-02-181-16/+45
| | | | | | | | | | | desktop login managers. PR: bin/154686 Submitted by: kmoore Approved by: kib (mentor, implicit) Notes: svn path=/head/; revision=218801
* Add support to pc-sysinstall's create-part feature, to create non MBR type ↵Josh Paetzel2011-02-182-26/+32
| | | | | | | | | | | | | partitions, such as GPT and others. PR: bin/154684 Submitted by: kmoore Approved by: kib (mentor, implicit) Notes: svn path=/head/; revision=218800
* Add "Extract Only" functionality to pc-sysinstall. This allows disk setup toJosh Paetzel2011-02-174-10/+66
| | | | | | | | | | | be done manually, pc-sysinstall is pointed to a mount-point for installation. PR: bin/154685 Submitted by: kmoore Approved by: kib (mentor) Notes: svn path=/head/; revision=218776
* Add support for using encrypted password strings when settingJosh Paetzel2011-01-103-10/+40
| | | | | | | | | | | the root / user passwords PR: bin/152868 Submitted by: kmoore Approved by: imp Notes: svn path=/head/; revision=217234
* Patch pc-sysinstall to deal with 4k sector size drivesJosh Paetzel2011-01-102-257/+129
| | | | | | | | | PR: bin/151967 Submitted by: kmoore Approved by: imp Notes: svn path=/head/; revision=217229
* Take passwords out of debug log.Josh Paetzel2011-01-081-2/+2
| | | | | | | | | | | Fix path problem that was preventing disk info from being in the log. PR: bin/151968 Submitted by: Kris Moore <kmoore@FreeBSD.org> Approved by: imp Notes: svn path=/head/; revision=217173
* Push some PC-BSD specific fixes upstream.Josh Paetzel2011-01-082-52/+6
| | | | | | | | | PR: bin/152894 Submitted by: Kris Moore <kmoore@FreeBSD.org> Approved by: imp Notes: svn path=/head/; revision=217170
* More elegant way to detect MBR vs. GPTJosh Paetzel2011-01-082-14/+3
| | | | | | | | Submitted by: nwhitehorn Approved by: imp Notes: svn path=/head/; revision=217164
* When we switched to the gpart backend, and provided selection betweenWarner Losh2010-11-101-1/+4
| | | | | | | | | | | MBR & GPT, the MBR full-disk init failed to stamp boot1, and results in a boot not found error. This patch fixes the issue. PR: 151990 Submitted by: Kris Moore Notes: svn path=/head/; revision=215078
* Turns out we need functions.sh in this file for convert_to_megabytes call.Warner Losh2010-10-281-1/+1
| | | | Notes: svn path=/head/; revision=214445
* More simplificationsWarner Losh2010-10-222-23/+7
| | | | | | | Submitted by: Alex Kozlov Notes: svn path=/head/; revision=214192
* Remove unnecessary variable.Warner Losh2010-10-221-2/+0
| | | | | | | Submitted by: Alex Kozlov Notes: svn path=/head/; revision=214191
* Fix two typosWarner Losh2010-10-211-2/+2
| | | | | | | Submitted by: Benedict Reuschling Notes: svn path=/head/; revision=214189
* More support for IMAGE installationsWarner Losh2010-10-211-1/+9
| | | | Notes: svn path=/head/; revision=214188
* Minor tweaks in compression support:Warner Losh2010-10-211-9/+9
| | | | | | | | | | | o We need an eval here to get the right expansion of the command o bs=128k doesn't work in some cases, so eliminate it and cope with the minor performance hit. Submitted by: john hixson Notes: svn path=/head/; revision=214187
* Left over from prior patch removed.Warner Losh2010-10-211-11/+0
| | | | | | | | Submitted by: John Hixon PR: 151442 (but the patch was backwards there) Notes: svn path=/head/; revision=214143
* This patch will only list components if the directory exists. TheWarner Losh2010-10-211-18/+19
| | | | | | | | | | directory exist on PC-BSD but not FreeBSD, so an extra check is made. Submitted by: John Hixson PR: 151461 Notes: svn path=/head/; revision=214141
* This is an updated patch to the last patch to do this which fixes aWarner Losh2010-10-211-60/+44
| | | | | | | | | | | local variable issue. This patch decompresses compressed images to the stdout when writing to a device to avoid running out of space issues. Submitted by: John Hixson Pr: 151049 Notes: svn path=/head/; revision=214139
* This small patch updates the "geli setkey" flags pc-sysinstall usesWarner Losh2010-10-211-1/+1
| | | | | | | | | | | when saving a users passphrase, to make it work in HEAD with recent geli improvements. Submitted by: Kris Moore PR: 151002 Notes: svn path=/head/; revision=214138
* Simplify and significantly speed up the timezone listing backend script.Ed Maste2010-10-191-13/+4
| | | | | | | Reviewed by: imp Notes: svn path=/head/; revision=214060
* Minor cleanup, including sysctl -n instead of sed to remove the sysctlEd Maste2010-10-191-4/+1
| | | | | | | | | name. Reviewed by: imp Notes: svn path=/head/; revision=214059
* Initial patches to install images...Warner Losh2010-10-099-102/+305
| | | | | | | PR: 150921 Notes: svn path=/head/; revision=213650
* Fix typo: thanks Kris for pointing this out.Warner Losh2010-10-091-1/+1
| | | | Notes: svn path=/head/; revision=213649
* Enable softupdate + journals support.Warner Losh2010-10-095-5/+29
| | | | | | | | PR: 150862 Submitted by: Kris Moore Notes: svn path=/head/; revision=213647
* mdoc: drop redundant .Pp and .LP callsUlrich Spörlein2010-10-081-1/+0
| | | | | | | They have no effect when coming in pairs, or before .Bl/.Bd Notes: svn path=/head/; revision=213573
* mdoc: fix manlint warnings by unbreaking mdoc syntaxUlrich Spörlein2010-10-081-1/+2
| | | | Notes: svn path=/head/; revision=213572
* Add file missed in r212337, my bad...Warner Losh2010-09-091-0/+34
| | | | Notes: svn path=/head/; revision=212350