summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/sysinstall.h
Commit message (Collapse)AuthorAgeFilesLines
* Farewall, sysinstall! You served us well for many years, but 10.0 is onenwhitehorn2011-10-031-895/+0
| | | | | | | | digit beyond your time. Various sysinstall dependencies (e.g. libftpio, libdisk, libodialog, etc.) will be cleaned up in coming days. Some will take longer than others due to a few other consumers (tzsetup and sade).
* ipv6_enable has been obsoleted in favour of ipv6_activate_all_interfaces.brucec2010-11-141-1/+1
|
* ntpdate(8) hosts are now configured in rc.conf via ntpdate_hosts.brucec2010-11-141-1/+1
| | | | | | PR: bin/148350 Submitted by: Joel FAEDI <joel.faedi at gmail.com> MFC after: 1 week
* Revert r209787 pending further discussion.randi2010-07-081-0/+1
| | | | Approved by: cperciva (mentor)
* Remove the ability to upgrade via sysinstall. This feature has been flakyrandi2010-07-081-1/+0
| | | | | | | | 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)
* Add support for remote logging to syslogd via an install.cfg variable.randi2010-07-071-0/+1
| | | | | Approved by: cperciva (mentor) MFC after: 3 weeks
* Clean up item_add and remove -fno-strict-aliasing from CFLAGS. Note thatrandi2010-06-201-1/+1
| | | | | | | the "aux" value in libdialog is really an opaque pointer, but libdialog stores it as a long for historical reasons. Approved by: cperciva (mentor)
* Clean up code by removing pre-C99 struct hack preprocessor magic.cperciva2010-06-111-6/+0
| | | | Approved by: randi (maintainer)
* Add support for using a livefs from a USB disk.cperciva2009-07-081-0/+1
| | | | | Submitted by: randi Approved by: re (kensmith)
* - release/* update to use freebsd-doc-* packages instead of buildingblackend2009-06-281-0/+5
| | | | | | | | | | | | FreeBSD docset during 'make release' this will speed up release builds; - sysinstall(8) has also been updated to use these packages with a new menu allowing people to choose what localized doc to install; - mention in UPDATING that docs from the FreeBSD Documentation project are now installed in /usr/local/share/doc/freebsd instead of /usr/share/doc. Approved by: re (kensmith)
* Make sysinstall search for /dev/daXa and register such devices as USB disks.cperciva2009-06-241-0/+8
| | | | | | | | | This covers the common case of unsliced USB drives, and makes it possible to select them as installation source media. PR: 61152, 115197, 135016 Submitted by: randi MFC after: 1 month
* Add menus to read install.cfg from any disk device sysinstall can seegrog2009-03-131-0/+4
| | | | | | | | | | (eg USB key, CD) rather than just floppy. Handle \r\n line termination in a cfg file. Add keeprcconf variable. Submitted by: Daniel O'Connor
* Remove vestiges of OLDCARD PC Card support. We haven't needed/usedimp2009-02-151-4/+0
| | | | this since 5.x.
* As threatened a while ago, remove support for tape media. Reports varykensmith2008-12-171-8/+0
| | | | but most people believe it stopped working a while ago.
* Stop treating Xorg as a distribution in the mainline portion of sysinstallkensmith2008-12-161-6/+0
| | | | | and leave it to be handled in the packages section (or post-install completely) along with all the other packages.
* Clean out the remaining alpha-isms.kensmith2008-12-141-1/+1
|
* Remove the offer to install Linux compatibility on i386 in the mainlinekensmith2008-12-121-4/+0
| | | | | portion of sysinstall. Leave it to be treated as a regular package along with all the other packages...
* Begin the sysinstall cleanup. Remove the support for configuring OSFkensmith2008-12-121-4/+0
| | | | binary compatibility.
* Package installation is handled by starting off with the list of packageskensmith2008-10-151-1/+5
| | | | | | | | | | | | | | | | | | the user selected and then recursively installing their dependencies, finally installing the ones the user selected after the recursion unwinds. Since users often select "high-level" packages that are on a higher numbered disc for the multi-volume release CDROMS this resulted in excessive disc swapping while installing things like kde, gnome, etc. Cut down on disc swapping by iterating through the disc volumes one at a time if we notice the package set is on multiple volumes. If a package is on a higher volume don't install it yet, but still "process it" so we get its dependencies installed. Because of the way the package sets for releases get assembled we're guaranteed dependencies will be on the same volume or lower. Reviewed by: jhb MFC after: 1 week
* Remove sysinstall's ability to adjust the tape block size. Installs fromkensmith2008-08-201-3/+0
| | | | | | | | tape have been broken for quite a while, and I'll be removing the rest of sysinstall's knowledge of tapes shortly. I'm doing this piece now because I want to switch from gnu's cpio to bsdcpio being integrated into the installation environment and bsdcpio doesn't seem to handle block sizes at all.
* Better to just statically set the name vs. determine at run time.obrien2008-05-111-0/+1
|
* Change sysinstall's handling of X11 stuff. Doing it in pieces waskensmith2008-01-011-8/+0
| | | | | | | | | | | | | | | | | probably the right thing to do a while ago but xorg has progressed to the point that for novice users (who are the ones expected to think installing X11 during an install...) it's best to just install the whole x11/xorg metaport for them. This removes the X11 sub-menus and sets it up so you just select whether or not you want X11. While here garbage collect an X11 configuration menu I missed removing when I removed support for attempting xorg configuration from inside sysinstall a while ago. Discussed with: rwatson, kris No objection from: re Release build tested by: rwatson MFC after: 1 week
* Fix a number of documentation-lags-behind-reality bugs in sysinstall(8).philip2007-06-251-1/+1
| | | | | | | While here, fix a couple of comments too. Submitted by: Oliver Fromme <olli -at- lurza.secnetix.de> Approved by: re (kensmith)
* If the user did not chose a distribution from the menu, a sensibleerwin2006-10-231-0/+1
| | | | | | | | default distribution (user) will be installed, however, no kernel will be installed. Fix this by installing a sensible default kernel, SMP/GENERIC, depending on WITH_SMP and number of CPUS found. Reviewed by: jhb
* Add FreeBSD version information to the menu title so it's possible tosimon2006-07-151-0/+1
| | | | | | | | | | see which release you are installing (really which FreeBSD version the installer is running, but that shouldn't matter in all normal cases). PR: bin/100309 Submitted by: Joao Barros <joao.barros@gmail.com> (original version) Idea from: FreeBSD ideas page MFC after: 1 week
* Alpha doesn't support linux ABI compat now.jhb2006-05-101-1/+1
|
* Revamp base system packaging of kernels to enable up/smp selectionsam2006-03-081-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | at runtime and to support distributing additional kernels: o remove kernel from the base tarball o add new kernel tarballs o build + package both SMP and GENERIC kernels when an <arch>/conf/SMP config file is present o add sysinstall support for multiple kernels o update sysinstall to probe for the number of cpus on a system and auto-select smp/up kernel accordingly o add a post-kernels install hook to fixup /boot/kernel o add -ldevinfo to boot crunch for sysinstall's cpu probing logic Notes: 1. On HEAD this code is not currently used because GENERIC kernels include SMP. This work is mainly intended for RELENG_6 where the GENERIC kernel is UP. If HEAD changes to match then just enable WITH_SMP in sysinstall/Makefile. 2. The cpu probing support is done with acpi and MPTable; this means some systems will require work for auto-detection to work. 3. The handling of /boot/kernel may need to be revisited; for now we rename one kernel at the last moment (SMP if installed, otherwise GENERIC). There are other, possibly better, approaches. Lots of help from ru, emaste, scottl, and jhb.
* Fix numerous warnings. Aside from menu items in system.c and menu.cjhb2006-02-281-1/+4
| | | | | | | | this now compiles on i386 with WARNS?= 3. Most of the fixes included adding missing 'static' keywords to internal functions, using fully-defined terminators in statically defined arrays of structs, and various signed vs unsigned mismatches. Also G/C'd unused configSecurity() function.
* - Autogenerate a menu containing a list of countries and keymaps supportedjhb2006-02-281-0/+14
| | | | | | | | | | | | | | | by syscons. - If we are running as init, popup the country menu before the main menu. If a non-default country is chosen, then a second menu is brought up to let the user choose a keymap. By default the default keymap for the country that was selected is highlighted. If the user chooses the default country, then the default keymap is just assumed and the user is not presented with the keymap menu. Currently the default country is set to "United States" except for PC98 which assumes "Japan". PR: bin/93853 Submitted by: Seth Kingsley sethk at magnesium dot net MFC after: 3 days
* Add `mediaOpen' function. This function mounts selected media device.jkim2006-01-271-0/+1
| | | | | | | | | | | | | | | For example, you can dynamically generate and load configuration file depending on the hardware configuration with the following template: mediaSetCDROM mediaOpen command='/dist/rescue/sh /dist/scripts/install.sh' system mediaClose configFile=/tmp/generated.cfg loadConfig Now we have full access to files on the media before installation begins.
* Remove usbd(8) and all references to it. It is no longer necessaryiedowse2005-12-151-3/+0
| | | | | | since devd(8) now provides the same functionality. Submitted by: Anish Mistry
* Switch from OLDCARD to NEWCARD on pc98.nyan2005-09-271-4/+0
|
* - Fix a bug in sysinstall related to mounting CD-ROMs. If mount(2) failsjhb2005-03-021-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | with EBUSY and a cdrom is not mounted at /cdrom, sysinstall fails to treat it as an error and thinks that the disk mounted ok. However, it doesn't find a cdrom.inf file so it complains. Later when it tries to unmount the disk due to a mediaClose() umount(2) returns an error, and it never clears its internal mounted flag. The fix here is to properly handle EBUSY as an error if there isn't a CD already mounted at /cdrom. - Add a new CDROMInitQuiet variable that can be used to shut up the dialog box about the mount(2) system call failing when trying to mount a CD-ROM. This is used by the feature described below. - When using a fixit CD, first try to see if we can mount the disc in the drive now and use it as a fixit CD. If not, then prompt the user to insert the disc and try again. If we do succeed on the first "silent" probe then we don't ask the user to eject the disk after leaving fixit mode. - Add a simple file existence test to make sure that the disc that we mount really is a livefs disc. - Explicitly switch back to ttyv0 when using the standard console after the fixit shell dies. Previously this behavior worked accidentally because all the fixit modes popped up a dialog box which contained a hidden switch to ttyv0. MFC after: 1 day
* Minor comment fix.kensmith2005-01-071-1/+1
| | | | MFC after: 1 week
* Remove support for configuring the X server from sysinstall. Generalkensmith2004-08-301-2/+0
| | | | | | | | | concensus seems to be that is best left for doing post-install. Discussed on: freebsd-current@ Tested with: make release Approved by: re@ MFC after: 3 days
* Initial pass at shifting sysinstall(8) to install X.org instead of XFree86.kensmith2004-08-101-13/+9
| | | | | | | There are still a few nits to work out (graphical config non-functional). Patches by: anholt@, adapted slightly Reviewed by: 'make release'
* o Save pointers to the chunks for root, home, swap, usr, var and tmp inmarcel2004-08-071-1/+12
| | | | | | | | | | | | | | | global variables. On ia64, save a pointer to the efi chunk as well. o At the same time, change checkLabels() to define these globals instead of having the caller of checkLabels() pass addresses to variables for these. Change the two callers correspondingly. o Spent a bit more time adjusting try_auto_label() to prepate for having the EFI partition created on ia64. o Remove efi_mountpoint(). The EFI chunk is now available without having to iterate over the disks and chunks to find it every time we need it. o On ia64, now that the root chunk is globally available, set the vfs.root.mountfrom tunable in loader.conf. This avoids that one cannot boot into FreeBSD after an install. The kernel cannot find the root device without a little help...
* Join the 21st century: Cryptography is no longer an optional componentcperciva2004-08-061-2/+0
| | | | | | | | | | of releases. The -DNOCRYPT build option still exists for anyone who really wants to build non-cryptographic binaries, but the "crypto" release distribution is now part of "base", and anyone installing from a release will get cryptographic binaries. Approved by: re (scottl), markm Discussed on: freebsd-current, in late April 2004
* Move the inclusion of libdisk.h from sysinstall.h to the source filesmarcel2004-08-021-1/+0
| | | | | | | that actually need it. This makes it easier for a platform porter to find the files that may need tweaking to support whatever MD specific partitioning is needed. It also helps to prevent that the libdisk API gets exposed and/or used where it's not needed.
* Fixed assorted misuses of NULL in integer context.bde2004-03-111-1/+1
|
* s/package_exists/package_installed/g as that's much more descriptive ofobrien2004-01-021-1/+1
| | | | what the function does.
* FBSD nit.obrien2004-01-021-2/+1
|
* Add a Securelevel sub-menu to the Security configuration menu,rwatson2003-11-291-0/+7
| | | | | | | | | | | | | permitting the administrator to select a securelevel top operate at. Include a helpfile summarizing some of the information from init(8). This allows for explicit configuration of securelevels, which was previously implicit in Security Profile selection. Currently, there are no checkboxes for the active securelevel, because sysinstall's facilities for deriving "current settings" from rc.conf may use only one variable, not two, and I opted for the simplest approach at this point. Approved by: re (scottl)
* Remove security profiles from sysinstall. Currently, security profilerwatson2003-11-281-4/+0
| | | | | | | | | | | | | | | | | selection is used to drive two configuration parameters: (1) Default enable/disable for sshd (2) Default enable/disable for securelevels Replace this with an explicit choice to enable/disable sshd. A follow-up commit will add a configuration option to the Security post-install configuration menu to set the securelevel in rc.conf explicitly. This should reduce the level of foot-shooting associated with accidental enabling of securelevels, make the nature and implications of the securelevel configuration options more explicit, as well as make the choice to enable/disable sshd more explicit. Approved by: re (scottl)
* o Add PART_EFI so that we can use it instead of PART_FAT on ia64marcel2003-11-021-0/+1
| | | | | | | | | | to better deal with the fact that we need an EFI partition and that we need to have a mountpoint for it. o When creating a new partition, add EFI to the list of types the user can select from. This makes it easy to create an EFI. o Do not include wizard.c on ia64. o The user cannot create a partition on ia64 that's a multiple of the cylinder size. We don't have a notion of cyclinders.
* o Do not define WITH_SYSCONS and WITH_MICE on ia64. We cannot havemarcel2003-11-011-2/+2
| | | | | | a generic kernel with syscons. o Do not define WITH_SLICES on ia64. We only label because we're going to create GPT disks.
* Various NFS-related bug fixes (mostly related to using variable_get()des2003-10-191-0/+2
| | | | | | instead of variable_cmp() to test boolean rc.conf variables). Submitted by: hmp
* Add a new variable 'skipPCCARD'. This variable will cause sysinstallimp2003-08-201-0/+1
| | | | | | | | | to ignore all PC Card devices. Submitted by: Anders Nordby PR: bin/37650 MFC After: 2 weeks
* Remove the vestiges of the old pre-"X_AS_PKG" way we used to handled theobrien2003-08-191-6/+0
| | | | | | installing XFree86 (version 3.3.6 and before). Reviewed by: jhb
* Give users the ability to select an alternative MTA during the installation.trhodes2003-07-121-1/+5
| | | | | | | | This option adds Postfix and Exim to the list, however, qmail is not added due to license restrictions. Collaborated with: Simon L. Nielsen <simon@nitro.dk> Reviewed by: jhb, re@, -audit.
OpenPOWER on IntegriCloud