Commit Graph

67 Commits

Author SHA1 Message Date
Colin Percival
11d9aa6707 Step 1 of eliminating the "games" distribution: Move binaries to /usr/bin;
update paths; and include everything in the "base" distribution.

The "games" distribution being optional made sense when there were more
games and we had small disks; but the "games-like" games were moved into
the ports tree a dozen years ago and the remaining "utility-like" games
occupy less than 0.001% of my laptop's small hard drive.  Meanwhile every
new user is confronted by the question "do you want games installed" when
they they try to install FreeBSD.

The next steps will be:

2. Removing punch card (bcd, ppt), phase-of-moon (pom), clock (grdc), and
caesar cipher (caesar, rot13) utilities.  I intend to keep fortune, factor,
morse, number, primes, and random, since there is evidence that those are
still being used.

3. Merging src/games into src/usr.bin.

This change will not be MFCed.

Reviewed by:	jmg
Discussed at:	EuroBSDCon
Approved by:	gjb (release-affecting changes)
2015-02-12 05:35:00 +00:00
Josh Paetzel
4a99f3fcc1 Use GNOP to force ZFS pools to 4k.
Obtained from:	PC-BSD
2013-03-03 23:07:27 +00:00
Josh Paetzel
9090eb778e 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
2013-03-03 23:01:46 +00:00
Josh Paetzel
b771592d97 Fix a bug extracting files from dist scheme
Obtained from:	PC-BSD
2013-03-03 09:47:47 +00:00
Josh Paetzel
c53a166889 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
2012-09-06 14:59:53 +00:00
Josh Paetzel
01c64e45fc Fix detecting available zpool names.
Submitted by:	kmoore
Obtained from:	PC-BSD
MFC after:	3 days
Sponsored by:	iXsystems
2012-05-30 20:49:28 +00:00
Josh Paetzel
64907dc465 Fix French Canadian console keyboard layout
Submitted by:	kmoore
Obtained from:	PC-BSD
MFC after:	3 days
Sponsored by:	iXsystems
2012-05-30 20:44:04 +00:00
Josh Paetzel
ef3a36f9c3 Style fixes.
Submitted by:	kmoore
Obtained from:	PC-BSD
MFC after:	3 days
Sponsored by:	iXsystems
2012-05-14 18:06:51 +00:00
Josh Paetzel
6c4d7c3945 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
2012-05-14 18:03:59 +00:00
Josh Paetzel
1ad0b0d5fd Add bootcamp bootloader stamp
Submitted by:	kmoore
Obtained from:	PC-BSD
MFC after:	3 days
Sponsored by:	iXsystems
2012-05-04 15:39:41 +00:00
Josh Paetzel
9e8bf03252 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
2012-05-04 15:36:51 +00:00
Josh Paetzel
eb2f2e8930 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
2012-05-04 15:31:35 +00:00
Josh Paetzel
7053a07e66 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
2012-05-03 21:53:25 +00:00
Josh Paetzel
35840dd335 Add the ability to configure multiple interfaces.
Submitted by:	glarkin
Obtained from:	PC-BSD
MFC after:	3 days
2012-05-03 21:21:45 +00:00
Josh Paetzel
f7f504c320 Fix parsing values which contain multiple "=" signs.
Submitted by:	glarkin
MFC after:	3 days
Sponsored by:	iXsystems
2012-05-03 21:15:47 +00:00
Josh Paetzel
089e2c44f4 Use gpart "-a" flag to 4k alignment.
Submitted by:	kris
Obtained from:	PC-BSD
2012-03-12 21:41:29 +00:00
Josh Paetzel
17cc933ec0 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
2012-03-12 21:32:43 +00:00
Josh Paetzel
af131fb089 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
2012-03-12 21:28:54 +00:00
Josh Paetzel
de814251a2 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
2012-03-12 20:44:44 +00:00
Josh Paetzel
2bcfa25df8 Make sure when creating new MBR partition it is set to active by default.
Submitted by:	kris
Obtained from:	PC-BSD
2012-03-12 20:41:36 +00:00
Josh Paetzel
610ced0a75 Fix a bug running the autoinstall functionality.
Submitted by:	kris
Obtained from:	PC-BSD
2012-03-12 18:50:37 +00:00
Eitan Adler
d7c784b1a8 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
2012-03-04 17:33:22 +00:00
Ulrich Spörlein
3df5ecac8c Spelling fixes for usr.sbin/ 2011-12-30 10:58:14 +00:00
Josh Paetzel
6376caed8e 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
2011-11-08 23:44:26 +00:00
Josh Paetzel
e4985e44df 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
2011-11-05 19:25:21 +00:00
Josh Paetzel
c49e3f837c 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)
2011-09-19 05:12:53 +00:00
Christian Brueffer
c9c00408c5 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)
2011-09-10 09:40:00 +00:00
Bjoern A. Zeeb
decedfc4f9 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
2011-05-31 15:02:30 +00:00
Kevin Lo
fbb3427a1b Whitespace fixes
Reviewed by:	jpaetzel
2011-05-27 16:17:35 +00:00
Josh Paetzel
098c92cc13 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
2011-05-18 20:38:28 +00:00
Josh Paetzel
278ea85a03 Extracting optional components requires mounting devfs
Submitted by:	Kris Moore <kris@pcbsd.org>
Approved by:	kib (mentor)
Sponsored by:	iXsystems
2011-05-18 20:29:07 +00:00
Josh Paetzel
84d8c09a40 - 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
2011-04-21 06:25:12 +00:00
Josh Paetzel
c33b75754d Fix syntax error from previous commit.
Approved by:	kib (mentor)
2011-03-30 17:33:52 +00:00
Josh Paetzel
6e545fce9a 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)
2011-03-27 16:57:54 +00:00
Josh Paetzel
cb50cf5b04 Increase size of boot partition to give breathing room in the future.
Approved by:	kib (mentor)
2011-03-27 14:20:47 +00:00
Josh Paetzel
6fd359f8f4 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)
2011-02-22 19:37:12 +00:00
Josh Paetzel
441ded2d91 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)
2011-02-18 15:06:35 +00:00
Josh Paetzel
bed7dbd1d3 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)
2011-02-17 16:33:41 +00:00
Josh Paetzel
2afb066d0a Add support for using encrypted password strings when setting
the root / user passwords

