Commit Graph

1988 Commits

Author SHA1 Message Date
Rebecca Cran
cd9c24f7c0 Allow users to create ufs1 filesystems via the noninteractive install.cfg
system.

PR:		bin/113979
MFC after:	3 days
2011-02-19 09:33:53 +00:00
Rebecca Cran
be1b07bb25 Remove the quotas option from the Startup Services menu.
GENERIC has no support for quotas so this option has no effect.

PR:		bin/123237
Submitted by:	Lawrence Mayer <lawmay3 at i12.com>
MFC after:	3 days
2011-02-19 09:24:24 +00:00
Rebecca Cran
a44a43f098 In the distribution list, 'A' is listed as the key to press to select both
'All' and 'Minimal'. Update the keys for Minimal and Custom to avoid the
conflict.

PR:	bin/153809
Submitted by:	Janne Snabb <snabb at epipe.com>
MFC after:	3 days
2011-02-19 09:08:13 +00:00
Navdeep Parhar
54e4ee7163 cxgbe(4) - NIC driver for Chelsio T4 (Terminator 4) based 10Gb/1Gb adapters.
MFC after:	3 weeks
2011-02-18 08:00:26 +00:00
Rebecca Cran
c7382949c2 Add missing comma to unbreak the PC98 build. 2011-01-17 00:15:01 +00:00
Rebecca Cran
04321caab6 Reduce the amount of text users need to read on each screen. Also try and
make it more relevant to modern systems: for example users will be
familiar with the MBR but possibly less so with MS-DOS.

After installation has finished don't return to the main menu but exit.
2011-01-17 00:08:28 +00:00
Nathan Whitehorn
4c8945a06b Update dialog to version 20100428. This changes the license under which
dialog is distributed from GPLv2 to LGPLv2 and introduces a number of new
features and a new and better libdialog API. The existing libdialog will
be kept temporarily as libodialog for compatibility purposes until sade,
sysinstall and tzsetup have been either updated or replaced.

__FreeBSD_version is now 900030.

Discussed on:	-current
Approved by:	core
Obtained from:	http://invisible-island.net/dialog
2011-01-12 14:55:02 +00:00
Pyun YongHyeon
5c9606846d Add vte(4) to the list of supported network interface. 2010-12-31 00:24:08 +00:00
Rebecca Cran
3908f1f965 Add an option to disable the screensaver. 2010-12-22 13:06:51 +00:00
Rebecca Cran
7ef1629be1 USB probing often takes a long time and finishes finding devices after init
has started. In the case of sysinstall, this means that it has already built
its list of devices before probing finishes. Add a hint for users who have
booted from a USB stick only to find that sysinstall can't find it.

MFC after:	3 days
2010-12-13 13:52:03 +00:00
Rebecca Cran
21866e59c2 Ignore any failures with the "local" distribution since it's not present
on release CDs and so will normally fail.
installCommit() returns a DITEM_ value, not a Boolean.
distExtractAll() returns a Boolean, not a DITEM_ value.

Reported by:	kensmith
MFC after:	3 days
2010-12-06 20:55:14 +00:00
Rebecca Cran
378b528ba0 If no floppy drive is installed kldBrowser() can generate an error early on.
Initialize menu and count so the cleanup code doesn't try and use their
uninitialized values.

PR:	bin/152270
Submitted by:	Remi LAURENT <cloud at madpowah.org>
MFC after:	3 days
2010-11-29 11:55:17 +00:00
Rebecca Cran
b7597cbfd5 Update the serial port device names. They changed in 8.0 because the default
driver is now uart(4).

PR:	bin/140887
Submitted by:	Joe Barbish <fbsd1 at a1poweruser.com>
MFC after:	3 days
2010-11-29 11:28:31 +00:00
Rebecca Cran
f22de230a1 dispatch_add_command:
Modify the logic so there's only one exit point instead of two.
Only insert valid (non-NULL) values into the queue.

dispatch_free_command:
Ensure that item is not NULL before removing it from the queue and
dereferencing the pointer.
NULL out free'd pointers to catch any use-after-free bugs.

PR:	bin/146855
Submitted by:	gcooper
MFC after: 3 days
2010-11-21 14:34:25 +00:00
Rebecca Cran
10895c82f2 ipv6_enable has been obsoleted in favour of ipv6_activate_all_interfaces. 2010-11-14 19:57:56 +00:00
Rebecca Cran
57bd39c6d6 Fix use of CD_VERSION=any in cdrom.inf by calling strcmp instead of
variable_cmp.

