Commit Graph

7524 Commits

Author SHA1 Message Date
gjb
aaa682f0f3 Further refine the PAE_TABLES entry, based on feedback from
alc.

Sponsored by:	The FreeBSD Foundation
2015-07-26 17:57:35 +00:00
brueffer
10866857df Auto-generate hardware notes for pms(4).
MFC after:	1 week
Committed from:	Essen FreeBSD Hackathon
2015-07-24 21:55:16 +00:00
gjb
873d1b1d46 Refine the PAE_TABLES entry based on feedback from kib
and jhb.

Approved by:	re (implicit)
Sponsored by:	The FreeBSD Foundation
2015-07-23 18:11:52 +00:00
gjb
70dd4560e3 Fix an out-of-order execution issue regarding pkg(8):
- pkg(8) cannot be removed before subsequent reinvocations
- The PKG_CACHEDIR cannot be cleaned after the repo*.sqlite
  has been removed
- pkg(8) cannot be removed as a precursor to any of the other
  steps involved here

MFC after:	3 days
X-MFC-With:	r285722
X-MFC-Before:	10.2-{BETA3,RC1} (whichever happens next)
Sponsored by:	The FreeBSD Foundation
2015-07-21 03:18:53 +00:00
brd
8f7cde25f2 Add support for building VirtualBox Vagrant images.
Abstract the build, package and upload to handle building either type.

Approved by:	re (gjb)
2015-07-20 16:27:44 +00:00
gjb
2f5dac4d01 Document r285550, w(1) now displays the full IPv6 address of a remote
connected host.

Sponsored by:	The FreeBSD Foundation
2015-07-16 17:48:37 +00:00
gjb
f362cc00d2 Remove the r282727 entry for now, pending refinement based
on feedback from andrew@ and ian@.

Sponsored by:	The FreeBSD Foundation
2015-07-14 23:41:13 +00:00
gjb
af15caddee Document r279824, dtb module for AM335x systems.
Sponsored by:	The FreeBSD Foundation
2015-07-14 21:45:51 +00:00
gjb
75db2006a6 Document r278340, rpi.dtb installed into /boot/dtb for the
Raspberry Pi by default.

Sponsored by:	The FreeBSD Foundation
2015-07-14 21:45:48 +00:00
gjb
3c384f8ba6 Document r278338, rpi.dtb module.
Sponsored by:	The FreeBSD Foundation
2015-07-14 21:45:46 +00:00
gjb
ffe66059b7 Document r283514, sfxge(4) 7XXX-series NIC support.
Add Solarflare Communications to sponsors.ent.

Sponsored by:	The FreeBSD Foundation
2015-07-14 21:45:43 +00:00
gjb
747a9c2573 Document r282215, SIFTR kernel configuration option.
Sponsored by:	The FreeBSD Foundation
2015-07-14 21:45:40 +00:00
gjb
9507be92cb Document r281495, PAE_TABLES option.
Sponsored by:	The FreeBSD Foundation
2015-07-14 21:45:37 +00:00
gjb
f450d0edb7 Document r273849, timeo, actimeo, noac, proto mount_nfs(8) options.
Sponsored by:	The FreeBSD Foundation
2015-07-14 21:45:35 +00:00
gjb
7f509f95ff Reword the r282731 entry.
Sponsored by:	The FreeBSD Foundation
2015-07-14 20:10:16 +00:00
gjb
24690da437 Document r279950, bzipfs support in EFI loader.
Sponsored by:	The FreeBSD Foundation
2015-07-14 20:10:14 +00:00
gjb
fcee3d3002 Document r282731, ubldr is relocatable.
Sponsored by:	The FreeBSD Foundation
2015-07-14 20:10:12 +00:00
gjb
82ec4410f2 Document r282727, support for booting relocatable kernels extended
beyond non-EFI systems.

Sponsored by:	The FreeBSD Foundation
2015-07-14 20:10:09 +00:00
gjb
64ddc4efc1 Document r277962, support for booting relocatable PowerPC kernels.
Sponsored by:	The FreeBSD Foundation
2015-07-14 20:10:07 +00:00
gjb
94626637b3 Document r277644, AUDMUX, SDMA, SSI support.
Sponsored by:	The FreeBSD Foundation
2015-07-14 20:10:04 +00:00
gjb
cdb212d3c8 Document r268838, support for Toradex Apalis i.MX6 board.
Sponsored by:	The FreeBSD Foundation
2015-07-14 20:10:02 +00:00
gjb
195afcfc66 Document r266943, r267390: Support for Exynos 5420 and
SMP enabled by default.

Sponsored by:	The FreeBSD Foundation
2015-07-14 20:09:59 +00:00
gjb
14570b32ff Document r277042, support to poweroff the BeagleBone Black via
shutdown(8) and poweroff(8) added.

