Commit Graph

7283 Commits

Author SHA1 Message Date
Glen Barber
e8d7333d7d Fix the path to the UFS/MSDOSFS filesystem labels, since they
cannot possibly exist within the chroot(8) before the target
filesystem actually exists.

MFC after:	3 days
X-MFC-With:	r285018
Sponsored by:	The FreeBSD Foundation
2015-07-02 02:33:58 +00:00
Glen Barber
e07ca0423d Implement an evil workaround that prevents UFS/MSDOS labels from being
written to disk with newfs(8) and newfs_msdosfs(8).

When iterating through snapshot builds in serial, it is possible for
a build failure to leave stale md(4) devices behind, in some cases, they
could have a UFS or MSDOS filesystem label assigned.

If the md(4) is not destroyed (or not able to be destroyed, as has
happened recently due to my own fault), the filesystem label that
already exists can interfere with a new md(4) device that is targeted to
have the same label.

This behavior, although admittedly a logic error in the wrapper build
scripts, has caused intermittent reports (in particular with the armv6
builds) of missing UFS/MSDOSFS labels, causing the image to fallback to
the mountroot prompt.  This appears to only happen when the backing
md(4) device is destroyed before the calling umount(8) on the target
mount, after which the UFS/MSDOSFS label persists.

The workaround is this:  If EVERYTHINGISFINE is set to non-empty value,
check for an existing ufs/rootfs and msdosfs/MSDOSBOOT filesystem label
in arm_create_disk(), and rm(1) them if they exist.

The EVERYTHINGISFINE variable is chosen because it is used in exactly
one other place - release/Makefile.mirrors - and there are big scary
warnings at the top of that file as well that it should *not* be used
under normal circumstances.  This should not destroy a build machine
that also uses '/dev/ufs/rootfs' as the UFS label, and I have verified
in extensive local testing that the destroyed label is recreated when
the md(4) is unmounted/mounted, but this really should not be enabled
by anyone.

Having said all that, I absolutely *do* plan MFC this to stable/10 for
the 10.2-RELEASE cycle, as so far, I have only observed this behavior
on stable/10, but this is a temporary solution until I can unravel all
of the failure paths to properly trap them.

MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
2015-07-02 02:13:20 +00:00
Glen Barber
57d94a19cb Remove the HH-MM suffix from the build date suffix.
It was useful when working out several kinks when
testing automated image uploading when retrying was
necessary, but now it is making things much too messy.

MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
2015-07-01 14:51:26 +00:00
Glen Barber
2206ec827c Refine the lockstat(1) entry based on corrections and
clarifications received during review.

Submitted by:	avg
Sponsored by:	The FreeBSD Foundation
2015-07-01 10:33:19 +00:00
Glen Barber
4079836c5e Fix the gcloud port/package name.
MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
2015-07-01 08:48:49 +00:00
Glen Barber
811fc8fd4b Default the VAGRANT_VERSION to ${REVISION}-${BRANCH} if
not set, which expands to '11.0-CURRENT', for example.

If the branch is -CURRENT, -STABLE, or -PRERELEASE, suffix
the VAGRANT_VERSION with the snapshot date.

MFC after:	3 days
X-MFC-Needs:	r284893, r284895, r284896, r284897, r284942
Tested with:	head@r284961 (patched)
Sponsored by:	The FreeBSD Foundation
2015-06-30 19:18:08 +00:00
Brad Davis
f19a742ff1 Add Support for uploading Vagrant images to Hashicorp Atlas.
Approved by:	re (gjb)
2015-06-29 21:26:41 +00:00
Glen Barber
8c4b4cc3ba Instead of hard-coding the PROVIDERS for upload, add the
VAGRANT_PROVIDERS variable.  Right now, it defaults to only
vmware_desktop, virtualbox support is to follow at some point.

While here, fix the hashicorp URL: s/vagrant/atlas/, which
was result of a sed(1) replace (and my fault).

Sponsored by:	The FreeBSD Foundation
2015-06-27 23:03:28 +00:00
Glen Barber
02158ab011 Remove _ACCOUNT and add _USERNAME, _NAME, _VERSION for the
VAGRANT_${VAR} variables extracted from VAGRANT_UPLOAD_CONF.

Set ATLAS_${VAR} to VAGRANT_${VAR} if VAGRANT_UPLOAD_CONF
is set.  There is intent to intentionally have separate
variants of configuration entries, but the defaults do not
yet have any reason to be different.