PR:	bin/152868
Submitted by:	kmoore
Approved by:	imp
2011-01-10 19:57:18 +00:00
Josh Paetzel
fc78178fcb Patch pc-sysinstall to deal with 4k sector size drives
PR:	bin/151967
Submitted by:	kmoore
Approved by:	imp
2011-01-10 19:11:25 +00:00
Josh Paetzel
2ebed539b0 Push some PC-BSD specific fixes upstream.
PR:	bin/152894
Submitted by:	Kris Moore <kmoore@FreeBSD.org>
Approved by:	imp
2011-01-08 22:42:56 +00:00
Josh Paetzel
5eea74f248 More elegant way to detect MBR vs. GPT
Submitted by:	nwhitehorn
Approved by:	imp
2011-01-08 20:25:00 +00:00
Warner Losh
3015d92bc4 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
2010-11-10 05:32:36 +00:00
Warner Losh
c2176d895d Fix two typos
Submitted by:	Benedict Reuschling
2010-10-21 23:08:42 +00:00
Warner Losh
ce2502c9f8 More support for IMAGE installations 2010-10-21 22:46:10 +00:00
Warner Losh
c9489e0d75 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
2010-10-21 22:33:50 +00:00
Warner Losh
e964661666 Left over from prior patch removed.
Submitted by: John Hixon
PR: 151442 (but the patch was backwards there)
2010-10-21 17:29:18 +00:00
Warner Losh
a919280d8b 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
2010-10-21 17:20:37 +00:00
Warner Losh
c4201e3f33 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
2010-10-21 17:14:44 +00:00
Warner Losh
0f74b3f3ed Initial patches to install images...
PR: 150921
2010-10-09 08:52:09 +00:00