Sponsored by:	The FreeBSD Foundation
2015-07-14 20:09:57 +00:00
gjb
09aab96cad Fix another typo. Sigh.
Submitted by:	brueffer
Approved by:	re (implicit)
Sponsored by:	The FreeBSD Foundation
2015-07-14 17:01:55 +00:00
gjb
e946605736 Document r284125, cdce(4) support for RTL8153 chipset.
Submitted by:	Ben Woods
Sponsored by:	The FreeBSD Foundation
2015-07-14 16:56:59 +00:00
gjb
252466ccf8 Fix typo.
Submitted by:	matteo
Approved by:	re (implicit)
Sponsored by:	The FreeBSD Foundation
2015-07-14 15:38:45 +00:00
gjb
05a0acba04 Document r281440, psm(4) enhancements.
Sponsored by:	The FreeBSD Foundation
2015-07-14 01:32:04 +00:00
gjb
47d7ccb0d9 Document r275800, reaper facility.
Sponsored by:	The FreeBSD Foundation
2015-07-14 01:32:02 +00:00
gjb
3b87fa0935 Document r271918, fix for panic when destroying vnet jail with
gre(4).

Sponsored by:	The FreeBSD Foundation
2015-07-14 01:31:59 +00:00
gjb
ddd8cdf3fd Document r271917, fix for panic when destroying vnet jail with
gif(4).

Sponsored by:	The FreeBSD Foundation
2015-07-14 01:31:57 +00:00
gjb
6527bc2154 Document r272906, pfil(9) default hash change.
Sponsored by:	The FreeBSD Foundation
2015-07-13 20:07:17 +00:00
gjb
6e73ab3362 Document r278551, ral(4) support for Ralink RT5390 and RT5392
chipsets.

Sponsored by:	The FreeBSD Foundation
2015-07-13 20:07:14 +00:00
gjb
7f0aa6ff14 Document r282921, nvd(4) and nvme(4) included in GENERIC.
Add Intel to sponsors.ent (note, &intel; cannot be used here).

Sponsored by:	The FreeBSD Foundation
2015-07-13 20:07:11 +00:00
gjb
fe148a814c Document r273375, bhyve support for AMD processors with SVM/AMD-V.
Sponsored by:	The FreeBSD Foundation
2015-07-13 20:07:09 +00:00
gjb
407240d6e6 Sort by svn revision.
Sponsored by:	The FreeBSD Foundation
2015-07-13 18:53:50 +00:00
gjb
63817cc293 Remove duplicate file(1) version entry.
Sponsored by:	The FreeBSD Foundation
2015-07-13 18:53:48 +00:00
gjb
a4321358d1 Sort (yet again) by revision number.
Sponsored by:	The FreeBSD Foundation
2015-07-13 18:53:46 +00:00
gjb
881c9acee4 Reword previous mkimg(1) update.
Sponsored by:	The FreeBSD Foundation
2015-07-13 18:53:43 +00:00
gjb
a137cbf8a8 Document r279139, mkimg(1) '-c' option.
Sponsored by:	The FreeBSD Foundation
2015-07-13 18:53:41 +00:00
gjb
e2553b1294 s/vs/versus/ to make igor(1) happy.
Rewrap as result.

