summaryrefslogtreecommitdiffstats
path: root/release/scripts
Commit message (Collapse)AuthorAgeFilesLines
* MFC r277837, r277838:gjb2015-02-041-1/+3
| | | | | | | | | | | | | r277837: Provide a description for the 'tests.txz' distribution in the MANIFEST file. Turn off the test suite installation by default. r277838: Fix a typo in a comment. Sponsored by: The FreeBSD Foundation
* MFC r276765, r276766, r276820, r276822, r276827, r276828:gjb2015-01-111-3/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r276765: Update pkg-stage.sh to be compatible with pkg-1.4.x. In 1.3.x and earlier, ABI format is, for example, freebsd:11:x86:64. In 1.4.x, ABI format is FreeBSD:11:amd64, and a new configuration entry, ALTABI, is: freebsd:11:x86:64. Export PKG_ABI and PKG_ALTABI accordingly, and if PKG_ALTABI is set, create a symlink within the dvd PKG_CACHEDIR so both new and old ABI directories exist. r276766: Properly change directories before creating the PKG_ALTABI -> PKG_ABI symlink. r276820: Print informational output when NOPORTS is set, which would otherwise cause pkg-stage.sh to silently exit. r276822: Ensure /var/run/ld-elf.so.hints exists before building pkg(8). r276827: Ensure the ports directories exist for the list of packages intended to be included on the DVD, and remove any nonexistent ports from the final list. Print the list of missing paths, and ensure that DVD_PACKAGES is non-zero length (which should never happen). r276828: Switch to x11/gnome3 now that x11/gnome2 no longer exists in the ports tree. Sponsored by: The FreeBSD Foundation
* MFC r271876:gjb2014-09-221-0/+6
| | | | | | | | | | | When populating the dvd/packages/ directory, create a symlink to All/pkg-*.txz in the Latest/ directory. This allows 'pkg bootstrap' to work out-of-box if the REPOS_DIR environment is properly set. Approved by: re (delphij) Sponsored by: The FreeBSD Foundation
* MFC r271480, r271483, r271491:gjb2014-09-151-8/+5
| | | | | | | | | | | | | | | | r271480: Set PKG_CACHEDIR to an 'All/' directory one level lower to fix 'pkg repo' generating repository metadata for the on-disc packages. r271483: Fix duplicate PKG_ABI in the PKG_CACHEDIR path. r271491: Simplify dvd package population with pkg-1.3. Approved by: re (rodrigc) Sponsored by: The FreeBSD Foundation
* MFC r266553, r266554:gjb2014-05-252-2/+9
| | | | | | | | | | | | | | | | | | | r266553: Add forward-compatibility glue with pkg-1.3: - Use ASSUME_ALWAYS_YES=YES instead of ASSUME_ALWAYS_YES=1 since pkg-1.3 expects "yes" or "true" values. - Before exporting PKG_ABI, strip extra characters from what is parsed from 'pkg -vv'. This causes problems further down when creating the packages directory for inclusion on the dvd1.iso. Previously PKG_ABI would be 'freebsd:9:x86:64', but now is '"freebsd:9:x86:64";' in pkg-1.3. r266554: Disable the main FreeBSD pkg(7) repositories in the dvd repository configuration to avoid fetching from upstream in case there may be conflicts. Sponsored by: The FreeBSD Foundation
* MFC r260772:gjb2014-01-161-18/+30
| | | | | | | | | | | | | | | | | | Update the pkg-stage target to be more compatible with pkg-1.2: - Add a release-dvd.conf pkg(8) configuration file to override the default FreeBSD.conf configuration. - Remove architecture-specific pkg-stage.conf files, consolidate, and move their contents to scripts/pkg-stage.sh. - Use 'pkg -vv' to determine the ABI, which is used as the cache directory. Prior to these changes, it would be possible for pkg-stage to fetch conflicting binary packages from multiple repositories. Tested against: head@r260522, stable/10@r260522 Sponsored by: The FreeBSD Foundation
* MFC r259426, r259427:gjb2013-12-181-0/+12
| | | | | | | | | | | | | | | | | r259426: Add a pkg(8) repository configuration file for cdrom-based package installation. As part of the 'pkg-stage' target, copy the configuration file to the 'packages/repos/' directory on the DVD filesystem. r259427: Export 'REPOS_DIR' when the selected source medium for package installation is cdrom. This enables bsdconfig(8) to make use of the on-disc pkg(8) repository configuration, which fixes package selection and installation from the dvd installer. Sponsored by: The FreeBSD Foundation
* MFC r259246:gjb2013-12-171-0/+5
| | | | | | | | Prevent release build errors found during snapshot builds where if NOPORTS=1, pkg-stage.sh cannot build the ports-mgmt/pkg port if WITH_DVD=1. Sponsored by: The FreeBSD Foundation
* MFC r258786, r258796, r258797, r258847, r258853, r258949:gjb2013-12-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r258786: Move OPTIONS_UNSET outside of the PBUILD_FLAGS variable, otherwise the textproc/docproj port build fails. r258796 (hrs): - Prevent TARGET and TARGET_ARCH from being defined as empty when TARGET="" and/or TARGET_ARCH="" is specified. - Remove extra (). r258797 (hrs): Use standard CLEANFILES/CLEANDIRS and clean target in bsd.obj.mk. r258847: Provide reproducibility between builds by building pkg(8) from ports, instead of using pkg-bootstrap. This should resolve a problem that was discovered during 10.0-BETA4 freebsd-update(8) builds, r258853: Turn off the dvdrom target by default. dvd1.iso is now built by specifying 'WITH_DVD=1' during 'make release'. This caused some problems during the freebsd-update builds for 10.0-BETA4. r258949: Ensure WITH_DVD is not empty to prevent 'WITH_DVD= ' from evaluating to true. Approved by: re (hrs) Sponsored by: The FreeBSD Foundation
* MFC r258305, r258307, r258308, r258309, r258310, r258314, r258317,gjb2013-11-211-0/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r258319, r258320: r258305: Use the IMAGES variable to determine which image files to remove as part of 'make -C /usr/src/release clean'. r258307: Add a script and configuration files to fetch pre-built packages from pkg.FreeBSD.org for inclusion on release medium (dvd1.iso). r258308: Unconditionally copy the build host /etc/resolv.conf into the chroot directory, since hostname resolution may be needed in the case of building a dvd image (with packages) and also setting 'NOPORTS=1'. r258309: Set the PKG_CACHEDIR directory to 'dvd/' instead of 'release/' in preparation of adding a 'dvd1.iso' target. r258310: Add the 'dvd1.iso' target. This mimics the 'release.iso' target, with the additional step of fetching packages for inclusion on the dvd image. The 'pkg-stage' target is used to run 'scripts/pkg-stage.sh' if the '${TARGET}/pkg-stage.conf' configuration file exists (currently only amd64 and i386). Allow dvd1.iso to be skipped if NODVD=1. r258314: Fix how ABI is evaluated so it matches more than a dot-zero case. r258317: Document the 'dvdrom' target. r258319: Remove WITHOUT_PROFILE=1 for the dvd1.iso medium. r258320: Simplify PKG_ABI for pkg-stage.sh. Approved by: re (hrs) Sponsored by: The FreeBSD Foundation
* Fix 'make release' on older hosts: use buildworld legacy utilities.will2013-08-271-0/+5
| | | | | | | | | | | Newer FreeBSD installs require an install(1) that supports the new flags. This adds ${MAKEOBJDIRPREFIX}${.CURDIR}/tmp/legacy/{bin,usr/{bin,sbin}} to the PATH while generating an mtree database for 'make release'. Note that the problem only exists here because mm-mtree.sh generates its own object tree to avoid mucking with the existing one, which results in a PATH containing legacy utility dirs that are empty.
* Farewall, sysinstall! You served us well for many years, but 10.0 is onenwhitehorn2011-10-0330-1133/+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).
* Add generation of an installation manifest containing SHA256 checksums asnwhitehorn2011-03-131-0/+25
| | | | | well as package descriptions and add code in the installer to check the checksums.
* Add generation of memstick images to the bsdinstall release makefile fornwhitehorn2011-03-131-83/+0
| | | | | | | i386 and amd64. This involved moving the memstick generation script to the arch directories from scripts/, in analogy to mkisoimages.sh. This script was never called from /usr/src/release/Makefile, so that hasn't been updated.
* Improve the distributeworld target in Makefile.inc1 and update the releasenwhitehorn2011-03-022-45/+0
| | | | | | | | | | infrastructure to use it. make distributeworld can now be used without preparing its environment first and installs games into its distribution using the regular make distribute logic instead of post-processing with a script. Also add two new targets, packageworld and packagekernel, that tar up the results of distributeworld and distributekernel (also new), respectively.
* Remove an unnecessary cat.brian2010-06-191-1/+1
| | | | | | PR: 145447 Submitted by: u at netbeisser dot de MFC after: 1 week
* Provide a script that can be used to create the memstick images. For nowkensmith2010-02-181-0/+83
| | | | | | | | | | | it isn't being integrated into 'make release' because for the forseeable future the memstick images will be identical to what's on the DVD except for which package set is provided. If/when what's on the memstick diverges from what's on the DVD it would make more sense to generate a "memstick" directory in $CHROOT/R/cdrom and build the memstick image along with the ISO images. Reviewed by: jhb, ru, Garrett Cooper (yanefbsd at gmail dot com)
* Update package list for 8.0-REL.kensmith2009-10-201-14/+17
| | | | | Reviewed by: re@, portmgr@ MFC after: 1 day
* Bring the layout of package-split.py more in line with where we're goingkensmith2009-09-071-67/+54
| | | | | | | | | | | | | | | | | | with packages on the release media. It looks like we'll be putting just the doc packages on the new "memory stick" image as well as disc1. There will be no other packages on the CDROM-sized media. The DVD sized media will include the doc packages plus whatever other packages we decide to make part of the release. This commit just brings the basic structure in line with being able to do this. We still need to discuss with various people exactly which packages will be included on the DVD. If the environement variable "PKG_DVD" is set a tree suitable for the DVD media is generated. Otherwise a tree suitable for the "memory stick" and disc1 is generated. MFC after: 3 days
* Fix a few issues with the lib32 dist so that it includes ldd32.jhb2009-08-241-1/+1
| | | | | | | | | | | - Use a better find invocation to purge empty directories from all the dist trees during a release build. The previous version did not purge directories whose contents were all empty directories. - Explicitly blacklist a few files from the lib32 dist instead of using a whitelist. A better longterm solution is to fix the few offenders to not install data files during a lib32 install. MFC after: 3 days
* Add a script to create the /var/db/mergemaster.mtree file for newdougb2009-08-231-0/+155
| | | | | releases so that when users subsequently update their source trees they can make use of mergemaster's -U option.
* - release/* update to use freebsd-doc-* packages instead of buildingblackend2009-06-281-1/+24
| | | | | | | | | | | | 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)
* Specify 4096 block-size and 512 fragment-size.nyan2009-02-141-5/+2
| | | | This fixes no space error.
* Due to some recent-ish work on GEOM/G_PART the c partition (by traditionkensmith2009-02-101-2/+2
| | | | | | | the whole disk) isn't available any more since it was redundant. Just use /dev/md0 instead of /dev/md0c to build the filesystem on. Consulted-with: marcel
* Fix minor typo.kensmith2008-10-131-1/+1
|
* src/compat/ is gone back in March.ru2008-06-251-2/+2
| | | | Reported by: Mars G Miro
* Teach source installation shell script and sysinstall(8) aboutru2007-11-091-3/+3
| | | | | | the 'scompat' source dist that holds src/compat/. Reported by: Mars G Miro
* Catch up to changes in the ports tree since last releasekris2007-11-071-6/+4
|
* Teach the 'src-install' script about the 'scddl' source dist that holdsjhb2007-06-281-2/+2
| | | | | | /usr/src/cddl. Approved by: re (kensmith)
* Shift to vim-lite package because vim package doesn't build at the moment.kensmith2006-11-171-1/+1
| | | | MFC after: 3 days
* Alpha no longer supported.kensmith2006-11-171-3/+1
| | | | Noticed by: ru@
* Switch to emulators/linux_base-fc4 since that's the new defaultkensmith2006-11-161-1/+1
| | | | | | Linux emulator. MFC after: 3 days
* Remove security/freebsd-update from package split; it's now in thebmah2006-10-171-1/+0
| | | | | | base system. Pointed out by: kris
* Catch up to xchat and samba package changeskris2006-09-091-2/+2
|
* Stop cutting the tarball names to eight symbols. This makesru2006-09-081-2/+2
| | | | | | | | | | it possible to e.g. distribute kernels with config names larger than eight symbols, without the clash. Previousy, LALALALA and LALALALA-SMP would be the same tarball. (I think this comes from the old days where tarballs were put on the MS-DOS formatted diskettes.) MFC after: 3 days
* Provide the installation script for the lib32 distribution.ru2006-08-281-0/+11
|
* Move some historical artefacts into the attic.ru2006-08-281-5/+0
|
* Allow the DESTDIR to be specified without a terminating slashru2006-08-281-1/+1
| | | | (all other install scripts allow this).
* Cosmetics.ru2006-08-281-1/+1
|
* correct install locationsam2006-03-211-1/+1
| | | | Submitted by: Ceri Davies (slightly modified)
* First pass at trimming package set down. Disc2 is still too bigkensmith2006-03-171-5/+0
| | | | | even with this but we're still deciding exactly what to do about that.
* The ltmdm port is marked as NO_PACKAGE now.kensmith2006-03-161-2/+1
|
* kernel install script (missed in previous commit)sam2006-03-081-0/+43
|
* Remove the ports version of bsdiff - it is now in the base system.obrien2005-12-071-1/+0
|
* Remove the ports version of portsnap - it is now in the base system.obrien2005-12-071-1/+0
|
* It had been noticed disc2 was overflowing earlier but committing thekensmith2005-11-031-6/+1
| | | | | | | | fix slipped through a crack. Remove the apache and php packages under the assumption someone installing a Web server has network access and doesn't *need* the packages on disc2. This will be insta-MFCed...
* Provide 32-bit runtime support on amd64 as a separate distribution, lib32.ru2005-06-161-0/+8
| | | | | | Prodded by: obrien Nodded by: peter Approved by: re
* Put gnome-lite and kde-lite on disc2 for ia64. The full gnome and kdemarcel2005-05-031-4/+8
| | | | | | packages is causing the disc2 ISO to overflow in excess of 100MB. MFC after: 2 days
* Remove only the packages sub-directory before recreating it. Do notmarcel2005-05-031-1/+1
| | | | | | | | | remove the whole disc treei structure. This allows one to specify the disc trees created by a prior release build (under R/cdrom) as the destination without destroying the contents. This better integrates with release building and makes further automation easier. MFC after: 2 days
* Needed to drop "lang/gnat", "print/teTeX", and "textproc/docproj-jadetex"kensmith2005-04-171-3/+0
| | | | | | to make the packages fit on the CDs... MFC after: 3 days
OpenPOWER on IntegriCloud