History log of /freebsd-10.1-release/usr.sbin/pc-sysinstall/
Revision Date Author Comments
272461 03-Oct-2014 gjb

Copy stable/10@r272459 to releng/10.1 as part of
the 10.1-RELEASE process.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


249094 04-Apr-2013 mav

Remove some more references to legacy ATA.

Submitted by: Dmitry Luhtionov <dmitryluhtionov@gmail.com>


247735 03-Mar-2013 jpaetzel

Use GNOP to force ZFS pools to 4k.

Obtained from: PC-BSD


247734 03-Mar-2013 jpaetzel

Improves and enhances using the "installPackages=" variable.
Adds "pkgExt=" variable to set if pkgs are .tbz or .txz or other.
Auto-detects if packages are PKGNG or old PKG format.
Auto-bootstrap of PKGNG for the new installed environment.
Fixes issues with installing packages from local media, such as DVD/USB.

Switch to using a space-delimiter for installPackages, since a number
of packages use a "," in their version string.

Fix pc-sysinstall to ignore install scripts, and not hang on
user interaction prompts when installing pkgs.

Add pkg2ng command as apart of pkgng bootstrap process.

Obtained from: PC-BSD


247705 03-Mar-2013 jpaetzel

Fix a bug extracting files from dist scheme

Obtained from: PC-BSD


240165 06-Sep-2012 jpaetzel

Add TRIM support, enabled by default.
Fix a bug installing components from a localPath.
Allow autosizing of any partition, not just the last partition.
Adjust how ZFS is laid out to work with Boot Environments.

Submitted by: kmoore
Obtained from: PC-BSD
MFC after: 3 days


236331 30-May-2012 jpaetzel

Fix detecting available zpool names.

Submitted by: kmoore
Obtained from: PC-BSD
MFC after: 3 days
Sponsored by: iXsystems


236330 30-May-2012 jpaetzel

Fix French Canadian console keyboard layout

Submitted by: kmoore
Obtained from: PC-BSD
MFC after: 3 days
Sponsored by: iXsystems


235453 14-May-2012 jpaetzel

Style fixes.

Submitted by: kmoore
Obtained from: PC-BSD
MFC after: 3 days
Sponsored by: iXsystems


235452 14-May-2012 jpaetzel

Set the MBR partition to active when doing a full disk MBR.

Submitted by: kmoore
Obtained from: PC-BSD
Sponsored by: iXsystems
MFC after: 3 days


235008 04-May-2012 jpaetzel

Add bootcamp bootloader stamp

Submitted by: kmoore
Obtained from: PC-BSD
MFC after: 3 days
Sponsored by: iXsystems


235006 04-May-2012 jpaetzel

Add powerpc / powerpc64 support to pc-sysinstall. This patch will
autodetect if on powerpc and use the APM gpart GEOM class
automaticaly. At this time support for full disk installation is
the only supported scheme.

Submitted by: kmoore
Obtained from: PC-BSD
MFC after: 3 days
Sponsored by: iXsystems


235005 04-May-2012 jpaetzel

Use a unique zpool name during install, in the case of having another
PC-BSD / FreeBSD zpool on the system for another install.

Submitted by: kmoore
Obtained from: PC-BSD
MFC after: 3 days
Sponsored by: iXsystems


234990 03-May-2012 jpaetzel

Fix some issues creating zpool mirror / raidz1(2)(3) devices.
Fix issues stamping boot on other ZFS drives, now you can boot after removing
mirror drive.

Submitted by: kmoore
Obtained from: PC-BSD
MFC after: 3 days
Sponsored by: iXsystems


234987 03-May-2012 jpaetzel

Add the ability to configure multiple interfaces.

Submitted by: glarkin
Obtained from: PC-BSD
MFC after: 3 days


234985 03-May-2012 jpaetzel

Fix parsing values which contain multiple "=" signs.

Submitted by: glarkin
MFC after: 3 days
Sponsored by: iXsystems


233186 19-Mar-2012 jpaetzel

An intel RAID can have any arbitrary name.


233131 18-Mar-2012 jpaetzel

Redirect camcontrol stderr to /dev/null.


232901 12-Mar-2012 jpaetzel

Use gpart "-a" flag to 4k alignment.

Submitted by: kris
Obtained from: PC-BSD


