History log of /freebsd-9.3-release/usr.sbin/pc-sysinstall/backend/
Revision Date Author Comments
267654 20-Jun-2014 gjb

Copy stable/9 to releng/9.3 as part of the 9.3-RELEASE cycle.

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


240315 10-Sep-2012 jpaetzel

MFC r240165:

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


236458 02-Jun-2012 jpaetzel

MFC 236331

Fix detecting available zpool names.

Submitted by: kmoore
Obtained from: PC-BSD
Sponsored by: iXsystems


236457 02-Jun-2012 jpaetzel

MFC 236330:

Fix French Canadian console keyboard layout

Submitted by: kmoore
Obtained from: PC-BSD
Sponsored by: iXsystems


235552 17-May-2012 jpaetzel

MFC 235453:

Style fixes.

Submitted by: kmoore
Obtained from: PC-BSD
Sponsored by: iXsystems


235551 17-May-2012 jpaetzel

MFC: 235452

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

Submitted by: kmoore
Obtained from: PC-BSD
Sponsored by: iXsystems


235448 14-May-2012 jpaetzel

MFC: 235008

Add bootcamp bootloader stamp.

Submitted by: kmoore
Obtained from: PC-BSD
Sponsored by: iXsystems


235447 14-May-2012 jpaetzel

MFC: 235006

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
Sponsored by: iXsystems


235446 14-May-2012 jpaetzel

MFC: 235005

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
Sponsored by: iXsystems


235445 14-May-2012 jpaetzel

MFC 234990:

Fix some issues creaing 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
Sponsored by: iXsystems


235444 14-May-2012 jpaetzel

MFC 234987:

Add the ability to configure multiple interfaces

Submitted by: glarkin
Obtained from: PC-BSD


235443 14-May-2012 jpaetzel

MFC: 234985

Fix parsing values which contain multiple "=" signs.

Submitted by: glarkin
Sponsored by: iXsystems


233226 19-Mar-2012 jpaetzel

MFC: 232901

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

Submitted by: kmoore
Obtained from: PC-BSD


233225 19-Mar-2012 eadler

MFC 232510:
Permit the use of raidz3 in pc-sysinstall

PR: conf/164709
Approved by: cperciva (implicit)


233224 19-Mar-2012 jpaetzel

MFC: 232899

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: kmoore
Obtained from: PC-BSD


233223 19-Mar-2012 jpaetzel

MFC: 232898

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: kmoore
Obtained from: PC-BSD


233221 19-Mar-2012 jpaetzel

MFC: 232890

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

Submitted by: kmoore
Obtained from: PC-BSD


233220 19-Mar-2012 jpaetzel

MFC: 232889

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

Submitted by: kmoore
Obtained from: PC-BSD


233219 19-Mar-2012 jpaetzel

MFC: 232880

Fix a bug running the autoinstall functionality.

Submitted by: kmoore
Obtained from: PC-BSD


232415 02-Mar-2012 jpaetzel

MFC r227368

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.


227219 06-Nov-2011 jpaetzel

MFC 227118:

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: re
Obtained from: kris@pcbsd.org


225736 23-Sep-2011 kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by: re (implicit)


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


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)


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)


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)


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


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


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)


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


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


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


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


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


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


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