summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pc-sysinstall
Commit message (Collapse)AuthorAgeFilesLines
* Report the amount of memory from smbios data if provided.emaste2011-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
* Welcome the initial patches for OSX bootcamp support!!!jpaetzel2011-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
* Roll up several patches used by PC-BSD.jpaetzel2011-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
* Fix a logic bug in pc-sysinstall creating partitions.jpaetzel2011-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)
* Add ftp4.se.freebsd.org to the IPv4 and IPv6 mirror lists.brueffer2011-09-101-0/+2
| | | | | | PR: 157210, 157211 Submitted by: Niclas Zeising <zeising@lysator.liu.se> Approved by: re (kib)
* Start teaching pc-sysinstall about IPv6.bz2011-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
* Whitespace fixeskevlo2011-05-271-2/+2
| | | | Reviewed by: jpaetzel
* Wipeout the end of disks, home to things like gmirror metadata, backup GPT ↵jpaetzel2011-05-181-10/+2
| | | | | | | | | | tables, and other potential evil. Submitted by: Kris Moore <kris@pcbsd.org> Approved by: kib (mentor) Sponsored by: iXsystems
* Extracting optional components requires mounting devfsjpaetzel2011-05-181-0/+2
| | | | | | Submitted by: Kris Moore <kris@pcbsd.org> Approved by: kib (mentor) Sponsored by: iXsystems
* - Allows using full device name paths, such as /dev/ad0 or /dev/mirror/gm0 ↵jpaetzel2011-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
* Check in two missing files missed in cleanup.jpaetzel2011-03-302-4/+4
| | | | | | | Change expr to $(()) Switch test from "$?" = "0" to $? -eq 0 Approved by: kib (mentor)
* Fix syntax error from previous commit.jpaetzel2011-03-301-1/+1
| | | | Approved by: kib (mentor)
* Fix a syntax error in a little-used function.jpaetzel2011-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)
* Increase size of boot partition to give breathing room in the future.jpaetzel2011-03-271-1/+1
| | | | Approved by: kib (mentor)
* Alter comment to reflect change in code.jpaetzel2011-02-231-3/+8
| | | | | | Try atacontrol if camcontrol fails. Approved by: kib (mentor, implicit)
* Added patch-functions-upgrade which should fix some kernel panicsjpaetzel2011-02-221-2/+2
| | | | | | | doing upgrades and uninstalling linux compat ports. Submitted by: Joerg-Christian Boehme <joerg@chaosdorf.de> Approved by: kib (mentor, implicit)
* Better method for grabbing disk name, dmesg may produce mangled output.jpaetzel2011-02-221-1/+1
| | | | Approved by: kib (mentor, implicit)
* Remove US as the default layout in backend, let front-ends decide thatjpaetzel2011-02-181-2/+0
| | | | | Submitted by: kmoore Approved by: kib (mentor, implicit)
* Sort available keyboard layouts to a more sane default.jpaetzel2011-02-181-3/+16
| | | | | | PR: bin/154687 Submitted by: kmoore Approved by: kib (mentor, implicit)
* Improve pc-sysinstall's localization options to include support for GDM & KDMjpaetzel2011-02-181-16/+45
| | | | | | | | desktop login managers. PR: bin/154686 Submitted by: kmoore Approved by: kib (mentor, implicit)
* Add support to pc-sysinstall's create-part feature, to create non MBR type ↵jpaetzel2011-02-182-26/+32
| | | | | | | | | | partitions, such as GPT and others. PR: bin/154684 Submitted by: kmoore Approved by: kib (mentor, implicit)
* Add "Extract Only" functionality to pc-sysinstall. This allows disk setup tojpaetzel2011-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)
* Add support for using encrypted password strings when settingjpaetzel2011-01-103-10/+40
| | | | | | | | the root / user passwords PR: bin/152868 Submitted by: kmoore Approved by: imp
* Patch pc-sysinstall to deal with 4k sector size drivesjpaetzel2011-01-102-257/+129
| | | | | | PR: bin/151967 Submitted by: kmoore Approved by: imp
* Take passwords out of debug log.jpaetzel2011-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
* Push some PC-BSD specific fixes upstream.jpaetzel2011-01-082-52/+6
| | | | | | PR: bin/152894 Submitted by: Kris Moore <kmoore@FreeBSD.org> Approved by: imp
* More elegant way to detect MBR vs. GPTjpaetzel2011-01-082-14/+3
| | | | | Submitted by: nwhitehorn Approved by: imp
* When we switched to the gpart backend, and provided selection betweenimp2010-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
* Turns out we need functions.sh in this file for convert_to_megabytes call.imp2010-10-281-1/+1
|
* More simplificationsimp2010-10-222-23/+7
| | | | Submitted by: Alex Kozlov
* Remove unnecessary variable.imp2010-10-221-2/+0
| | | | Submitted by: Alex Kozlov
* Fix two typosimp2010-10-211-2/+2
| | | | Submitted by: Benedict Reuschling
* More support for IMAGE installationsimp2010-10-211-1/+9
|
* Minor tweaks in compression support:imp2010-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
* Left over from prior patch removed.imp2010-10-211-11/+0
| | | | | Submitted by: John Hixon PR: 151442 (but the patch was backwards there)
* This patch will only list components if the directory exists. Theimp2010-10-211-18/+19
| | | | | | | directory exist on PC-BSD but not FreeBSD, so an extra check is made. Submitted by: John Hixson PR: 151461
* This is an updated patch to the last patch to do this which fixes aimp2010-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
* This small patch updates the "geli setkey" flags pc-sysinstall usesimp2010-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
* Simplify and significantly speed up the timezone listing backend script.emaste2010-10-191-13/+4
| | | | Reviewed by: imp
* Minor cleanup, including sysctl -n instead of sed to remove the sysctlemaste2010-10-191-4/+1
| | | | | | name. Reviewed by: imp
* Initial patches to install images...imp2010-10-099-102/+305
| | | | PR: 150921
* Fix typo: thanks Kris for pointing this out.imp2010-10-091-1/+1
|
* Enable softupdate + journals support.imp2010-10-095-5/+29
| | | | | PR: 150862 Submitted by: Kris Moore
* mdoc: drop redundant .Pp and .LP callsuqs2010-10-081-1/+0
| | | | They have no effect when coming in pairs, or before .Bl/.Bd
* mdoc: fix manlint warnings by unbreaking mdoc syntaxuqs2010-10-081-1/+2
|
* Add file missed in r212337, my bad...imp2010-09-091-0/+34
|
* pc-sysinstall(8) patch that allows images to be written to disksimp2010-09-0813-239/+523
| | | | | | | | | This patch creates the "image" directive for the pc-sysinstall config file. This allows disks to be configured with an image instead of partitioning. PR: 150137 Submitted by: John Hixson
* Indent things consistentlyimp2010-08-2432-1506/+1620
| | | | | PR: 149926 Submitted by: John Hixson
* This patch to pc-sysinstall allows the setting of a new configimp2010-08-192-7/+97
| | | | | | | | | variable for installation, which lets the user/front-end select between MBR or GPT partitioning schemes when doing a dedicated disk installation. PR: 149772 Submitted by: Kris Moore
* Added "-m" option to "disk-list" to list memory disks along withimp2010-08-193-5/+22
| | | | | | | standard disks. PR: 149749 Submitted by: John Hixson
OpenPOWER on IntegriCloud