summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/dist.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* save_free the buf.obrien2003-01-091-0/+1
|
* Separate the uses of a buffer and make it dynamically sized.obrien2003-01-091-15/+16
| | | | | Approved by: scottl(re), jhb(re) Reviewed by: kuriyama
* Compare pointers to NULL rather than make it look like they are ints.obrien2003-01-061-2/+2
|
* - Convert the installation of the X package to using installPackage()jhb2002-12-031-1/+9
| | | | | | | | | | | rather than installX11package(). - Add a perl psuedo-dist that installs the perl package. The perl distribution is selected by default when a User distribution set is selected. It is not selected when a Minimal distribution set is selected. The perl distribution may be toggled manually in the custom menu just as other distributions. Approved by: re
* Enable the compat4x distribution on Alpha as well as i386.jhb2002-11-271-0/+2
| | | | Approved by: re
* Expand X_AS_PKG so that we don't declare distribution bitmasks or menusjhb2002-11-271-7/+34
| | | | | | | for the X distributions if X_AS_PKG is defined. Tested on: i386 Approved by: re
* Mount devfs with nmount(2) instead of mount(2). This error was maskedjhb2002-11-051-1/+12
| | | | | because errors from mount(2) were explicitly ignored. I didn't fix that bug.
* MFS: Update sysinstall text for the number and size or ports in the portsbmah2002-10-251-2/+2
| | | | | | collection. src/release/sysinstall/dist.c 1.175.2.29 -> 1.175.2.30
* The ports collection now contains over 7000 applications and consumesmurray2002-05-271-2/+2
| | | | | | about 165MB of space when first installed. Submitted by: rpratt
* Add the ability to use Bzip'ed packages.obrien2002-04-301-3/+4
| | | | | | | Also add the ability to use Bzip'ed distributions -- but this is exclusive of being able to use Gzip'ed distributions. Sponsored by: FreeBSD Mall, Inc.
* Change the name of the 'bin' distribution to 'base'.obrien2002-04-231-4/+4
| | | | | | | This is done since it contains much more than /bin, and also gets in the way when making a combined install+fixit CD. OK'ed by: jkh
* Switch to using XFree86 version 4. We do this thru installing the package,obrien2002-04-021-0/+20
| | | | | | | | so know we have proper PKG registration and dependency information. This is a WIP for 5.0 DP #1, so it is still rough around the edges and does not GC the old XFree86 3.3.6 handling stuff that should be GC'ed. Sponsored by: FreeBSD Mall, Inc.
* Update number of ports available.murray2002-03-111-1/+1
|
* Update the number of ports available.murray2002-01-261-1/+1
|
* Compilers are very picky about matching opeining and closing brackets.jhay2002-01-151-1/+0
|
* Unbreak installation for the CD-ROM and possiblhy other media types.green2002-01-141-1/+14
| | | | | Obtained from: LOMAC project Sponsored by: DARPA, NAI Labs
* An XFree86 install should not depend on any compat libs any longer.obrien2001-12-101-9/+0
| | | | | | (1) We don't need compat3x and compat4x as we build the bits on the proper release now (vs. getting them from the XFree people). (2) We handle the compat2x needs thru proper port dependancies now.
* We do have a compat4x dist for Alpha.obrien2001-12-101-1/+1
|
* Silence more warnings.murray2001-09-221-2/+2
|
* Increase disk space estimate for installing the ports collection frommurray2001-09-141-1/+1
| | | | | | 70MB to 100MB. Submitted by: rpratt
* 4000 -> 5800 ports. We really need to add some smarts to themurray2001-09-051-1/+1
| | | | | ports/INDEX creation script to update #defines in header files and entities in the doc/ tree.
OpenPOWER on IntegriCloud