History log of /freebsd-10.0-release/release/generate-release.sh
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 259065 07-Dec-2013 gjb

- Copy stable/10 (r259064) to releng/10.0 as part of the
10.0-RELEASE cycle.
- Update __FreeBSD_version [1]
- Set branch name to -RC1

[1] 10.0-CURRENT __FreeBSD_version value ended at '55', so
start releng/10.0 at '100' so the branch is started with
a value ending in zero.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


# 251650 12-Jun-2013 nwhitehorn

Add missing copyright notice.


# 246283 03-Feb-2013 hrs

- Add CHECKSUM.* support in Makefile[1].
- 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]


# 245346 12-Jan-2013 hrs

Set WITHOUT_SVN=yes for textproc/docproj.

Submitted by: gjb


# 240967 26-Sep-2012 gjb

- Allow cross-architecture builds with 'generate-release.sh', which
is set by specifying '-a <arch>'. (Only supported for i386 on amd64
and powerpc on powerpc64 currently).
- Change how textproc/docproj is installed:
o Attempt to install from pkg(8);
o Fall back to pkg_add(1) if pkg(8) installation is not
successful;
o Fall back to installing from ports as last resort.
- Ensure the script is run by root[1].
- Get OSVERSION from param.h[1].

Provided by: glebius [1]
Reviewed by: nwhitehorn, kensmith
Approved by: kensmith
MFC After: 2 weeks
X-Needs-MFC: r240586, r240587, r240588


# 240587 17-Sep-2012 gjb

Update usage() in comment section.
Remove CVS_* variables in comments.

MFC after: 1 week
X-MFC-With: r240586


# 240586 17-Sep-2012 gjb

Update generate-release.sh script:

- Use svn for ports and doc trees
- When installing a binary textproc/docproj package,
switch pkg_add(1) to pkg(8) [1]

Reviewed by: nwhitehorn
Approved by: nwhitehorn
Enhanced by: glebius [1]
MFC After: 1 week
X-MFC-To: 9-only


# 230128 15-Jan-2012 glebius

Use getopts instead of getopt(1).

Suggested by: jilles


# 230107 14-Jan-2012 glebius

Autoguess number of make jobs based on hw.ncpu. MAKE_FLAGS
can override this. While here move 'mkdir' down below 'set -e'.


# 230106 14-Jan-2012 glebius

- Add possibility to build release from a certain revision, supplied
via -r.
- To ease adding new features, roll out a getopt loop here.

Reviewed by: nwhitehorn


# 227536 15-Nov-2011 nwhitehorn

Further automate production release generation by naming files the right
things and generating checksums.

MFC after: 1 week


# 223897 09-Jul-2011 nwhitehorn

Per request of the docs team, install docs as packages, instead of via
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


# 222074 18-May-2011 nwhitehorn

As requested by many people, with final prodding from Jason Hall, fix this
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.


# 221510 05-May-2011 nwhitehorn

Simplify this script somewhat, following excellent suggestions from
Ed Schouten.


# 221419 04-May-2011 nwhitehorn

Make sure to run make obj before release. Trying to run them in one step
doesn't always work reliably.


# 220542 11-Apr-2011 nwhitehorn

Don't do make release and make install in one step. Setting DESTDIR for
make release has deleterious consequences.


# 220540 11-Apr-2011 nwhitehorn

Add an install target to release/Makefile instead of grubbing around
(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.


# 220082 27-Mar-2011 nwhitehorn

Copy all generated ISO images into the release area.


# 220037 26-Mar-2011 nwhitehorn

Cause the release target to set up its object directory. It is designed
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).


# 219788 19-Mar-2011 nwhitehorn

Add support for checking out ports and doc trees from a CVS repository,
in addition to CVSUP, and add support for alternate SVN roots for src.

Requested by: jhb


# 219641 14-Mar-2011 nwhitehorn

Thanks to sysinstall for its 15 years of service. And now to sleep,
perchance to dream...


# 219616 13-Mar-2011 nwhitehorn

Fix some typos due to unremoved commented-out lines. A great big pointy
hat goes to me for this one.


# 219610 13-Mar-2011 nwhitehorn

Connect the full doc build (Handbook, etc.) to the build. This is not built
if no doc checkout is found.


# 219508 11-Mar-2011 nwhitehorn

Add a wrapper script for Makefile.bsdinstall that does the source
checkout/chroot/compile/release dance that the existing release Makefile
does for those who want a totally pristine release build.