Commit Graph

7036 Commits

Author SHA1 Message Date
cperciva
cbabb678ca Add code for creating an EC2 AMI. 2015-04-01 00:00:17 +00:00
cperciva
30e3acf20a It would help if I committed the right patch... 2015-03-31 04:35:35 +00:00
cperciva
2d3f9a1b0b Partially revert r278118 now that the required logic for deciding whether
freebsd-update can be useful has moved into the firstboot_freebsd_update
script.
2015-03-31 01:44:29 +00:00
cperciva
763a23e973 Add bits for building EC2 disk images. Make logic for uploading these
to create EC2 AMIs will come in a later commit.
2015-03-31 01:28:33 +00:00
gjb
b4b14712b0 Sigh. s/AutoSize/Growfs/ following upstream commit r761.
MFH:		3 days
Sponsored by:	The FreeBSD Foundation
2015-03-30 19:08:37 +00:00
cperciva
421e560425 Improve check for whether ${DESTDIR}/dev is mounted.
Submitted by:	gcooper
2015-03-30 09:08:24 +00:00
cperciva
e41362f7d1 Clean up filesystem unmounting in vmimage builds:
* Remove vm_umount_base function which is currently unused.
* Add umount_loop function which loops attempting to unmount one filesystem.
* Replace calls to umount with calls to umount_loop.
* Don't attempt to unmount ${DESTDIR}/dev if it isn't mounted.

The looping is necessary because sometimes umount fails due to filesystems
being busy.  The most common cause of such busyness is periodic(8) jobs
running `find / ...`.

Reviewed by:	gjb
2015-03-30 08:33:19 +00:00
gjb
b24b75c074 Crochet sources moved to a new home; update accordingly.
MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
2015-03-25 22:08:02 +00:00
cperciva
f1bd255f86 When creating VM images, copy the contents of the created filesystem into
a new filesystem before packaging it into a disk image.  This prevents
"remnants" of deleted files from showing up in the VM images, and reduces
their compressed size (by about 10% for the cloudware images) as a result.

Looks good to:	gjb
2015-03-20 19:40:19 +00:00
gjb
32c23d98d1 Document r279663, qsort(3) enhancements.
Sponsored by:	The FreeBSD Foundation
2015-03-16 15:54:53 +00:00
gjb
a112819caa Document r279571, freebsd-update(8) will not download updates when
a previous upgrade is not complete.
Add ScaleEngine Inc to sponsors.ent.

Sponsored by:	The FreeBSD Foundation
2015-03-16 15:54:50 +00:00
gjb
3c9489579b Document r279463, iovctl(8) rc(8) script.
Add Sandvine Inc to sponsors.ent.

Sponsored by:	The FreeBSD Foundation
2015-03-16 15:54:47 +00:00
gjb
2d8306c4fd Document r279361, kern.osrelease and kern.osreldate sysctls are
now configurable jail(8) parameters.

Sponsored by:	The FreeBSD Foundation
2015-03-16 15:54:43 +00:00
gjb
bd3faa8edf Document r279315, uefisign(8) addition.
Sponsored by:	The FreeBSD Foundation
2015-03-16 15:54:41 +00:00
gjb
2037e417b7 Document r279252, pmap(9) overhaul for 64-bit PowerPC processors.
Sponsored by:	The FreeBSD Foundation
2015-03-16 15:54:38 +00:00
gjb
d01ef1bfbe Document r279189, VSX support.
Sponsored by:	The FreeBSD Foundation
2015-03-16 15:54:35 +00:00
gjb
c2ad88762d Document r279186, setmode(3) set errno on failure.
Sponsored by:	The FreeBSD Foundation
2015-03-16 15:54:32 +00:00
gjb
690cca64c6 Document r278970, acpi(4) update to 20150204.
Sponsored by:	The FreeBSD Foundation
2015-03-16 15:54:29 +00:00
gjb
7665c62d04 Properly evaluate XZ_CMD from the chroot.
Sponsored by:	The FreeBSD Foundation
2015-03-02 18:10:58 +00:00
gjb
9ffc8ca9a2 Use xz(1) to compress FreeBSD/arm images.
Sponsored by:	The FreeBSD Foundation
2015-03-02 18:04:57 +00:00
gjb
1a0d38818e Add a CLOUDPACKAGE variable to contain a list of targets for
post-install packaging cloud provider images.