Sponsored by:	The FreeBSD Foundation
2015-06-27 22:59:29 +00:00
Glen Barber
bf97d722f3 Add default VAGRANT_IMG variable.
Sponsored by:	The FreeBSD Foundation
2015-06-27 22:54:16 +00:00
Brad Davis
41f7db3a4f Add initial support for building Vagrant images for VMWare. Next steps will be adding Virtualbox support and uploading to Hashicorp Atlas for others to consume.
Approved by:	re (gjb)
2015-06-27 20:39:13 +00:00
Glen Barber
225e861d92 Fix a vi-invoked typo.
Submitted by:	jkim (privately)
Sponsored by:	The FreeBSD Foundation
2015-06-27 05:18:08 +00:00
Glen Barber
eb64cd58f5 Add initial support for automatically uploading GCE virtual
machine images to the Google Compute Engine platform.

By default, gcutil/gsutil requires an Oauth2 login generated
from a URL that must be opened in a browser, a verification
code copied back to the terminal from which it was invoked,
etc., etc., making it near impossible for automation.

I've hacked together an evil solution to work around this,
so unless GCE_LOGIN_SKIP is set to a non-empty value, this
Makefile will not do anything useful.

As a result of this commit, remove the gce-package.sh script
that was never, nor will ever be, used.

MFC after:	3 days
X-MFC-Note:	(hopefully)
Sponsored by:	The FreeBSD Foundation
2015-06-27 01:29:59 +00:00
Glen Barber
787c8cb62d Clarify the note about Thumb-2 kernel support.
Submitted by:	andrew
Sponsored by:	The FreeBSD Foundation
2015-06-26 13:33:46 +00:00
Glen Barber
ac89815f46 Revert r284860. I was looking at the wrong files.
Sigh.

Sponsored by:	The FreeBSD Foundation
2015-06-25 20:46:11 +00:00
Glen Barber
de5ab6b0ab Fix an incorrect revision number.
Sponsored by:	The FreeBSD Foundation
2015-06-25 20:40:51 +00:00
Glen Barber
695cc321dd Document r284237, file(1) updated to 5.23.
Sponsored by:	The FreeBSD Foundation
2015-06-25 18:44:59 +00:00
Glen Barber
4a1cddceea Document r283092, ACPICA updated to 20150515.
Sponsored by:	The FreeBSD Foundation
2015-06-25 18:44:57 +00:00
Glen Barber
dac680af91 Document r284329, OpenSSL update to 1.0.1o.
Sponsored by:	The FreeBSD Foundation
2015-06-25 18:44:55 +00:00
Glen Barber
23789c2c01 Document r258431, boot-time memory test on amd64 platforms is now
disabled by default.

Sponsored by:	The FreeBSD Foundation
2015-06-25 18:44:53 +00:00
Glen Barber
1610583cd3 Document r279955, autofs(5) '-noauto' map addition.
Sponsored by:	The FreeBSD Foundation
2015-06-25 18:44:50 +00:00
Glen Barber
d2b19afb40 Document r275681, autofs(5) '-media' map addition.
Sponsored by:	The FreeBSD Foundation
2015-06-25 18:44:48 +00:00
Glen Barber
5bdf94263a Update the svn revision marker.
Sponsored by:	The FreeBSD Foundation
2015-06-25 18:44:46 +00:00
Glen Barber
9103fff5c6 Document r284746, TSO and checksum offloading support in hv_netvsc(4).
Sponsored by:	The FreeBSD Foundation
2015-06-25 18:44:44 +00:00
Glen Barber
76e2f33e15 Add missing '-' in Hyper-V.
Sponsored by:	The FreeBSD Foundation
2015-06-25 18:44:42 +00:00
Glen Barber
137fdb968f Document r284702, uart(4) update to support AMT on newer systems.
Sponsored by:	The FreeBSD Foundation
2015-06-25 18:44:40 +00:00
Glen Barber
8db57f8f88 Document r284589, fstyp(8) now recognizes ZFS and GELI filesystems.
Sponsored by:	The FreeBSD Foundation
2015-06-25 18:44:38 +00:00
Glen Barber
8f2fa16335 Move the crypt(3) entries from userland-programs to
userland-libraries.

Sponsored by:	The FreeBSD Foundation
2015-06-25 18:44:36 +00:00
Glen Barber
a597a84726 Document r284483, Blowfish crypt(3) now supports $2y$ format.
Sponsored by:	The FreeBSD Foundation
2015-06-25 18:44:34 +00:00
Glen Barber
0fe3d4920c Document r284297, lockstat(1) improvements.
Add ClusterHQ to sponsors.ent.