Sponsored by:	The FreeBSD Foundation
2015-07-13 18:53:38 +00:00
gjb
f79a0ee505 Document r276893, EFI support added to mkimg(1).
Sponsored by:	The FreeBSD Foundation
2015-07-13 18:53:36 +00:00
gjb
cea457f09f Document r282465, apple-boot, apple-hfs, apple-ufs support in gpart(8).
Sponsored by:	The FreeBSD Foundation
2015-07-13 18:53:34 +00:00
gjb
ce0c67cc96 Document r283307, mkimg(1) now used for i386 memstick images.
Sponsored by:	The FreeBSD Foundation
2015-07-13 15:45:02 +00:00
gjb
30cf1f47bf Document r277216, 510.status-world-kernel addition.
Sponsored by:	The FreeBSD Foundation
2015-07-13 15:44:59 +00:00
gjb
48db8330d0 Document r282693, native FreeBSD/arm build support in release tools.
Sponsored by:	The FreeBSD Foundation
2015-07-13 15:44:57 +00:00
gjb
919bfa54a5 Document r262955, 3wire ttys class.
Sponsored by:	The FreeBSD Foundation
2015-07-13 15:44:55 +00:00
gjb
79bb53be71 Sort by previous commit by revision ID.
Sponsored by:	The FreeBSD Foundation
2015-07-13 15:44:52 +00:00
gjb
b4e47a9a3c Document r273955, growfs rc(8) script addition.
Sponsored by:	The FreeBSD Foundation
2015-07-13 15:44:50 +00:00
gjb
4925868f37 Document r284683, ttyu{1,2,3} enabled by default on arm.
Sponsored by:	The FreeBSD Foundation
2015-07-13 15:44:47 +00:00
gjb
d4b19e72d5 Document r282613, nc(1) update to OpenBSD 5.7's version.
Sponsored by:	The FreeBSD Foundation
2015-07-13 15:44:45 +00:00
gjb
29628679df Fix revision for zoneinfo update.
Sponsored by:	The FreeBSD Foundation
2015-07-13 15:44:42 +00:00
gjb
49eb8210c2 Document r284398, tzdata update to 2015e.
Sponsored by:	The FreeBSD Foundation
2015-07-13 15:44:40 +00:00
gjb
c4e563926e Document r282608, date(1) update for compatibility with GNU.
Sponsored by:	The FreeBSD Foundation
2015-07-13 15:44:37 +00:00
gjb
eb8d3d79be Do not mount /var/log and /var/tmp as md(4)-backed devices.
Discussed with:	ian
MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
2015-07-12 19:17:05 +00:00
luigi
0f9bc3ce0c rev.284898 removed _SHLIBDIRPREFIX so we need to reconstruct its value
to properly locate libraries created in the buildworld phase.
2015-07-10 05:07:18 +00:00
gjb
abb2957ecd Document r285329, OpenSSL update to 1.0.1p.
Sponsored by:	The FreeBSD Foundation
2015-07-09 17:24:54 +00:00
luigi
0c01cffa69 add an extra tty for picobsd builds 2015-07-08 16:42:28 +00:00
luigi
87dfc98e70 trap some errors when building picobsd 2015-07-08 16:41:25 +00:00
gjb
0e59e469d5 Document r283961, pw(8) '-R' option.
Sponsored by:	The FreeBSD Foundation
2015-07-08 12:07:50 +00:00
gjb
ea00e94ca2 Sort by svn revision.
Fix a few FDP style nits.

Sponsored by:	The FreeBSD Foundation
2015-07-07 04:09:35 +00:00
gshapiro
c37111ed64 Note merge to head for sendmail 8.15.2 along with a special note for those
upgrading to FreeBSD 11.

MFC after:	3 days
2015-07-07 03:06:56 +00:00
gjb
b42f5bb715 Revert r285018, r285019, r285076, r285078, r285082.
The true cause of the missing UFS/MSDOSFS labels has been
identified, and only affects stable/10 at the moment.

An request for commit to stable/10 will be pending RE approval
after this commit.

MFC after:	1 day
X-MFC-Note:	never
X-MFC-Never:	r285018, r285019, r285076, r285078, r285082
Sponsored by:	The FreeBSD Foundation
2015-07-04 00:01:41 +00:00
gjb
5bc952ae8d Test for loader.rc existence before attempting to create
the symlink from loader.rc.sample.

Fix paths relative to the CHROOTDIR.

MFC after:	3 days
X-MFC-With:	r285076, r285078
X-MFC-Before:	10.2-BETA1
Sponsored by:	The FreeBSD Foundation
2015-07-03 06:15:54 +00:00
gjb
f1db22bf1a Revert r285018 and r285019, which attempted to resolve
UFS/MSDOSFS label issues on FreeBSD/arm builds, however
the real problem was addressed in r285076, which is due
to two separate issues, unrelated to md(4) stale device
existence.

MFC after:	3 days
X-MFC-With:	r285076
X-MFC-Before:	10.2-BETA1
Sponsored by:	The FreeBSD Foundation
2015-07-03 06:07:21 +00:00
gjb
33c66012c0 Fix the real problem with missing UFS/MSDOSFS labels on the
FreeBSD/arm builds.  The problem stems from the loader.rc file
not existing, as well as geom_label not being loaded at boot.

For now, add the geom_label_load entry to loader.conf, and
symlink loader.rc.sample to loader.rc, both of which allowed
my BeagleBone Black to boot fine with a UFS label reference in
fstab(5).

MFC after:	3 days
X-MFC-Before:	10.2-BETA1
Sponsored by:	The FreeBSD Foundation
2015-07-03 06:01:37 +00:00
gjb
f2ec46bf54 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
gjb
7f9362f8f8 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
gjb
08adf5eb10 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
gjb
3b0892b249 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
gjb
1ad3ea43fe Fix the gcloud port/package name.
MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
2015-07-01 08:48:49 +00:00
gjb
a9f5ad1d51 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
brd
7761cfc358 Add Support for uploading Vagrant images to Hashicorp Atlas.
Approved by:	re (gjb)
2015-06-29 21:26:41 +00:00
gjb
5929716dce 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
gjb
f6cc5eb780 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
gjb
2913e26145 Add default VAGRANT_IMG variable.
Sponsored by:	The FreeBSD Foundation
2015-06-27 22:54:16 +00:00
brd
55a27553e8 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
gjb
6bdaeb3df5 Fix a vi-invoked typo.
Submitted by:	jkim (privately)
Sponsored by:	The FreeBSD Foundation
2015-06-27 05:18:08 +00:00
gjb
72250149ec 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
gjb
2ec74b0c52 Clarify the note about Thumb-2 kernel support.
Submitted by:	andrew
Sponsored by:	The FreeBSD Foundation
2015-06-26 13:33:46 +00:00
gjb
cb435a295e Revert r284860. I was looking at the wrong files.
Sigh.

