summaryrefslogtreecommitdiffstats
path: root/release/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Allow overriding xz(1) path.gjb2014-04-031-1/+2
| | | | | | | Requested by: marck MFC After: 5 days X-MFC-With: r264027,r264028,r264029,r264030,r264046 Sponsored by: The FreeBSD Foundation
* Use xz(1) instead of gzip(1) to compress release imagesgjb2014-04-021-3/+3
| | | | | | | | | when WITH_COMPRESSED_IMAGES is used. Requested by: delphij, brooks, Nikolai Lifanov MFC After: 1 week X-MFC-With: r264027,r264028,r264029,r264030 Sponsored by: The FreeBSD Foundation
* If WITH_COMPRESSED_IMAGES is set, add the compressed images togjb2014-04-011-0/+5
| | | | | | | | the CLEANFILES list. MFC after: 1 week X-MFC-With: r264027,r264028,r264029 Sponsored by: The FreeBSD Foundation
* Fix logic error: s/||/&&/gjb2014-04-011-1/+1
| | | | | | | Pointyhat: gjb MFC after: 1 week X-MFC-With: r264027,r264028 Sponsored by: The FreeBSD Foundation
* Clean up trailing whitespace in release/Makefile.gjb2014-04-011-4/+4
| | | | | | MFC after: 1 week X-MFC-With: r264027 Sponsored by: The FreeBSD Foundation
* Add a new release build variable, WITH_COMPRESSED_IMAGES.gjb2014-04-011-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | When set to a non-empty value, the installation medium is compressed with gzip(1) as part of the 'install' target in the release/ directory. With gzip(1) compression, downloadable image are reduced in size quite significantly. Build test against head@263927 shows the following: bootonly.iso: 64% smaller disc1.iso: 44% smaller memstick.img: 47% smaller mini-memstick.img: 65% smaller dvd1.iso: untested This option is off by default, I would eventually like to turn it on by default, and remove the '-k' flag to gzip(1) so only compressed images are published on FTP. Requested by: wkoszek MFC After: 1 week Sponsored by: The FreeBSD Foundation
* In release/Makefile, remove exclusion of CVS directories in thegjb2014-02-261-2/+2
| | | | | | | | | src/ and ports/ distributions. While I am thinking about it, exclude .git directories for src/ and ports/, as somewhat of a followup to r262499. Sponsored by: The FreeBSD Foundation
* etcupdate should use the src tree from where the release is built, notjhay2014-02-171-1/+1
| | | | | | the default (/usr/src) tree. MFC after: 2 weeks
* Update the pkg-stage target to be more compatible with pkg-1.2:gjb2014-01-161-3/+3
| | | | | | | | | | | | | | | | | | - 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
* Bootstrap etcupdate(8) as part of the release build, similargjb2013-12-221-0/+2
| | | | | | | | | to what is done for mergemaster(8). This allows etcupdate(8) to work out-of-box after the first upgrade of a system. Submitted by: jhb MFC after: 3 days Sponsored by: The FreeBSD Foundation
* Add a pkg(8) repository configuration file for cdrom-based packagegjb2013-12-151-0/+4
| | | | | | | | | | | 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
* Reduce disc1.iso size by 74MB by removing lib32 libraries, sendmail,gjb2013-12-141-1/+1
| | | | | | | | and atf. MFC after: 3 days X-MFC-To-10: immediate (-RC2 requirement) Sponsored by: The FreeBSD Foundation
* Ensure WITH_DVD is not empty to prevent 'WITH_DVD= ' from evaluatinggjb2013-12-051-1/+1
| | | | | | | | | to true. Submitted by: hrs MFC after: 3 days X-MFC-to-10: immediate Sponsored by: The FreeBSD Foundation
* Turn off the dvdrom target by default. dvd1.iso is now built bygjb2013-12-021-2/+2
| | | | | | | | | | specifying 'WITH_DVD=1' during 'make release'. This caused some problems during the freebsd-update builds for 10.0-BETA4. MFC after: 3 days Sponsored by: The FreeBSD Foundation
* Use standard CLEANFILES/CLEANDIRS and clean target in bsd.obj.mk.hrs2013-12-011-9/+5
|
* - Prevent TARGET and TARGET_ARCH from being defined as empty whenhrs2013-12-011-4/+8
| | | | | TARGET="" and/or TARGET_ARCH="" is specified. - Remove extra ().
* Add NOPKG to disable pkg-stage.hrs2013-11-301-1/+2
|
* Document the dvdrom target and NODVD variable, forgotten with r258310.gjb2013-11-271-0/+2
| | | | | MFC after: 3 days Sponsored by: The FreeBSD Foundation
* Remove WITHOUT_PROFILE=1 for the dvd1.iso medium.gjb2013-11-181-2/+1
| | | | | | | Requested by: hrs MFC after: 3 days X-MFC-With: r258310 Sponsored by: The FreeBSD Foundation
* Add the 'dvd1.iso' target. This mimics the 'release.iso' target,gjb2013-11-181-1/+35
| | | | | | | | | | | | | | | 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. MFC after: 3 days X-MFC-With: r258305, r258307, r258308, r258309 Sponsored by: The FreeBSD Foundation
* Use the IMAGES variable to determine which image files to removegjb2013-11-181-1/+1
| | | | | | | as part of 'make -C /usr/src/release clean'. MFC after: 3 days Sponsored by: The FreeBSD Foundation
* Remove extra target from 'memstick' that I forgot to remove beforegjb2013-11-071-1/+1
| | | | | | | | | previous commit. MFC after: 1 week X-MFC-After: 10.0-RELEASE X-MFC-With: r257805 Sponsored by: The FreeBSD Foundation
* Add a 'mini-memstick.img' release target, which will use thegjb2013-11-071-1/+8
| | | | | | | | | | | | | | | | | 'bootonly.iso' components to create a smaller memory stick image. This is useful for system recovery, where a full memstick.img image is not necessarily needed (or wanted). In addition, it is possible to do bootonly-style installation, where the base.txz, kernel.txz, etc. are fetched from a remote source. Provide backwards-compatible target (mini-memstick), to keep in sync with the targets documented in release/Makefile. Prompted by: wblock MFC after: 1 week X-MFC-after: 10.0-RELEASE Sponsored by: The FreeBSD Foundation
* Reduce disc1.iso image size by installing the userland withgjb2013-10-131-1/+2
| | | | | | | | the WITHOUT_PROFILE=1 option set, trimming 56MB from the image. Approved by: re (glebius) MFC after: 1 week Sponsored by: The FreeBSD Foundation
* Remove BIND.des2013-09-301-2/+1
| | | | Approved by: re (gjb)
* For consistency with previous releases, name the cdrom installgjb2013-07-221-5/+6
| | | | | | | | | cd 'disc1.iso'. Discussed with: re@ team Approved by: kib (mentor) MFC after: 3 days X-MFC-To: stable/9 only
* Create memstick images with the '.img' filename extension.gjb2013-07-211-5/+6
| | | | | | | Requested by: many Approved by: kib (mentor) MFC after: 3 days X-MFC-To: stable/9 only
* Convert old make variable modifiers :U and :L to bmake :tu and :tl.tijl2013-06-021-2/+2
| | | | Reviewed by: sjg
* - Add CHECKSUM.* support in Makefile[1].hrs2013-02-031-3/+22
| | | | | | | | | | | | - Use ln -fs to create a symlink. - Remove pkgadd for docports. - Use WITHOUT_JADETEX=yes instead of WITH_JADETEX=no. - Add {WORLD,KERNEL}_FLAGS to [BTWK]MAKE. - Use makefs(8) and gpart(8) for sparc64 ISO image[2]. - Add publisher option to makefs(8)[2]. Based on work by: gjb[1] Discussed with: marius, nwhitehorn[2]
* Prevent including .zfs snapshot directories in the src.txzgjb2012-11-111-1/+1
| | | | | | | | | | distribution. This can happen if the src/ tree checkout is within its own ZFS dataset, and the 'snapdir' ZFS property is set to 'visible.' Approved by: hrs MFC after: 3 days X-MFC-To: stable/9 only
* Exclude potential circular symlinkemaste2012-10-151-1/+1
| | | | | This does not occur with normal release builds but can happen when reusing these release parts for other purposes.
* Exclude potential circular symlink when creating src tarball.emaste2012-10-111-1/+1
| | | | | | | Normal release builds are not affected by this but it can happen if using these release bits against a work tree. Sponsored by: ADARA Networks
* Make sure not to tar up CVS directories if this ports tree is a CVSnwhitehorn2012-03-091-0/+1
| | | | | | | checkout. PR: bin/165868 MFC after: 5 days
* - Clean up extra ${.OBJDIR}.hrs2012-03-081-44/+45
| | | | | | | | - Add ${IMAGE} for the supported image files. This fixes the install target on FreeBSD/pc98. - Use "mkdir -p" instead of "-mkdir" consistently. Reviewed by: nwhitehorn
* Restore functionality to pack several kernels into release. Allglebius2012-01-151-1/+1
| | | | | | | | kernels specified by KERNCONF are built and packed into release. The first one is packed into kernel.txz, all others to kernel.CONFIG.txz. The first one is installed on bootables in /boot.
* Allow release generation from a WORLDDIR that is not /usr/srcsbruno2011-08-181-1/+1
| | | | | | | PR: misc/159666 Submitted by: Test Rat <ttsestt@gmail.com> Reviewed by: Nathan Whitehorn <nwhitehorn@freebsd.org> Approved by: re (kib)
* Per request of the docs team, install docs as packages, instead of vianwhitehorn2011-07-091-6/+1
| | | | | | | the normal distfile mechanism. Thanks to Marc Fonvieille for the patch and for putting up with me taking entirely too long to commit this! Submitted by: blackend
* Make the bootonly CD smaller by discarding static libraries that are notnwhitehorn2011-06-151-4/+4
| | | | useful without a toolchain.
* Do not install the rescue tools onto the install CD. Since it is readnwhitehorn2011-06-151-1/+2
| | | | | only, they are very unlikely to be needed and take up a great deal of space.
* As requested by many people, with final prodding from Jason Hall, fix thisnwhitehorn2011-05-181-4/+6
| | | | | | | | | | so that running make release causes make obj to be run before doing anything. This fixes a bug wherein, when run for the first time, and without -DNOSRC, make release would attempt to recursively tar up the src directory including its own output and enter an infinite loop. While here, make the cross-building stuff work a little more the way it should if only one of TARGET/TARGET_ARCH is specified.
* Mention the memstick target here.nwhitehorn2011-04-181-0/+1
|
* Add an install target to release/Makefile instead of grubbing aroundnwhitehorn2011-04-111-8/+13
| | | | | (and requesting that users grub around) in /usr/obj. Also make sure that make clean removes the bootonly media and clean up that target a little.
* Add infrastructure for generation of boot-only ISO images. These have anwhitehorn2011-03-271-2/+27
| | | | reduced world, though still reasonably complete for fixit purposes.
* Cause the release target to set up its object directory. It is designednwhitehorn2011-03-261-1/+1
| | | | | | to be a meta-target, and having it do this avoids it spewing files all over the source tree by default (and possible recursive tarring if distributing a src tarball).
* Use labels to find release media instead of hard-coded device paths. Thisnwhitehorn2011-03-221-2/+0
| | | | | | | | makes booting more reliable (and working at all on USB sticks). While here, move responsibility for setting up fstab into the various platform mk-*.sh scripts. Suggested by: many
* Thanks to sysinstall for its 15 years of service. And now to sleep,nwhitehorn2011-03-141-1408/+123
| | | | perchance to dream...
* Improve the distributeworld target in Makefile.inc1 and update the releasenwhitehorn2011-03-021-5/+3
| | | | | | | | | | 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.
* Get powerpc64 install CDs a little closer: some powerpc things should benwhitehorn2010-07-151-12/+21
| | | | | | | | used on powerpc64 as well (build scripts, for instance), and the MFS root must be adjusted upward on powerpc64 as well. This doesn't completely solve things: sysinstall stil needs some persuasion to deal with a default kernel named GENERIC64.
* Connect powerpc64 to the build. It is not presently part of make universe,nwhitehorn2010-07-131-6/+12
| | | | | | which will be added soon. Reviewed by: imp
* Shift the version of perl used by the release build process over tokensmith2010-04-091-1/+1
| | | | | | | | | perl-5.10. This aligns the release build process with the current default version of perl in the ports tree. I'll MFC this to all active branches. MFC after: 3 days
OpenPOWER on IntegriCloud