Sponsored by:	The FreeBSD Foundation
2015-06-25 18:44:31 +00:00
Glen Barber
9ce56cbcd9 Document r284273, initial ACPI support for aarch64.
Sponsored by:	The FreeBSD Foundation
2015-06-25 18:44:29 +00:00
Glen Barber
1f08cff1b8 Document r284254, bmake updated to 20150606.
Sponsored by:	The FreeBSD Foundation
2015-06-25 18:44:27 +00:00
Glen Barber
d2b74ce141 Document r283959, EM_MULTIQUEUE kernel configuration option.
Sponsored by:	The FreeBSD Foundation
2015-06-25 18:44:25 +00:00
Glen Barber
0a994ce7e8 Document r283766, improved hang detection in em(4).
Sponsored by:	The FreeBSD Foundation
2015-06-25 18:44:22 +00:00
Glen Barber
fb273beed9 Document r283766, ig4(4) addition.
Sponsored by:	The FreeBSD Foundation
2015-06-25 18:44:20 +00:00
Glen Barber
573d5bf4f6 Document r283136, net.inet.tcp.hostcache.purgenow addition.
Sponsored by:	The FreeBSD Foundation
2015-06-25 18:44:18 +00:00
Glen Barber
f9729e4d58 Document r282988, alloc_align() added to malloc.h and stdlib.h.
Sponsored by:	The FreeBSD Foundation
2015-06-25 18:44:16 +00:00
Glen Barber
bea3671eb6 Document r282973, libgomp no longer built by default, unless building
the base system GCC.

Sponsored by:	The FreeBSD Foundation
2015-06-25 18:44:14 +00:00
Glen Barber
5496fccfcb Document r282901, RACCT/RCTL in GENERIC by default.
Sponsored by:	The FreeBSD Foundation
2015-06-25 18:44:12 +00:00
Glen Barber
48ba79fca8 Document r282827, BeagleBone Black power button support added.
Sponsored by:	The FreeBSD Foundation
2015-06-25 18:44:10 +00:00
Glen Barber
9adece2529 Document r282783, freescale PCI Root Complex support added.
Sponsored by:	The FreeBSD Foundation
2015-06-25 18:44:08 +00:00
Glen Barber
c2d3d668ed Document r282779, Thumb-2 support for ARMv7 added.
Sponsored by:	The FreeBSD Foundation
2015-06-25 18:44:06 +00:00
Glen Barber
27d233f7cc Change the hour:minute delimiter from ':' to '-', since
the former is an invalid character in EC2 images.

MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
2015-06-25 14:24:06 +00:00
Glen Barber
3c3445e8c7 Consider PRERELEASE builds snapshots, in addition to CURRENT and
STABLE.

MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
2015-06-25 13:40:00 +00:00
Glen Barber
67076e4d58 Ensure ASSUME_ALWAYS_YES is set when deleting pkg(8) from the
DESTDIR, otherwise it can get stuck in ttyin.

This means no 10-STABLE EC2 images this week.

MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
2015-06-24 21:30:35 +00:00
Glen Barber
e5f5cbd42c Append the hour and minute to the snapshot suffix for EC2
AMIs and Azure VM images.  This is particularly helpful for
testing to avoid name collisions, but also useful for cases
where a necessary rebuild is done before the date changes.

MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
2015-06-21 12:37:31 +00:00
Glen Barber
798e3ec502 Chase r284656 and r284658:
Remove the Azure-local vm_extra_create_disk(), since we no longer
need qemu-img to convert the final VHD image to an Azure-compatible
format.

Although the waagent utility is installed from ports, create the
symlink to /usr/sbin, pending investigation on where this is
hard-coded, so it can be reported upstream.  In the meantime, this
is good enough.

MFC after:	3 days
X-MFC-Needs:	r284269, r284270, r284271, r284655,
		r284656, r284657, r284658, r284659
X-MFC-Note:	Required for 10.2-RELEASE, marcel@ has
		implicit approval for the required changes
Sponsored by:	The FreeBSD Foundation
2015-06-21 04:34:57 +00:00
Glen Barber
99b858f537 Fix path to waagent.
MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
2015-06-19 23:03:05 +00:00
Glen Barber
873fc70382 Add Makefile.azure, used to upload VHD images to the
Microsoft Azure environment, similar to the EC2 AMIs.

MFC after:	3 days
Tested with:	stable/10@r284517 (patched)
Sponsored by:	The FreeBSD Foundation
2015-06-18 19:20:00 +00:00
Glen Barber
633ce8aed1 Increase the FreeBSD/arm image sizes back to 1G for 11-CURRENT.
While 480M is sufficient for 10-STABLE, 11-CURRENT images at
this size fail due to insufficient space.

This commit is solely for the sake of getting updated snapshot
builds out, after which I'll analyze the resulting images to
figure out what a more sane value is, even if the image size
for 11-CURRENT needs to differ from 10-STABLE.

Sponsored by:	The FreeBSD Foundation
2015-06-18 10:26:27 +00:00