Sponsored by:	The FreeBSD Foundation
2015-06-25 20:46:11 +00:00
gjb
911d623a9c Fix an incorrect revision number.
Sponsored by:	The FreeBSD Foundation
2015-06-25 20:40:51 +00:00
gjb
28dae03fa5 Document r284237, file(1) updated to 5.23.
Sponsored by:	The FreeBSD Foundation
2015-06-25 18:44:59 +00:00
gjb
e03ec02a26 Document r283092, ACPICA updated to 20150515.
Sponsored by:	The FreeBSD Foundation
2015-06-25 18:44:57 +00:00
gjb
f25142ade2 Document r284329, OpenSSL update to 1.0.1o.
Sponsored by:	The FreeBSD Foundation
2015-06-25 18:44:55 +00:00
gjb
87a5149005 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
gjb
80484eafda Document r279955, autofs(5) '-noauto' map addition.
Sponsored by:	The FreeBSD Foundation
2015-06-25 18:44:50 +00:00
gjb
051381cff0 Document r275681, autofs(5) '-media' map addition.
Sponsored by:	The FreeBSD Foundation
2015-06-25 18:44:48 +00:00
gjb
94a83b0883 Update the svn revision marker.
Sponsored by:	The FreeBSD Foundation
2015-06-25 18:44:46 +00:00
gjb
c2724cff4c Document r284746, TSO and checksum offloading support in hv_netvsc(4).
Sponsored by:	The FreeBSD Foundation
2015-06-25 18:44:44 +00:00
gjb
2d9797c6d1 Add missing '-' in Hyper-V.
Sponsored by:	The FreeBSD Foundation
2015-06-25 18:44:42 +00:00
gjb
6d7ee6b4d4 Document r284702, uart(4) update to support AMT on newer systems.
Sponsored by:	The FreeBSD Foundation
2015-06-25 18:44:40 +00:00
gjb
92f71fe5c6 Document r284589, fstyp(8) now recognizes ZFS and GELI filesystems.
Sponsored by:	The FreeBSD Foundation
2015-06-25 18:44:38 +00:00
gjb
7c1127a0fe Move the crypt(3) entries from userland-programs to
userland-libraries.

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

Sponsored by:	The FreeBSD Foundation
2015-06-25 18:44:31 +00:00
gjb
8ad6d09a33 Document r284273, initial ACPI support for aarch64.
Sponsored by:	The FreeBSD Foundation
2015-06-25 18:44:29 +00:00
gjb
387e3d3c51 Document r284254, bmake updated to 20150606.
Sponsored by:	The FreeBSD Foundation
2015-06-25 18:44:27 +00:00
gjb
9e3ce2df44 Document r283959, EM_MULTIQUEUE kernel configuration option.
Sponsored by:	The FreeBSD Foundation
2015-06-25 18:44:25 +00:00
gjb
bf013e3b0a Document r283766, improved hang detection in em(4).
Sponsored by:	The FreeBSD Foundation
2015-06-25 18:44:22 +00:00
gjb
62cc873700 Document r283766, ig4(4) addition.
Sponsored by:	The FreeBSD Foundation
2015-06-25 18:44:20 +00:00
gjb
aaae02a146 Document r283136, net.inet.tcp.hostcache.purgenow addition.
Sponsored by:	The FreeBSD Foundation
2015-06-25 18:44:18 +00:00
gjb
90f87e0de3 Document r282988, alloc_align() added to malloc.h and stdlib.h.
Sponsored by:	The FreeBSD Foundation
2015-06-25 18:44:16 +00:00
gjb
44889c20f7 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
gjb
56b0085932 Document r282901, RACCT/RCTL in GENERIC by default.
Sponsored by:	The FreeBSD Foundation
2015-06-25 18:44:12 +00:00
gjb
91997d8df6 Document r282827, BeagleBone Black power button support added.
Sponsored by:	The FreeBSD Foundation
2015-06-25 18:44:10 +00:00
gjb
3cda1d21be Document r282783, freescale PCI Root Complex support added.
Sponsored by:	The FreeBSD Foundation
2015-06-25 18:44:08 +00:00
gjb
270aa9ed8d Document r282779, Thumb-2 support for ARMv7 added.
Sponsored by:	The FreeBSD Foundation
2015-06-25 18:44:06 +00:00
gjb
a93bec29fb 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
gjb
be1ca7297c 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
gjb
710db0f35a 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
gjb
acb990606a 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
gjb
9d1d13b2d4 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
bapt
bb8dfd5e7e Merge from head @274131 2015-06-20 00:58:46 +00:00
gjb
10fa74d463 Fix path to waagent.
MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
2015-06-19 23:03:05 +00:00
gjb
a8ea24e379 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
gjb
bab219a40b 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
gjb
dfe0a3d0eb Prefer https:// over http://.
Sponsored by:	The FreeBSD Foundation
2015-06-17 16:39:12 +00:00
bapt
4c10ae5f0b Move gdb into its own package 2015-06-16 22:25:08 +00:00
bapt
f24ae51a06 Add a bunch of new packages, in particular binutils and groff 2015-06-16 22:06:28 +00:00
bapt
054c6909cf Move tests into a single FreeBSD-tests package 2015-06-16 21:07:07 +00:00
bapt
276e53ce92 Move clang binaries into FreeBSD-clang package 2015-06-16 20:34:39 +00:00
bapt
2290a2e730 Fix script syntax 2015-06-15 13:27:57 +00:00
bapt
35a6f0a11c Merge from head 2015-06-15 10:56:01 +00:00
gjb
e8be5ee990 Reduce the arm/armv6 image size from 1G to 480M.
Since the images are effectively mostly zeros at 1G,
reduce the size to allow installation on smaller SD
cards, such as 512Mb.