Add a 'gce-package.sh' script to generate the final output
image ready for upload to the GCE platform.  Right now, this
is the only image that has a specific output format (GNU-tar),
and this implementation is expected to be temporary.

This is not directly connected to the other release targets.

MFC after:	1 week
X-MFC-with:	r279249, r279250
Sponsored by:	The FreeBSD Foundation
2015-02-24 22:27:02 +00:00
gjb
a068ff8444 Remove a stale comment.
MFC after:	1 week
X-MFC-with:	r279249
Sponsored by:	The FreeBSD Foundation
2015-02-24 21:16:57 +00:00
gjb
3bcf3bd6f0 Add 'cloudware-install' target to handle copying cloud
disk images to a directory within DESTDIR.

Add CLOUDINSTALL variable to automatically generate the
actual list of install targets.  While here, rename the
cloud-specific names from 'vm-' to 'cw-' to avoid naming
collisions.

Add AZURE_DISK, GCE_DISK, and OPENSTACK_DISK output file
variables.

Add 'cloudware-install' to the 'install' target.

MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
2015-02-24 21:06:25 +00:00
gjb
04ae1498be Default XZ_THREADS=0, and add to RELEASE_RMAKEFLAGS
so it is passed to the 'release' make(1) target if
it needs to be adjusted to a non-zero integer.

Sponsored by:	The FreeBSD Foundation
2015-02-20 18:51:52 +00:00
gjb
0e2a9d3d0f Fix wording in entry for r278934.
Submitted by:	markj
Sponsored by:	The FreeBSD Foundation
2015-02-20 18:42:00 +00:00
gjb
989552348a Document r275140, pmc callchain depths increased.
Sponsored by:	The FreeBSD Foundation
2015-02-20 18:06:11 +00:00
gjb
4023d6210b Fix a typo in r278037 entry: s/cam/ctl/
Submitted by:	mav
Sponsored by:	The FreeBSD Foundation
2015-02-20 17:56:27 +00:00
gjb
4c2fc40c57 Update the commented last revision.
Sponsored by:	The FreeBSD Foundation
2015-02-20 17:46:20 +00:00
gjb
4f42c73b33 Document r278926, 'make release' now uses multi-threaded
xz(1).

Sponsored by:	The FreeBSD Foundation
2015-02-20 17:46:18 +00:00
gjb
830071cefe Document r278433, xz(1) update to 5.2.0.
Separately document multi-threaded support to keep the
version update separate, so it remains correct if xz(1)
is updated again.

Sponsored by:	The FreeBSD Foundation
2015-02-20 17:46:15 +00:00
gjb
8644fb9e6b Document r278354, ctld(8) update to control non-iSCSI CTL
ports

Sponsored by:	The FreeBSD Foundation
2015-02-20 17:46:12 +00:00
gjb
e757402c21 Document r278320, devctl(3) and devctl(8) added.
Sponsored by:	The FreeBSD Foundation
2015-02-20 17:46:10 +00:00
gjb
e4820d4cf3 Add a 'General Storage' section.
Document r278037, CAM LUN mapping rewrite.

Sponsored by:	The FreeBSD Foundation
2015-02-20 17:46:07 +00:00
gjb
18b6d2f2ab Document r278934, elf(3) dependency removed from dtri.o
Sponsored by:	The FreeBSD Foundation
2015-02-20 17:46:04 +00:00
gjb
1af0c37f67 Document r277990, powerpc64 kernel now built as
a position-independent executable

Sponsored by:	The FreeBSD Foundation
2015-02-20 17:46:02 +00:00
gjb
a0e81a4f8b Document r277904, '-s' option added to config(8).
Sponsored by:	The FreeBSD Foundation
2015-02-20 17:45:59 +00:00
gjb
4ea309ffe4 Document r277610, futimens(2) and utimensat(2) added.
Sponsored by:	The FreeBSD Foundation
2015-02-20 17:45:56 +00:00
rpaulo
e0f41bfbfb release: use xz via pipe when compressing the tarballs.
libarchive(3) doesn't support the new liblzma API yet, but this change
allows us to enable multi-threaded xz compression.
``make release'' should now finish in half the time on a machine with
several cores and fast disks (our typical build server).

This behaviour only applies when building a release and it doesn't
affect buildworld/installworld.  To disable threaded xz compression,
set XZ_THREADS=1.

Reviewed by:	gjb
Tested by:	gjb
2015-02-17 23:13:45 +00:00
cperciva
adc74e8335 Step 1 of eliminating the "games" distribution: Move binaries to /usr/bin;
update paths; and include everything in the "base" distribution.

