aboutsummaryrefslogtreecommitdiff
path: root/release/scripts
Commit message (Collapse)AuthorAgeFilesLines
* Update the pkg-stage target to be more compatible with pkg-1.2:Glen Barber2014-01-161-17/+29
| | | | | | | | | | | | | | | | | | | | | - 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 MFC after: 3 days X-Insta-MFC: possibly Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=260772
* Add a pkg(8) repository configuration file for cdrom-based packageGlen Barber2013-12-151-0/+12
| | | | | | | | | | | | | | installation. As part of the 'pkg-stage' target, copy the configuration file to the 'packages/repos/' directory on the DVD filesystem. MFC after: 3 days X-MFC-Before: -RC3 Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=259426
* Prevent release build errors found during snapshot builds where ifGlen Barber2013-12-121-0/+5
| | | | | | | | | | | NOPORTS=1, pkg-stage.sh cannot build the ports-mgmt/pkg port if WITH_DVD=1. MFC after: 3 days Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=259246
* Provide reproducibility between builds by building pkg(8) from ports,Glen Barber2013-12-021-1/+1
| | | | | | | | | | | | | | | instead of using pkg-bootstrap. This should resolve a problem that was discovered during 10.0-BETA4 freebsd-update(8) builds, Reported by: secteam (delphij) MFC after: 3 days X-MFC-to-10: possibly immediately, pending freebsd-update(8) builds Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=258847
* Add a script and configuration files to fetch pre-built packagesGlen Barber2013-11-181-0/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | from pkg.FreeBSD.org for inclusion on release medium (dvd1.iso). The script sources ${.CURDIR}/${TARGET}/pkg-stage.conf, which sets several environment variables, such as the pkg(8) ABI, PACKAGESITE, PKG_DBDIR, and PKG_CACHEDIR. PKG_CACHEDIR is set to the directory on the release medium used by bsdconfig(8) (/packages/${ABI}). ABI is determined by output of 'make -C /usr/src/release -V REVISION'. See pkg.conf(5) for descripton on other variables set here. The list of packages to include are set within the configuration file. The script and configuration files are intended to be run by the 'make dvd' target within the release directory, and assume the release is built within a chroot environment (such as by using release.sh). Relevant updates to release/Makefile will follow. Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=258307
* Fix 'make release' on older hosts: use buildworld legacy utilities.Will Andrews2013-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. Notes: svn path=/head/; revision=254951
* Farewall, sysinstall! You served us well for many years, but 10.0 is oneNathan Whitehorn2011-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). Notes: svn path=/head/; revision=225937
* Add generation of an installation manifest containing SHA256 checksums asNathan Whitehorn2011-03-131-0/+25
| | | | | | | | well as package descriptions and add code in the installer to check the checksums. Notes: svn path=/head/; revision=219615
* Add generation of memstick images to the bsdinstall release makefile forNathan Whitehorn2011-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. Notes: svn path=/head/; revision=219584
* Improve the distributeworld target in Makefile.inc1 and update the releaseNathan Whitehorn2011-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. Notes: svn path=/head/; revision=219177
* Remove an unnecessary cat.Brian Somers2010-06-191-1/+1
| | | | | | | | | PR: 145447 Submitted by: u at netbeisser dot de MFC after: 1 week Notes: svn path=/head/; revision=209332
* Provide a script that can be used to create the memstick images. For nowKen Smith2010-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) Notes: svn path=/head/; revision=204044
* Update package list for 8.0-REL.Ken Smith2009-10-201-14/+17
| | | | | | | | Reviewed by: re@, portmgr@ MFC after: 1 day Notes: svn path=/head/; revision=198287
* Bring the layout of package-split.py more in line with where we're goingKen Smith2009-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 Notes: svn path=/head/; revision=196942
* Fix a few issues with the lib32 dist so that it includes ldd32.John Baldwin2009-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 Notes: svn path=/head/; revision=196521
* Add a script to create the /var/db/mergemaster.mtree file for newDoug Barton2009-08-231-0/+155
| | | | | | | | releases so that when users subsequently update their source trees they can make use of mergemaster's -U option. Notes: svn path=/head/; revision=196434
* - release/* update to use freebsd-doc-* packages instead of buildingMarc Fonvieille2009-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) Notes: svn path=/head/; revision=195132
* Specify 4096 block-size and 512 fragment-size.Yoshihiro Takahashi2009-02-141-5/+2
| | | | | | | This fixes no space error. Notes: svn path=/head/; revision=188606
* Due to some recent-ish work on GEOM/G_PART the c partition (by traditionKen Smith2009-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 Notes: svn path=/head/; revision=188438
* Fix minor typo.Ken Smith2008-10-131-1/+1
| | | | Notes: svn path=/head/; revision=183829
* src/compat/ is gone back in March.Ruslan Ermilov2008-06-251-2/+2
| | | | | | | Reported by: Mars G Miro Notes: svn path=/head/; revision=180008
* Teach source installation shell script and sysinstall(8) aboutRuslan Ermilov2007-11-091-3/+3
| | | | | | | | | the 'scompat' source dist that holds src/compat/. Reported by: Mars G Miro Notes: svn path=/head/; revision=173498
* Catch up to changes in the ports tree since last releaseKris Kennaway2007-11-071-6/+4
| | | | Notes: svn path=/head/; revision=173410
* Teach the 'src-install' script about the 'scddl' source dist that holdsJohn Baldwin2007-06-281-2/+2
| | | | | | | | | /usr/src/cddl. Approved by: re (kensmith) Notes: svn path=/head/; revision=171080
* Shift to vim-lite package because vim package doesn't build at the moment.Ken Smith2006-11-171-1/+1
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=164353
* Alpha no longer supported.Ken Smith2006-11-171-3/+1
| | | | | | | Noticed by: ru@ Notes: svn path=/head/; revision=164352
* Switch to emulators/linux_base-fc4 since that's the new defaultKen Smith2006-11-161-1/+1
| | | | | | | | | Linux emulator. MFC after: 3 days Notes: svn path=/head/; revision=164340
* Remove security/freebsd-update from package split; it's now in theBruce A. Mah2006-10-171-1/+0
| | | | | | | | | base system. Pointed out by: kris Notes: svn path=/head/; revision=163464
* Catch up to xchat and samba package changesKris Kennaway2006-09-091-2/+2
| | | | Notes: svn path=/head/; revision=162173
* Stop cutting the tarball names to eight symbols. This makesRuslan Ermilov2006-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 Notes: svn path=/head/; revision=162164
* Provide the installation script for the lib32 distribution.Ruslan Ermilov2006-08-281-0/+11
| | | | Notes: svn path=/head/; revision=161689
* Move some historical artefacts into the attic.Ruslan Ermilov2006-08-281-5/+0
| | | | Notes: svn path=/head/; revision=161688
* Allow the DESTDIR to be specified without a terminating slashRuslan Ermilov2006-08-281-1/+1
| | | | | | | (all other install scripts allow this). Notes: svn path=/head/; revision=161687
* Cosmetics.Ruslan Ermilov2006-08-281-1/+1
| | | | Notes: svn path=/head/; revision=161686
* correct install locationSam Leffler2006-03-211-1/+1
| | | | | | | Submitted by: Ceri Davies (slightly modified) Notes: svn path=/head/; revision=156957
* First pass at trimming package set down. Disc2 is still too bigKen Smith2006-03-171-5/+0
| | | | | | | | even with this but we're still deciding exactly what to do about that. Notes: svn path=/head/; revision=156793
* The ltmdm port is marked as NO_PACKAGE now.Ken Smith2006-03-161-2/+1
| | | | Notes: svn path=/head/; revision=156781
* kernel install script (missed in previous commit)Sam Leffler2006-03-081-0/+43
| | | | Notes: svn path=/head/; revision=156437
* Remove the ports version of bsdiff - it is now in the base system.David E. O'Brien2005-12-071-1/+0
| | | | Notes: svn path=/head/; revision=153218
* Remove the ports version of portsnap - it is now in the base system.David E. O'Brien2005-12-071-1/+0
| | | | Notes: svn path=/head/; revision=153215
* It had been noticed disc2 was overflowing earlier but committing theKen Smith2005-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... Notes: svn path=/head/; revision=151985
* Provide 32-bit runtime support on amd64 as a separate distribution, lib32.Ruslan Ermilov2005-06-161-0/+8
| | | | | | | | | Prodded by: obrien Nodded by: peter Approved by: re Notes: svn path=/head/; revision=147425
* Put gnome-lite and kde-lite on disc2 for ia64. The full gnome and kdeMarcel Moolenaar2005-05-031-4/+8
| | | | | | | | | packages is causing the disc2 ISO to overflow in excess of 100MB. MFC after: 2 days Notes: svn path=/head/; revision=145814
* Remove only the packages sub-directory before recreating it. Do notMarcel Moolenaar2005-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 Notes: svn path=/head/; revision=145813
* Needed to drop "lang/gnat", "print/teTeX", and "textproc/docproj-jadetex"Ken Smith2005-04-171-3/+0
| | | | | | | | | to make the packages fit on the CDs... MFC after: 3 days Notes: svn path=/head/; revision=145213
* Remove the print/acroread package due to licensing concerns.Ken Smith2005-03-311-1/+0
| | | | | | | | | Requested by: trevor (acroread maintainer) Seconded by: Mark Linimon, Joerg Wunsch MFC after: 1 day Notes: svn path=/head/; revision=144390
* - Use the extend method of list objects to append a new list rather than aJohn Baldwin2005-03-211-11/+6
| | | | | | | | | | bunch of append calls when adding more ports to an existing list. - Remove the compatXY packages from disc1 as they are only intended for use on 5.x (6.x doesn't have them as dists anymore) and on 5.x they aren't packages but are old-fashioned distribution tarballs anyway. Notes: svn path=/head/; revision=143942
* - Always include x11/xorg on disc1 as it does exist for ia64 (I must haveJohn Baldwin2005-03-211-2/+4
| | | | | | | | | | | | | misread print-cdrom-packages.sh). - Include x11/xorg-manpages and devel/imake-6 since xorg doesn't pull those in as requirements. Not including manpages is a bug IMO. - Add security/freebsd-update to disc2, not sure why I left this one out but I did by accident. Reported by: kensmith (2), cpercival (3) Notes: svn path=/head/; revision=143941
* Retire print-cdrom-packages.sh as it has been replaced.John Baldwin2005-03-211-218/+0
| | | | Notes: svn path=/head/; revision=143939
* Add a new package splitting mechanism to replace print-cdrom-packages.sh.John Baldwin2005-03-212-0/+253
| | | | | | | | | | | | | | | | | | | | | The new system tries to be more automated so that there is less work for the re's to do. It also no longer uses a /usr/ports tree as its input, but uses the generated package build including its INDEX file as its input. It parses the INDEX file, determines which packages should go on which ISO images, and then builds full-fledged trees of packages that can be added as an argument to mkisofs along with the tree built by 'make release' to build a full CD image. The INDEX files in the populated trees are generated with volume media number to make use of sysinstall's multiple volume support so that the user is kindly prompted to insert the appropriate disc for a package if it is not on the current disc. There is still some more tweaking to be done here, but this part needs to be committed. This stuff will all be used to prep the 5.4 release as well. Tested by: kensmith, others on re@ Reviewed by: re Notes: svn path=/head/; revision=143938