PR:	bin/142960
Submitted by:	G. Paul Ziemba <p-fbsd-bugs at ziemba.us>
MFC after:	1 week
2010-11-14 13:25:01 +00:00
Rebecca Cran
ccfa5fafe2 Remove support for cpioVerbose=medium because bsdcpio doesn't support the
"-V" flag.

PR:	bin/151821
Submitted by:	Devin Teske <dteske at vicor.com>
MFC after:	1 week
2010-11-14 10:22:09 +00:00
Rebecca Cran
cf04e59a01 ntpdate(8) hosts are now configured in rc.conf via ntpdate_hosts.
PR:	bin/148350
Submitted by:	Joel FAEDI <joel.faedi at gmail.com>
MFC after:	1 week
2010-11-14 10:04:48 +00:00
Rebecca Cran
943fa42c1e "Web" should not be all upper-case because it's not an acronym.
PR:	bin/130366
Submitted by:	Royce Williams <royce at alaska.net>
MFC after:	1 week
2010-11-14 09:14:17 +00:00
Rebecca Cran
e77bd6a8f8 Connect to ftp2.tr.freebsd.org when the Turkey #2 mirror is selected.
PR:	bin/128587
Submitted by:	Mehmet Kose <mehmet.kose at gmail.com>
MFC after:	1 week
2010-11-14 09:03:42 +00:00
Rebecca Cran
5f1818757a Add ftp4.se.freebsd.org to the set of mirrors.
PR:	bin/150552
Submitted by:	Niclas Zeising <zeising at lysator.liu.se>
MFC after:	3 days
2010-11-13 21:48:32 +00:00
Rebecca Cran
804f3a63ac We still support PLIP devices, so mention them in addition to ethernet. 2010-11-13 01:21:55 +00:00
Rebecca Cran
afe53dff1e Use the RFC2606 domain example.com in examples. 2010-10-13 09:33:26 +00:00
Ulrich Spörlein
0d9deed52c mdoc: drop redundant .Pp and .LP calls
They have no effect when coming in pairs, or before .Bl/.Bd
2010-10-08 12:40:16 +00:00
Nathan Whitehorn
e3d8cf496d Extend sysinstall to handle powerpc64 by teaching it that powerpc64 has
a lib32 distribution, and that the GENERIC kernel is named GENERIC64.
More modifications will be required later for installations from ftp due
to the shared platform name with 32-bit powerpc, but this is enough for
snapshot CDs to work.

Reviewed by:	brucec
2010-10-03 17:50:43 +00:00
Warner Losh
25faff346c MFtbemd:
Prefer MACHNE_CPUARCH to MACHINE_ARCH in most contexts where you want
to test of all the CPUs of a given family conform.
2010-08-23 22:24:11 +00:00
Rebecca Cran
3affea8f99 To restart, sysinstall calls execl. Since it will create a new process, we
can't check to see if sysinstall is running as init just by checking if the
PID is 0. Introduce a new option that sets the RunningAsInit flag, and update
the code to check RunningAsInit intstead of getpid().

PR:	bin/38854
Submitted by:	Peter Sedeffow <peter at trumanbrewery.com>
Approved by:	rrs (mentor)
MFC after:	1 month
2010-08-17 09:39:06 +00:00
Jens Schweikhardt
468c754560 Correctly spell janice and jimmy as janis and jimi (assuming
the famous rock stars meant were Miss Joplin and Mr Hendrix.)
2010-08-14 21:48:22 +00:00
Ulrich Spörlein
32ba16b6e6 Fix a couple of typos.
PR:		docs/148891
Submitted by:	olgeni
MFC after:	1 week
2010-07-30 11:58:18 +00:00
Rebecca Cran
1bc5b32ccb If a size suffix isn't entered, just use the value entered. This fixes
a bug caused by r209235 where entering a number of blocks after
previously entering a size in MB/GB would result in the size of the
previous partition being used.

PR:	bin/148266
Submitted by:	jpaetzel
Approved by:	rrs (mentor)
2010-07-22 17:35:36 +00:00
Gabor Kovesdan
ad2cd3acbb - Add Latinamerican keymaps to sysinstall's Makefile so that it can
find them [1]
- While here, also add a missing Spanish entry

PR:		bin/67365 [1]
Submitted by:	Pedro F. Giffuni <giffunip@asme.org> [1]
Approved by:	delphij (mentor)
2010-07-19 20:22:21 +00:00
Rebecca Cran
7039ce193f FreeBSD 8 doesn't support kernel PPP or SLIP; remove code for configuring
and installing via such devices from sysinstall.