The "games" distribution being optional made sense when there were more
games and we had small disks; but the "games-like" games were moved into
the ports tree a dozen years ago and the remaining "utility-like" games
occupy less than 0.001% of my laptop's small hard drive.  Meanwhile every
new user is confronted by the question "do you want games installed" when
they they try to install FreeBSD.

The next steps will be:

2. Removing punch card (bcd, ppt), phase-of-moon (pom), clock (grdc), and
caesar cipher (caesar, rot13) utilities.  I intend to keep fortune, factor,
morse, number, primes, and random, since there is evidence that those are
still being used.

3. Merging src/games into src/usr.bin.

This change will not be MFCed.

Reviewed by:	jmg
Discussed at:	EuroBSDCon
Approved by:	gjb (release-affecting changes)
2015-02-12 05:35:00 +00:00
gjb
91ae04df56 Bump copyright, forgotten in r278502.
MFC after:	1 week
X-MFC-with:	r277458, r277536, r277606, r277609,
		r277836, r278118, r278119, r278206,
		r278502
Sponsored by:	The FreeBSD Foundation
2015-02-10 12:38:39 +00:00
gjb
d3b69535ba In scripts/mk-vmimage.sh, prevent incorrect usage() by
defaulting VMCONFIG to /dev/null, and additionally
ensuring VMCONFIG is not a character device before it
is sourced.

While here, be sure to exit if usage() is called.

This should effectively be no-op, but the usage() output
was discovered while investigating a larger issue.

MFC after:	1 week
X-MFC-with:	r277458, r277536, r277606, r277609,
		r277836, r278118, r278119, r278206
Sponsored by:	The FreeBSD Foundation
2015-02-10 12:04:38 +00:00
gjb
4bc86263fa Revert r278445.
I was going to use __FreeBSD_version to determine if
xz(1) should be multi-threaded by default, but doing
this will cause problems if/when the changes are merged
from head.

Sponsored by:	The FreeBSD Foundation
2015-02-09 10:46:39 +00:00
gjb
da504cb140 Enable multi-threaded xz(1) compression, after r278433.
Allow multi-threaded xz(1) to be turned off by specifying
NO_XZTHREADS, and allow number of threads to be overridden
by specifying XZ_THREADS=N.

MFC after:	1 week
X-MFC-needs:	r278433
Sponsored by:	The FreeBSD Foundation
2015-02-09 10:42:27 +00:00
gjb
ea9a3d8b68 Define FREEBSD_VERSION in release/Makefile, derived
from sys/sys/param.h.

Sponsored by:	The FreeBSD Foundation
2015-02-09 09:56:21 +00:00
gjb
e0863acde2 Bump copyright year.
Sponsored by:	The FreeBSD Foundation
2015-02-05 16:00:34 +00:00
gjb
4c852b7fe5 Security Advisory information is included on several
pages in the release notes.  Rather than duplicating
the information between various files, add two new
files to include in all pages that currently display
the information.

Sponsored by:	The FreeBSD Foundation
2015-02-05 15:46:01 +00:00
gjb
843b07f861 Add an entity to use to link to SAs and ENs.
Prefer https:// for other URLs.
While here, update release.prev.stable entity to
9.3-RELEASE.

Sponsored by:	The FreeBSD Foundation
2015-02-05 14:08:57 +00:00
gjb
781f145086 Bump copyright after r277458.
MFC after:	2 weeks
X-MFC-with:	r277458, r277536, r277606, r277609,
		r277836, r278118, r278119
Sponsored by:	The FreeBSD Foundation
2015-02-04 11:55:32 +00:00
gjb
2c9ed945e2 Use ifconfig_DEFAULT="" instead of hard-coding vtnet(4)
MFC after:	2 weeks
X-MFC-with:	r277458, r277536, r277606, r277609,
		r277836, r278118
Sponsored by:	The FreeBSD Foundation
2015-02-03 00:10:48 +00:00
gjb
103061b4c4 Move service_enable="YES" rc.conf(5) additions to
VM_RC_LIST and deduplicate.

Evaluate if firstboot_freebsd_update should be enabled
based on UNAME_r, because it is not supported for the
-CURRENT or -STABLE branches.

MFC after:	2 weeks
X-MFC-with:	r277458, r277536, r277606, r277609,
		r277836
Sponsored by:	The FreeBSD Foundation
2015-02-03 00:07:54 +00:00