While here, stop writing the /boot.txt file on the
WANDBOARD, which isn't used anyway.

Discussed with:	imp
MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
2015-06-12 19:42:27 +00:00
gjb
80c10f52a7 Set the correct UBLDR_LOADADDR for the Wandboard and
Cubox/Hummingboard images.

Submitted by:	ian
MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
2015-06-06 21:11:17 +00:00
gjb
043d779d9b Work around a potential bug in pw(8) when '-m' is specified.
According to the manual page, '-m' should create the user home
directory, however rigorous testing suggests it does not, and
it is unclear if this is an implementation or expectation issue.

Sponsored by:	The FreeBSD Foundation
2015-06-05 02:22:04 +00:00
gjb
b86973a665 Make sure /home exists within the DESTDIR before creating the
'freebsd' user account.

Sponsored by:	The FreeBSD Foundation
2015-06-04 23:11:24 +00:00
gjb
3eca9cadb1 Fix a whitespace nit.
Sponsored by:	The FreeBSD Foundation
2015-06-04 16:33:29 +00:00
gjb
365501d41f Add initial support for building images for the Duovero Gumstix
board.

Sponsored by:	The FreeBSD Foundation
2015-06-04 16:32:16 +00:00
gjb
de010910ed Use the new pw(8) '-R' option to create the users/groups.
MFC after:	1 week
X-MFC-after:	r283961
Sponsored by:	The FreeBSD Foundation
2015-06-03 19:19:25 +00:00
gjb
8652055e8c Add a configuration file to support the Cubox/Hummingboard SoC.
Sponsored by:	The FreeBSD Foundation
2015-06-02 17:03:31 +00:00
gjb
ed06759ba3 Remove trailing tabs to avoid spamming stdout with long lines.
MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
2015-06-02 17:00:31 +00:00
gjb
a82be33c48 Pass the '-b' argument to pw(8) so the '/home' directory is created
in the correct place.

MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
2015-06-02 15:02:30 +00:00
gjb
7447f1a3e1 In arm_create_disk(), disable soft updates journaling.
Disabling soft updates journaling appears to resolve issues
with kernel panics, and may also be generally bad to have
enabled for SD cards.

Requested by:	ian
MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
2015-06-01 21:10:47 +00:00
gjb
e961ac3d2e Re-enable arm_create_user(), and pass the '-V DESTDIR/etc' to
pw(8) to set the correct /etc directory for the user/group
files.

Provided by:	ian (thanks!)
MFC after:	3 days
X-MFC-with:	r283894
Sponsored by:	The FreeBSD Foundation
2015-06-01 20:59:18 +00:00
gjb
911994babe Disable arm_create_user(). As-is, this does not create the
user in the userland for the target image, but creates the
user in the build chroot.

Before this is re-enabled, I want to figure out a clean way
to do this without requiring the overhead of third-party
utilities (such as qemu).

MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
2015-06-01 20:26:38 +00:00
gjb
5ef8cb28c1 Export 'BOARDNAME' when differs from the KERNCONF.
MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
2015-05-29 02:16:40 +00:00
gjb
7861506d9f Sort configuration options for consistency with other boards.
MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
2015-05-29 02:15:05 +00:00
gjb
03d84058c3 MFH: r282615-r283655
Sponsored by:	The FreeBSD Foundation
2015-05-28 17:06:50 +00:00
gjb
3a86cbbbcb Invert the build date and svn revision to match the namimg
convention that has been in use for a while.

MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
2015-05-27 17:33:30 +00:00
gjb
77794ebe2d Fix a typo.
Submitted by:	ian
MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
2015-05-26 21:58:22 +00:00
gjb
2f93a7904f Use SVNREVISION and BUILDDATE if passed into the make(1)
environment, fallback to trying to figure it out otherwise.

MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
2015-05-26 20:51:44 +00:00
gjb
f54a2f297a Reindent after r283575.
MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
2015-05-26 17:44:31 +00:00
gjb
3e1e05878e Remove duplicate exists() sanity check.
MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
2015-05-26 17:42:28 +00:00
gjb
8e21d8b251 Set STAGE_TARGETS only if RELEASEDIR exists.
MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
2015-05-26 17:40:36 +00:00
gjb
6e843aaf85 Remove a continuation on error, since the relevant behavior can
only occur if a particular file exists.

MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
2015-05-26 17:34:56 +00:00
gjb
9c12e1b094 Use mkimg(1) to create the i386 memstick images, similar to
how is done for amd64.  The exception here is there is no
EFI partition for i386.

MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
2015-05-23 00:32:58 +00:00
gjb
f378874c7a Fix staging virtual machine images for ftp propagation.
MFC after:	3 days
X-MFC-Note:	needs all previous changes
Sponsored by:	The FreeBSD Foundation
2015-05-22 21:38:11 +00:00
gjb
72b5c02439 Fix a number of logic and/or naming problems in Makefile.mirrors.
Reduce a number of duplicated logic.

As of this commit, this file does exactly what it is needed to do.

MFC after:	3 days
X-MFC-Note:	needs all previous changes
Sponsored by:	The FreeBSD Foundation
2015-05-22 21:04:42 +00:00
gjb
bc74bc7ccc Fix make(1) syntax error for non-embedded targets.
Sponsored by:	The FreeBSD Foundation
2015-05-21 22:50:39 +00:00
gjb
0641ba25df If TARGET or EMBEDDED_TARGET == arm, set EMBEDDED variable,
which helps control some of the arm-specific bits a bit more
cleanly (but not really 'clean').

If BOARDNAME is defined (as is in the WANDBOARD configuration
RE uses), do some magic to work with the KERNCONF and BOARDNAME
to rename the file, making it a bit more intuitive for the
consumer to determine which they need.

Yes, it is ugly, that is why there is a big warning at the top.
It is, however, still much cleaner than the now 474-line shell
script, and this Makefile produces the hierarchy needed without
much evil.

MFC after:	1 week
X-MFC-Note:	needs all previous Makefile.mirror commits
Sponsored by:	The FreeBSD Foundation
2015-05-21 22:11:57 +00:00
gjb
c06534502b Remove the arm/armv6 bits from Makefile.mirrors, which needs
some re-thinking.

Sponsored by:	The FreeBSD Foundation
2015-05-21 20:43:02 +00:00
gjb
2b3486294e Include xz(1)-compressed images when not a snapshot build.
Do not suffix non-snapshot checksum files with SNAP_SUFFIX.

Sponsored by:	The FreeBSD Foundation
2015-05-21 20:22:55 +00:00
gjb
b4ea1ed9e1 cd(1) to .CURDIR before calling stat(1) to fix the path
to sh(1).

Include xz(1)-compressed images when renaming snapshot
builds.

Use OSRELEASE in place of REVISION-BRANCH for checksum
filenames.

Sponsored by:	The FreeBSD Foundation
2015-05-21 20:18:13 +00:00
gjb
ba307f79ae Include the TARGET in the EC2 AMI name.
Without this, AWS rejects subsequent image uploads of a different
architecture because the name conflicts.

MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
2015-05-21 17:39:42 +00:00
gjb
97e0e7cffb Avoid polluting the filesystem when not necessary.
Sponsored by:	The FreeBSD Foundation
2015-05-12 01:27:58 +00:00
gjb
2ea98057df After the last influx of commits, and a REALLY BIG WARNING
to the top of the file.