232899 12-Mar-2012 jpaetzel

Add the ability to use a varity of ZFS dataset options.
While here fix a bug causing zpools with /tmp mount-points to fail

Submitted by: kris
Obtained from: PC-BSD


232898 12-Mar-2012 jpaetzel

Improve ZFS exporting functionality, only export pools which are on a
specific device we happen to be writing to. This fixes an issue when
running pc-sysinstall on a running system which needs ZFS and the main
disk gets exported.

Submitted by: kris
Obtained from: PC-BSD


232895 12-Mar-2012 jpaetzel

Check for intel RAID devices

Submitted by: kris
Obtained from: PC-BSD


232890 12-Mar-2012 jpaetzel

Fix a couple of bugs saving network config.
Don't duplicate wlans_ lines.
Enable ipv6 on wireless devices correctly.

Submitted by: kris
Obtained from: PC-BSD


232889 12-Mar-2012 jpaetzel

Make sure when creating new MBR partition it is set to active by default.

Submitted by: kris
Obtained from: PC-BSD


232880 12-Mar-2012 jpaetzel

Fix a bug running the autoinstall functionality.

Submitted by: kris
Obtained from: PC-BSD


232681 08-Mar-2012 emaste

Work around broken BIOS memory reporting

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>


232510 04-Mar-2012 eadler

Permit the use of raidz3 in pc-sysinstall

PR: conf/164709
Submitted by: Garrett Cooper <yanegomi@gmail.com>
Reviewed by: brd, brooks
Approved by: cperciva
MFC after: 3 days


228990 30-Dec-2011 uqs

Spelling fixes for usr.sbin/


227470 12-Nov-2011 emaste

Report the amount of memory from smbios data if provided.

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


227368 08-Nov-2011 jpaetzel

Welcome the initial patches for OSX bootcamp support!!!
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


227118 05-Nov-2011 jpaetzel

Roll up several patches used by PC-BSD.

- 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


225657 19-Sep-2011 jpaetzel

Fix a logic bug in pc-sysinstall creating partitions.
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)


225467 10-Sep-2011 brueffer

Add ftp4.se.freebsd.org to the IPv4 and IPv6 mirror lists.

PR: 157210, 157211
Submitted by: Niclas Zeising <zeising@lysator.liu.se>
Approved by: re (kib)


222528 31-May-2011 bz

Start teaching pc-sysinstall about IPv6.

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


222365 27-May-2011 kevlo

Whitespace fixes

Reviewed by: jpaetzel


222079 18-May-2011 jpaetzel

Wipeout the end of disks, home to things like gmirror metadata, backup GPT tables,
and other potential evil.

Submitted by: Kris Moore <kris@pcbsd.org>
Approved by: kib (mentor)
Sponsored by: iXsystems


222078 18-May-2011 jpaetzel

Extracting optional components requires mounting devfs

Submitted by: Kris Moore <kris@pcbsd.org>
Approved by: kib (mentor)
Sponsored by: iXsystems


220909 21-Apr-2011 jpaetzel

- Allows using full device name paths, such as /dev/ad0 or /dev/mirror/gm0 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


220162 30-Mar-2011 jpaetzel

Check in two missing files missed in cleanup.
Change expr to $(())
Switch test from "$?" = "0" to $? -eq 0

Approved by: kib (mentor)


220161 30-Mar-2011 jpaetzel

Fix syntax error from previous commit.

Approved by: kib (mentor)


220059 27-Mar-2011 jpaetzel

Fix a syntax error in a little-used function.
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)


220057 27-Mar-2011 jpaetzel

Increase size of boot partition to give breathing room in the future.

Approved by: kib (mentor)


218975 23-Feb-2011 jpaetzel

Alter comment to reflect change in code.
Try atacontrol if camcontrol fails.

Approved by: kib (mentor, implicit)


218960 22-Feb-2011 jpaetzel

Added patch-functions-upgrade which should fix some kernel panics
doing upgrades and uninstalling linux compat ports.

Submitted by: Joerg-Christian Boehme <joerg@chaosdorf.de>
Approved by: kib (mentor, implicit)


218959 22-Feb-2011 jpaetzel

Better method for grabbing disk name, dmesg may produce mangled output.

Approved by: kib (mentor, implicit)


218803 18-Feb-2011 jpaetzel

