summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/dist.c
Commit message (Collapse)AuthorAgeFilesLines
* Farewall, sysinstall! You served us well for many years, but 10.0 is onenwhitehorn2011-10-031-922/+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).
* Ignore any failures with the "local" distribution since it's not presentbrucec2010-12-061-1/+4
| | | | | | | | | 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
* Extend sysinstall to handle powerpc64 by teaching it that powerpc64 hasnwhitehorn2010-10-031-2/+2
| | | | | | | | | 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
* Make it easier to cancel a failing installation by only attempting tobrucec2010-06-231-7/+15
| | | | | | | | | 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
* Don't pop up the menu to select a documentation language for non-interactivejhb2010-01-261-0/+4
| | | | | | installs. Default to not installing any documentation in that case. MFC after: 1 week
* Remove a bunch of code used to detect SMP on ((i386 && !pc98) || amd64) anddes2009-11-101-8/+0
| | | | | | | | | | | | | | | offer to install an SMP kernel. The way this worked was: on supported platforms, code to read ACPI tables and BIOS MP tables was compiled into sysinstall, and if an SMP kernel config was present in the source tree when sysinstall was built, code that called it was also compiled. Since we haven't had SMP kernel configs in years, the latter was never compiled and the former never ran. This only removes dead and unreachable code; it does *not* remove the NCpus variable, nor the code that sets it to 1, nor the code that asks the user to select a kernel from a list. Discussed with: re@, randi@ and others
* Correct the name of the Mongolian Documentation package.kensmith2009-07-161-1/+1
| | | | Approved by: re (kib)
* - release/* update to use freebsd-doc-* packages instead of buildingblackend2009-06-281-6/+98
| | | | | | | | | | | | 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)
* Stop treating Xorg as a distribution in the mainline portion of sysinstallkensmith2008-12-161-54/+1
| | | | | and leave it to be handled in the packages section (or post-install completely) along with all the other packages.
* Update ports number and size of Ports Collection.blackend2008-11-071-2/+2
|
* Catch up with the removal of /usr/src/compat.kensmith2008-08-141-1/+0
| | | | MFC after: 3 days
* Change sysinstall's handling of X11 stuff. Doing it in pieces waskensmith2008-01-011-37/+3
| | | | | | | | | | | | | | | | | 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
* A few more adjustments needed because of changes in xorg. Just installingkensmith2007-12-171-0/+2
| | | | | | | | | xorg-server doesn't include any video drivers so install xorg-drivers as well. And if font-alias isn't installed the X server won't start, complaining it can't find the font "fixed". Insta-MFC coming, this was tested with a RELENG_6_3 release build and the necessary packages as part of the first round of testing for 6.3-RC2.
* xorg-printserver still exists in the ports tree but it's marked askensmith2007-11-101-1/+0
| | | | | | | depreciated and scheduled to be removed. Confirmed by: kris MFC after: 3 days
* Teach source installation shell script and sysinstall(8) aboutru2007-11-091-0/+1
| | | | | | the 'scompat' source dist that holds src/compat/. Reported by: Mars G Miro
* Update X11 dists for xorg-7.3 layout.kensmith2007-11-081-4/+2
| | | | X-MFC-after: Insta-MFC may be coming so this can get into 6.3-BETA2.
* Teach sysinstall about the 'scddl' source dist.jhb2007-06-281-0/+1
| | | | Approved by: re (kensmith)
* Fix a number of documentation-lags-behind-reality bugs in sysinstall(8).philip2007-06-251-2/+2
| | | | | | | While here, fix a couple of comments too. Submitted by: Oliver Fromme <olli -at- lurza.secnetix.de> Approved by: re (kensmith)
* Make sysinstall's code WARNS=2 clean .matteo2007-03-231-0/+1
| | | | MFC after: 1 week
* Provide a more accurate description of the size of the ports collection.murray2007-01-161-1/+1
|
* If the user did not chose a distribution from the menu, a sensibleerwin2006-10-231-1/+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
* If the user asks for "kernel sources" to be installed, extract thecperciva2006-05-241-1/+1
| | | | | | | | | SRC_BASE package (src/[A-Z]*) as well as SRC_SYS (src/sys/*). This allows users who only install the kernel source code to use the modern "make buildkernel" approach. Discussed with: re (scottl, kensmith) MFC after: 3 days
* Fix copy-and-pasto in comment.jkim2006-04-141-1/+1
|
* Revamp base system packaging of kernels to enable up/smp selectionsam2006-03-081-10/+102
| | | | | | | | | | | | | | | | | | | | | | | | | | 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-3/+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.
* Update number and size of Ports Collection.murray2005-08-281-2/+2
| | | | MFC after: 1 day
* Provide 32-bit runtime support on amd64 as a separate distribution, lib32.ru2005-06-161-0/+3
| | | | | | Prodded by: obrien Nodded by: peter Approved by: re
* Use static for static variables. This fixes gcc4 build.delphij2005-05-021-3/+2
|
* Force a redraw if all dists are selected so the checklist is updated.jhb2004-09-201-1/+1
| | | | | Submitted by: Rostislav Krasny rosti_bsd at yahoo dot com MFC after: 3 days
* Start the de-orbital burn of our previous FreeBSD version compat libsobrien2004-08-291-10/+0
| | | | | | living in usr/src. We need to use them from ports to record dependencies. Discussed with: re(scottl)
* No longer do special handling of Perl. FreeBSD users have all of 5.xobrien2004-08-251-1/+0
| | | | | | | | | | to get used to the fact that Perl is no longer part of the base system. It is practically impossible to install any useful package and not get Perl automatically pulled in as a dependency. So the typical user will get their Perl. This change greatly reduces the amount of manual labor in building the miniinst.iso in release building.
* Teach sysinstall about the "srescue" distribution, which contains thecperciva2004-08-101-0/+1
| | | | | | | | contents of /usr/src/rescue. Until now, the files were shipped with releases but sysinstall would ignore them (resulting in a non-buildable source tree). Sanity checked by: jhb
* Initial pass at shifting sysinstall(8) to install X.org instead of XFree86.kensmith2004-08-101-64/+35
| | | | | | | There are still a few nits to work out (graphical config non-functional). Patches by: anholt@, adapted slightly Reviewed by: 'make release'
* Join the 21st century: Cryptography is no longer an optional componentcperciva2004-08-061-28/+6
| | | | | | | | | | 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
* Use C99 conforming designated initialisers rather than the obsolete GCC syntax.stefanf2004-07-031-1/+1
|
* Update number of portsmurray2004-04-191-2/+2
|
* Remove unused variables.jhb2004-03-111-1/+1
|
* Install 100dpi fonts by default when installing X11: fun as using 75dpirwatson2003-12-171-1/+1
| | | | | fonts on a 100dpi display is, the jaggies just aren't worth it. DPMI auto-configures higher DPIs on many modern displays now.
* Once upon a time, DEVFS was optional, major numbers where static, and /devscottl2003-12-161-22/+1
| | | | | | | | | | | needed to be statically populated with device nodes. The first two are no longer true, which makes the third pretty moot. In fact, we don't seem to put device node bits into the distribution archives at all anymore. So..... remove the god-aweful nasty hack that force unmounted devfs during installation so that static device nodes could land in /dev. Now that the vnode cleaner handles this case better this isn't strictly needed, but axeing code in sysinstall is almost always benficial. Thanks to Don Lewis for pointing out this attribute of sysinstall.
* Update the number of ports.murray2003-10-121-1/+1
|
* Remove the vestiges of the old pre-"X_AS_PKG" way we used to handled theobrien2003-08-191-101/+0
| | | | | | installing XFree86 (version 3.3.6 and before). Reviewed by: jhb
* Update the number and size of ports in the Ports Collection.murray2003-06-091-2/+2
|
* Add a missing return statement to distExtractTarball().tmm2003-06-021-0/+1
| | | | Reviewed by: jhb
* Add __amd64__ ifdefs to enable the bootblock handling code, slices, etc.peter2003-05-241-2/+2
| | | | | Approved by: re (murray) Obtained from: obrien
* The "krb5" distribution was merged with "crypto", record the death.ru2003-05-221-6/+2
| | | | | Reviewed by: jhb Approved by: re (jhb)
* KerberosIV deorbit sequence: Un-teach sysinstall about KerberosIV. I'mmarkm2003-03-081-3/+1
| | | | | not 100% sure that I've done this in the right way. If folks want to revisit this, please be my guest.
* Update the number of ports in the ports collection. Although we'vemurray2003-03-031-1/+1
| | | | | gained 400 ports since the last time this was updated, the disk space estimate is still accurate.
* - Rename installFixupBin to installFixupBase to finish up the 'bin' tojhb2003-01-171-430/+449
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'base' dist rename. - Rework struct dist to allow for different types of dists. There are currently three types of dists: DT_TARBALL, the traditonal gzipped and split tar file; DT_PACKAGE, a package; and DT_SUBDIST, a meta-dist in the tree that has its own array of dists as its contents. For example, the 'base' dist is a DT_TARBALL dist, the 'perl' dist is a DT_PACKAGE dist, and the 'src' dist is a DT_SUBDIST dist with its own dist table that contains 'sbase', 'ssys', etc. - Add helper macros for defining array entries for the different types of dists to try and make the statically defined dist table in dist.c more readable. - Split the logic to deal with a DT_TARBALL dist out of distExtract() and into its own distExtractTarball() function. distExtract() now calls other functions to extract each dist. - Tweak the percentage complete calculation in distExtractTarball() to do the multiply prior to the divide so it doesn't have to use floating point. - Axe the installPackage() function along with the special handling for the perl and XFree86 dists in distExtractAll() since distExtract() handles package dists directly now. - Add back in subdists for the X packages based on the split up packages that XFree86-4 uses that as closely map to the X dists we used with X 3.3.x. - Lots of things like distSetX() and the X dist masks are no longer #ifndef X_AS_PKG since we use them in both cases now. - Make the entire installFixupXFree() function #ifndef X_AS_PKG, we only call it in that case anyways, and it's not suitable for the X_AS_PKG case. - Add in X dist menus for the X_AS_PKG case. Approved by: re
* Move the realloc outside the inner loop. This reduces the number of timesobrien2003-01-151-1/+1
| | | | we do the realloc.
* Fix a typo: s/save_free/safe_free/.jhb2003-01-091-1/+1
|
OpenPOWER on IntegriCloud