Sponsored by:	The FreeBSD Foundation
2015-05-12 01:20:27 +00:00
gjb
56dbacefd5 Fix more paths to the actual files.
Sponsored by:	The FreeBSD Foundation
2015-05-12 01:14:21 +00:00
gjb
f47265fd69 Fix more path variables.
Sponsored by:	The FreeBSD Foundation
2015-05-12 01:04:02 +00:00
gjb
9d7a2f8ca8 Provide the correct path to the checksum file.
Sponsored by:	The FreeBSD Foundation
2015-05-12 00:58:17 +00:00
gjb
ed602f1d5e Also symlink the CHECKSUM.{SHA256,MD5} files.
Sponsored by:	The FreeBSD Foundation
2015-05-12 00:55:28 +00:00
gjb
e5abe6f698 Also copy CHECKSUM.{SHA256,MD5} files.
Sponsored by:	The FreeBSD Foundation
2015-05-12 00:46:32 +00:00
gjb
311d76861e Fix a few incorrect variables and/or hard-coded paths.
Sponsored by:	The FreeBSD Foundation
2015-05-12 00:39:01 +00:00
gjb
8dde0f5cc4 Sigh. Fix more syntax errors introduced by the last commit.
Sponsored by:	The FreeBSD Foundation
2015-05-12 00:33:18 +00:00
gjb
0b6e1d985f Fix a make(1) syntax error.
Sponsored by:	The FreeBSD Foundation
2015-05-12 00:32:28 +00:00
gjb
7e0d11ef0c Temporarily 'rm -rf $FTPDIR' during additional testing.
Sponsored by:	The FreeBSD Foundation
2015-05-12 00:30:56 +00:00
gjb
8b206d5386 Always use the 'make install' directory as the source for images.
For RE purposes, we use the default (/R within the chroot), so
this helps avoid copying files multiple times and xz(1)-compressing
additional times when not needed.

Again, this Makefile is not for general consumption.

Sponsored by:	The FreeBSD Foundation
2015-05-12 00:27:52 +00:00
gjb
48a106e740 Add a new file, Makefile.mirrors, which is intended to replace
a 474-line kludge of a shell script to pre-create the directory
hierarchy on ftp-master.

This is not in any way connected to the build, and there is no
intention to do so.  This only intent here is to try to make
things a little bit easier for me.  But I've probably just made
things worse.

Sponsored by:	The FreeBSD Foundation
2015-05-11 22:14:03 +00:00
gjb
f930e15914 Fix virtual machine disk format creating by passing VMFORMAT
to mkimg(1)

PR:		200068
Submitted by:	Jeremy Norris
MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
2015-05-11 14:53:07 +00:00
gjb
fb117627f6 Merge ^/projects/release-arm-redux into ^/head.
Of note:

- This commit adds native FreeBSD/arm release build support without
  requiring out-of-tree utilities.

- Part of this merge removes the WANDBOARD-{SOLO,DUAL,QUAD} kernel
  configuration files, for which the IMX6 kernel configuration file
  should be used instead.

- The resulting images have a 'freebsd' user (password 'freebsd'),
  to allow ssh(1) access when console access is not available (VGA
  or serial).  The default 'root' user password is set to 'root'.

- The /etc/ttys file for arm images now enable both ttyv0 and ttyu0
  by default.

Help from:	many (boot testing, feedback, etc.)
Sponsored by:	The FreeBSD Foundation
2015-05-09 21:08:12 +00:00
gjb
6c40325758 Use the IMX6 kernel configuration for the WANDBOARD build,
since it supports all of these board variants.

While here, remove the WANDBOARD-{QUAD,SOLO,DUAL} kernel
configuration files.

Discussed with:	ian
Sponsored by:	The FreeBSD Foundation
2015-05-08 18:55:09 +00:00
gjb
83dbcdd679 Strip the KERNEL from the mount paths, working around the following
error:

 root@releng2:/ # mount_msdosfs /dev/md5s1 /usr/obj/usr/src/release/WANDBOARD-QUAD/fat
 mount_msdosfs: /dev/md5s1: File name too long

Sponsored by:	The FreeBSD Foundation
2015-05-08 18:45:32 +00:00
gjb
eff85709da Fix path to the u-boot.imx file, which is relative to the root of
the chroot environment.

Sponsored by:	The FreeBSD Foundation
2015-05-08 17:53:44 +00:00
gjb
53b50c1a76 Touch '/firstboot' so the growfs rc(8) script runs.
Sponsored by:	The FreeBSD Foundation
2015-05-08 16:41:21 +00:00
gjb
d92941fb7d Fix the starting block of the partition.
Sponsored by:	The FreeBSD Foundation
2015-05-08 16:37:57 +00:00
gjb
261ee6d1dc Initial support for building the PANDABOARD image.
Sponsored by:	The FreeBSD Foundation
2015-05-08 16:00:06 +00:00
gjb
cf3aaa44c3 Add a file missed in the previous commit.
Sponsored by:	The FreeBSD Foundation
2015-05-08 15:23:21 +00:00
gjb
5924ca13e5 Copy arm/WANDBOARD-QUAD.conf to arm/WANDBOARD-{SOLO,DUAL}.conf.
Ian informed me a few months ago that the WANDBOARD-* kernels will
eventually be combined into one that will work across all these
boards, but for now, build them individually.