Remove US as the default layout in backend, let front-ends decide that

Submitted by: kmoore
Approved by: kib (mentor, implicit)


218802 18-Feb-2011 jpaetzel

Sort available keyboard layouts to a more sane default.

PR: bin/154687
Submitted by: kmoore
Approved by: kib (mentor, implicit)


218801 18-Feb-2011 jpaetzel

Improve pc-sysinstall's localization options to include support for GDM & KDM
desktop login managers.

PR: bin/154686
Submitted by: kmoore
Approved by: kib (mentor, implicit)


218800 18-Feb-2011 jpaetzel

Add support to pc-sysinstall's create-part feature, to create non MBR type partitions,
such as GPT and others.

PR: bin/154684
Submitted by: kmoore
Approved by: kib (mentor, implicit)


218776 17-Feb-2011 jpaetzel

Add "Extract Only" functionality to pc-sysinstall. This allows disk setup to
be done manually, pc-sysinstall is pointed to a mount-point for installation.

PR: bin/154685
Submitted by: kmoore
Approved by: kib (mentor)


217234 10-Jan-2011 jpaetzel

Add support for using encrypted password strings when setting
the root / user passwords

PR: bin/152868
Submitted by: kmoore
Approved by: imp


217229 10-Jan-2011 jpaetzel

Patch pc-sysinstall to deal with 4k sector size drives

PR: bin/151967
Submitted by: kmoore
Approved by: imp


217173 08-Jan-2011 jpaetzel

Take passwords out of debug log.
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


217170 08-Jan-2011 jpaetzel

Push some PC-BSD specific fixes upstream.

PR: bin/152894
Submitted by: Kris Moore <kmoore@FreeBSD.org>
Approved by: imp


217164 08-Jan-2011 jpaetzel

More elegant way to detect MBR vs. GPT

Submitted by: nwhitehorn
Approved by: imp


215078 10-Nov-2010 imp

When we switched to the gpart backend, and provided selection between
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


214445 28-Oct-2010 imp

Turns out we need functions.sh in this file for convert_to_megabytes call.


214192 22-Oct-2010 imp

More simplifications

Submitted by: Alex Kozlov


214191 22-Oct-2010 imp

Remove unnecessary variable.

Submitted by: Alex Kozlov


214189 21-Oct-2010 imp

Fix two typos

Submitted by: Benedict Reuschling


214188 21-Oct-2010 imp

More support for IMAGE installations


214187 21-Oct-2010 imp

Minor tweaks in compression support:
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


214143 21-Oct-2010 imp

Left over from prior patch removed.

Submitted by: John Hixon
PR: 151442 (but the patch was backwards there)


214141 21-Oct-2010 imp

This patch will only list components if the directory exists. The
directory exist on PC-BSD but not FreeBSD, so an extra check is made.

Submitted by: John Hixson
PR: 151461


214139 21-Oct-2010 imp

This is an updated patch to the last patch to do this which fixes a
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


214138 21-Oct-2010 imp

This small patch updates the "geli setkey" flags pc-sysinstall uses
when saving a users passphrase, to make it work in HEAD with recent
geli improvements.

Submitted by: Kris Moore
PR: 151002


214060 19-Oct-2010 emaste

Simplify and significantly speed up the timezone listing backend script.

Reviewed by: imp


214059 19-Oct-2010 emaste

Minor cleanup, including sysctl -n instead of sed to remove the sysctl
name.

Reviewed by: imp


213650 09-Oct-2010 imp

Initial patches to install images...

PR: 150921


213649 09-Oct-2010 imp

Fix typo: thanks Kris for pointing this out.


213647 09-Oct-2010 imp

Enable softupdate + journals support.

PR: 150862
Submitted by: Kris Moore


213573 08-Oct-2010 uqs

mdoc: drop redundant .Pp and .LP calls

They have no effect when coming in pairs, or before .Bl/.Bd


213572 08-Oct-2010 uqs

mdoc: fix manlint warnings by unbreaking mdoc syntax


212350 09-Sep-2010 imp

Add file missed in r212337, my bad...


212337 08-Sep-2010 imp

pc-sysinstall(8) patch that allows images to be written to disks

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


211730 24-Aug-2010 imp

Indent things consistently

PR: 149926
Submitted by: John Hixson