Reviewed by: randi
Approved by: rrs (mentor)
MFC after: 1 month
2010-07-16 20:42:20 +00:00
Randi Harper
b48aee40b9 Revert r209787 pending further discussion.
Approved by:	cperciva (mentor)
2010-07-08 21:26:26 +00:00
Randi Harper
2d7cef1612 Remove the ability to upgrade via sysinstall. This feature has been flaky
and broken for a number of years. freebsd-update now provides a reasonable
way to handle upgrades, so keeping this functionality in sysinstall only
serves to mislead users.

Approved by:	cperciva (mentor)
2010-07-08 03:28:25 +00:00
Randi Harper
e05c99755c Add support for remote logging to syslogd via an install.cfg variable.
Approved by:	cperciva (mentor)
MFC after:	3 weeks
2010-07-07 22:53:58 +00:00
Randi Harper
b05f9d9db0 Add further documentation for netDev in install.cfg to reflect the new
usage.

Approved by:	cperciva (mentor)
MFC after:	3 days
2010-07-07 20:06:48 +00:00
Rebecca Cran
2544a9be98 Increase the default and minimum partition sizes.
Bump / to 1GB, /var to 4GB and /tmp to 1GB.

A 512MB root partition is now too small to hold two kernels, so to
prevent installkernel failing 1GB is a better default. Likewise,
applications are storing more data in /var so 4GB is more reasonable
on a modern machine.

The previous minimum partition sizes were too small to hold a minimal
installation, and have been adjusted accordingly.

Discussed with: rwatson, simon
Approved by: rrs (mentor)
MFC after: 1 week
2010-07-07 12:44:19 +00:00
Rebecca Cran
b3e006b958 Simplify the wording of the console configuration dialogs since we now
only have a single video console driver.

Approved by: rrs (mentor)
MFC after: 1 month
2010-07-06 22:33:22 +00:00
Randi Harper
96ba76ef44 Update the man page to reflect the changes to the netDev configuration
variable.

Approved by:	cperciva (mentor)
MFC after:	3 days
2010-06-23 19:29:17 +00:00
Rebecca Cran
a4c6b1d565 Make it easier to cancel a failing installation by only attempting to
extract distributions once. If a distribution fails to fetch/extract
and the user doesn't want to retry, abort the installation.

Reviewed by: randi
Approved by: rrs (mentor)
MFC after: 1 month
2010-06-23 14:19:19 +00:00
Rebecca Cran
d2ba8bf2b4 When installing on a machine which doesn't have a VGA card installed, enable
a getty on the serial port so that it's possible to login when the system is
rebooted.

PR: bin/23098
Submitted by: Doug Ambrisko <ambrisko at whistle.com>
Reviewed by: randi
Approved by: rrs (mentor)
MFC after: 1 month
2010-06-23 14:11:34 +00:00
Randi Harper
0be7661e27 Remove unnecessarily inflammatory commentary.
Approved by:	cperciva (mentor)
2010-06-22 21:06:33 +00:00
Randi Harper
98317ae752 Clean up item_add and remove -fno-strict-aliasing from CFLAGS. Note that
the "aux" value in libdialog is really an opaque pointer, but libdialog
stores it as a long for historical reasons.

Approved by:	cperciva (mentor)
2010-06-20 04:14:49 +00:00
Rebecca Cran
963bebcbf0 * Allow partial MB/GB values to be entered in the slice and label editors.
* Don't strdup the name when calling deviceRegister because the string is
copied within new_device.
* Use a subtype of 165, not 3, when creating a slice in noninteractive
mode.

PR: bin/135333
PR: bin/66350
Approved by: rrs (mentor)
MFC after: 1 month
2010-06-16 15:40:13 +00:00
Marcel Moolenaar
91c7875842 Further unbreak powerpc & sparc64. 2010-06-14 19:39:20 +00:00
Marcel Moolenaar
97e9dcb987 Fix build breakages on ia64 introduced some commits ago. 2010-06-13 23:37:16 +00:00
Ed Schouten
03b7d7deef Unbreak the build on less common architectures.
Submitted by:	Andreas Tobler <andreast list fgznet ch>
2010-06-13 11:27:44 +00:00
Colin Percival
e0d554dbde Clean up code by removing pre-C99 struct hack preprocessor magic.
Approved by:	randi (maintainer)
2010-06-11 21:46:45 +00:00
Randi Harper
49bc38beb2 Make sysinstall WARNS=2 clean.
Approved by:	cperciva (mentor)
MFC after:	1 month
2010-06-11 20:56:40 +00:00
Randi Harper
2333387e05 Fix uninitialized variables that cause a crash when the network is
initialized and sysinstall is not running as init.

Submitted by: Nick Mills
Approved by: cperciva (mentor)
MFC after: 3 days
2010-06-10 20:13:10 +00:00