Sponsored by:	The FreeBSD Foundation
2015-05-08 15:22:29 +00:00
gjb
692717cb48 Fix FAT partition size.
Sponsored by:	The FreeBSD Foundation
2015-05-08 15:18:31 +00:00
gjb
d16bf9c909 Sigh. Really fix CHECKSUM file creation.
Sponsored by:	The FreeBSD Foundation
2015-05-08 15:15:36 +00:00
gjb
c7d77fb592 Fix CHECKSUM file creation.
Sponsored by:	The FreeBSD Foundation
2015-05-08 15:10:00 +00:00
gjb
26e678e2ac Initial support for building WANDBOARD-QUAD images.
Several parts of this were obtained from Crochet.

Sponsored by:	The FreeBSD Foundation
2015-05-08 15:07:17 +00:00
gjb
684abf744f Initial commit to support building RPI2 images, based on information
and documentation written by loos@ on the Wiki.

Sponsored by:	The FreeBSD Foundation
2015-05-08 13:55:27 +00:00
gjb
9aa9f68bf0 Do not include '/R' in the path when generating checksums, since
that will cause '/R' to be included in the CHECKSUM files.

Sponsored by:	The FreeBSD Foundation
2015-05-08 12:55:25 +00:00
gjb
cdb1ccc959 Move the finished image build to the '/R' directory (the
standard 'install' location for other architectures), then
compress the image with xz(1), and generate the CHECKSUM
files.

Sponsored by:	The FreeBSD Foundation
2015-05-08 12:50:48 +00:00
gjb
d03c979953 Fix the name of the final image.
Sigh.  Thou shalt not commit before coffee.

Sponsored by:	The FreeBSD Foundation
2015-05-08 10:47:57 +00:00
gjb
28058afb01 Rename KERNEL.img -> OSRELEASE-KERNEL.img when complete.
Sponsored by:	The FreeBSD Foundation
2015-05-08 10:43:29 +00:00
gjb
dc4500ae96 Do not create the uenv.txt file for RPI-B. It is not needed.
Submitted by:	ian
Sponsored by:	The FreeBSD Foundation
2015-05-08 10:39:52 +00:00
gjb
c8fa25fd06 Fix path to /boot/msdos for the target image.
Sponsored by:	The FreeBSD Foundation
2015-05-08 10:38:32 +00:00
gjb
d0610f154f Copy the rpi.dtb file to the FAT partition, preventing the
'Unrecognized partition table' error, causing boot failure.

Sponsored by:	The FreeBSD Foundation
2015-05-07 23:49:48 +00:00
gjb
463d845cba Reorder / and /boot/msdos mount to avoid the following error:
Mounting local file systems:
mount: /boot/msdos: No such file or directory

Sponsored by:	The FreeBSD Foundation
2015-05-07 23:46:33 +00:00
bapt
fff6c6a5b7 Merge from HEAD 2015-05-07 23:18:23 +00:00
gjb
2bf3795a46 Create the /boot/msdos directory so the FAT partition is mounted
properly.

Noticed by:	sbruno
Sponsored by:	The FreeBSD Foundation
2015-05-07 20:25:17 +00:00
gjb
5c43f80d54 Remove the ZEDBOARD configuration file, as it does not
have a corresponding u-boot port in the Ports Collection.

Sponsored by:	The FreeBSD Foundation
2015-05-07 20:06:39 +00:00
gjb
22a124cc4e Spell 'u-boot.img' correctly.
Sponsored by:	The FreeBSD Foundation
2015-05-07 20:02:50 +00:00
gjb
8642bea698 Remove the arm/ROADMAP file.
Sponsored by:	The FreeBSD Foundation
2015-05-07 19:48:06 +00:00
gjb
6d28b8313e Remove arm/Makefile.{KERNEL} files, as this project
branch is now going in a different direction than
originally planned.

Sponsored by:	The FreeBSD Foundation
2015-05-07 19:47:15 +00:00
gjb
adf94dc7b1 Fix creating directories within DESTDIR.
Sponsored by:	The FreeBSD Foundation
2015-05-07 19:10:08 +00:00
gjb
a30e226e45 Fix a copy/paste mistake.
Sponsored by:	The FreeBSD Foundation
2015-05-07 18:53:48 +00:00
gjb
0b9e3dc2e4 Add entries to uenv.txt.
Obtained from:	Crochet
Sponsored by:	The FreeBSD Foundation
2015-05-07 18:51:59 +00:00