211490 19-Aug-2010 imp

This patch to pc-sysinstall allows the setting of a new config
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


211489 19-Aug-2010 imp

Added "-m" option to "disk-list" to list memory disks along with
standard disks.

PR: 149749
Submitted by: John Hixson


211488 19-Aug-2010 imp

Simple patch to add support zpool virtual devices that are not
currently supported.

PR: 149599
Submitted by: John Hixson


211487 19-Aug-2010 imp

Some cleanup, changed some echo's to echo_log, check for PROGDIR so
that different PROGDIR's can be set.

PR: 148806
Submitted by: John Hixson


211486 19-Aug-2010 imp

Updates to pc-sysinstall that allow FTP installation of FreeBSD.

PR: 148661
Submitted by: John Hixson


211485 19-Aug-2010 imp

Various updates to support new pc-sysinstall directive
"installPackages" that will install packages and all package
dependencies.

PR: 148606
Submitted by: John Hixon


211397 16-Aug-2010 joel

Fix typos, spelling, formatting and mdoc mistakes found by Nobuyuki while
translating these manual pages. Minor corrections by me.

Submitted by: Nobuyuki Koganemaru <n-kogane@syd.odn.ne.jp>


210701 31-Jul-2010 imp

Fixes a bug when installing with a ZFS on root (/) and UFS /boot
partition. Don't stamp the zfs boot-loader in this case.

Submitted by: kris moore


210700 31-Jul-2010 imp

Adds the async option for journaled file systems (UFS + journaling)

Submitted by: kris moore (kris at pcbsd org)


210036 13-Jul-2010 imp

Add support for packages.

PR: 148584
Submitted by: John Hixon


209753 07-Jul-2010 imp

Further simplification.


209752 06-Jul-2010 imp

These files should have been added/deleted in r209751


209751 06-Jul-2010 imp

A few patches from Ed Maste by way of Kris Moore

1. Change detect-vmware to detect-emulation
2. improve laptop detection
3. better, network descriptions


209554 27-Jun-2010 imp

Properly inherit variables from src/usr.sbin/Makefile.inc for
subdirectories of pc-sysinstall. Back out explicit setting in
pc-sysinstall/pc-sysinstall/Makefile.


209553 27-Jun-2010 imp

Update pc-sysinstall to output list of FTP mirrors as well as some
installation information. Export architecture to install.

PR: 148184
Submitted by: John Hixson


209552 27-Jun-2010 imp

Spell iXsystems, Inc properly

Submitted by: delphij@


209527 25-Jun-2010 imp

We need to install the shell scripts as executables rather than as
data files in the backend* trees.

Submitted by: John Hixon


209518 24-Jun-2010 imp

Fix a stray PC-BSDism, on FreeBSD, we install these things into /usr/share


209515 24-Jun-2010 imp

Makefile overlooked in r2095137


209514 24-Jun-2010 imp

Remove the license files that svn made me remove at the last second, doh!


209513 24-Jun-2010 imp

Bring in Kris Moore's pc-sysinstall shell script from PC-BSD. This
shell script is the back end logic necessary for an installer. It
contains both query routines to allow a front-end installer to present
reasonable choices to the user and also action routines which allow
the front end installer to put a FreeBSD distribution onto a disk. It
supports installing onto the usual suspects, as well as advanced
features like Mirroring, ZFS, Encryprion and GPT labels.

While this is only the back-end of the installer, it can do unattended
scripted installations. In PC-BSD's world view, all installations are
scripted and all the front-end does is write the script. As such, it
is useful in its own right.

This has been extensively tested over the past several releases of
PC-BSD. However, differences between that environment and FreeBSD
suggest there will be a period of shake-out while those differences
are discovered and corrected.

A text-based front-end is in the works. For the GUI-based front-end,
you can use the PC-BSD distribution.

Kris' BSDcan paper on pc-sysinstall is linked off his talk on the
BSDcan site:
http://www.bsdcan.org/2010/schedule/events/173.en.html

The man page is written by Josh Paetzel, and I wrote the Makefiles for
the FreeBSD integration. Kris wrote the rest.

This represents version r7010 in the PC-BSD repo.
http://svn.pcbsd.org/pcbsd/current/pc-sysinstall

Submitted by: kris@
Sponsored by: iX Systems