Commit Graph

7846 Commits

Author SHA1 Message Date
Glen Barber
f1d219a66d Disconnect the AZURE target from the CLOUDWARE list.
Microsoft has graciously overtaken publication of FreeBSD
on Azure since 10.3-RELEASE.

Many thanks to Microsoft for their support of FreeBSD on
Azure.

The configuration file and Makefile.azure are not (yet)
planned to be removed, as they may be useful in the future.

Sponsored by:	The FreeBSD Foundation
2016-05-26 18:24:00 +00:00
Steven Kreuzer
f4522a2f44 Bump copyright year
Approved by:	gjb@ (implicit)
2016-05-24 13:58:07 +00:00
Steven Kreuzer
34ae4f7f92 Document r298998, OpenSSL updated to 1.0.2h.
Approved by:	gjb@ (implicit with re@ hat on)
2016-05-23 17:06:46 +00:00
Steven Kreuzer
ff55aa1f44 Document r296190, openresolv updated to 3.7.3.
Approved by:	gjb@ (implicit with re@ hat on)
2016-05-23 15:44:39 +00:00
Steven Kreuzer
dc5bff7e9f Document r298161, sqlite3 updated to 3.12.1.
Approved by:	gjb@ (implicit with re@ hat on)
2016-05-23 15:37:12 +00:00
Steven Kreuzer
7096bfcd43 Document r298192, file(1) updated to 5.26.
Approved by:	gjb@ (implicit with re@ hat on)
2016-05-23 15:33:56 +00:00
Steven Kreuzer
16403ff439 Document r296633, OpenSSH updated to 7.2p2.
Approved by:	gjb@ (implicit with re@ hat on)
2016-05-12 19:32:40 +00:00
Steven Kreuzer
cbb928798d Document r298695, ntp updated to 4.2.8p7.
Approved by:	gjb@ (implicit with re@ hat on)
2016-05-11 22:44:00 +00:00
Glen Barber
de48750cce Add (commented) 'vital' flag to the runtime packages. Support for
it is expected in pkg-1.8.0, which will cause 'pkg del -afy' to not
destroy a system by forcefully removing everything.

As there are valid use cases for doing such (test jails, for example),
it will be overrideable.

In addition, ensure /dev and /tmp exist, as /dev is not created by
default currently, and pkg(8) requires /tmp to exist, which is also
not created by default.

This needs to be moved to the clibs package, since runtime depends on
that package, however I need to first verify that it will work as it
is expected.

Sponsored by:	The FreeBSD Foundation
2016-05-10 00:38:14 +00:00
Pedro F. Giffuni
4e98322347 picobsd: minor spelling fixes. 2016-05-01 16:16:11 +00:00
Jared McNeill
473bbf691b Replace the A20 kernel config with a generic ALLWINNER kernel config that
supports A20, A31, and A31S. Adds support for the BananaPi M2 (A31S) board.

Submitted by:		Emmanuel Vadot <manu@bidouilliste.com>
Reviewed by:		jmcneill
Differential Revision:	https://reviews.freebsd.org/D5580
2016-04-21 16:49:04 +00:00
Steven Kreuzer
b8df8f9a8d Document r296417, clang, llvm, etc. updated to upstream 3.8.0
Approved by:	gjb@
Differential Revision:	D6037
2016-04-21 14:20:45 +00:00
Glen Barber
0edd2576c0 MFH
Sponsored by:	The FreeBSD Foundation
2016-04-16 02:32:12 +00:00
Bryan Drewery
01d57ec066 Remove misspelled and redundant MK_INSTALLIB=no. 2016-04-13 20:43:02 +00:00
Glen Barber
d60840138f MFH
Sponsored by:	The FreeBSD Foundation
2016-04-04 23:55:32 +00:00
Bryan Drewery
497e80911e Remove the old depend (mkdep) code and make FAST_DEPEND the one true way.
Reviewed by:	emaste, hselasky (partial), brooks (brief)
Discussed on:	arch@
Sponsored by:	EMC / Isilon Storage Division
Differential Revision:	https://reviews.freebsd.org/D5742
2016-03-30 23:50:23 +00:00
Alexander Motin
34a72dfaba Add paragraph about isp(4) improvements. 2016-03-17 09:04:07 +00:00
Glen Barber
b0bdd78348 Avoid adding the '-release' suffix to non-debug kernel packages.
Sponsored by:	The FreeBSD Foundation
2016-03-08 19:35:30 +00:00
Glen Barber
44d81980ed Prefix lib32, profile, debug, and development packages
with 'runtime-' for consistency with other packages.

Sponsored by:	The FreeBSD Foundation
2016-03-08 18:31:26 +00:00
Glen Barber
3a3f435f98 Include a 'package-pkg' target, intended for use for
architectures we do not provide upstream pkg(8) packages.

This is not tied to anything as-is, and likely will break
your system if used (based on experience with testing with
powerpc).

There is an overwhelming amount of evil happening here,
so until the issues are fixed, it will not be tied into the
'packages' target.

Sponsored by:	The FreeBSD Foundation
2016-02-24 03:05:05 +00:00
Glen Barber
bcefcb026a Create a package for HAST.
Sponsored by:	The FreeBSD Foundation
2016-02-08 21:15:07 +00:00
Glen Barber
24dcefded2 Add comment/description for clibs, rescue, and sendmail packages.
Sponsored by:	The FreeBSD Foundation
2016-02-08 18:44:26 +00:00
Glen Barber
41e7f6d66f Sort.
Sponsored by:	The FreeBSD Foundation
2016-02-08 18:42:33 +00:00
Glen Barber
c389411c8a Remove libc, librtld_db, libthr packages, and further increase
the constraints on what needs to be installed in a specific to
maintain consistency during upgrades.

Create a new clibs package containing libraries that are needed
as a bare minimum for consistency.

With much help and input from:	kib
Sponsored by:	The FreeBSD Foundation
2016-02-05 21:01:08 +00:00
Glen Barber
8ce2c90c26 Mark shlibs_required/shlibs_provided lines as temporary, following
brief discussion with bapt.

Sponsored by:	The FreeBSD Foundation
2016-02-04 21:27:03 +00:00
Glen Barber
123099f316 Add package files for libc, libedit, librtld_db, and libthr.
libedit is needed for sh(1), which if updated before runtime,
can cause undesirable behavior.

For the rest, the installation order needs to be:

 1) librtld
 2) libc
 3) libthr

The dependency listing and shilbs_required entries ensure this
behavior.

Sponsored by:	The FreeBSD Foundation
2016-02-04 21:20:26 +00:00
Glen Barber
f6947f60bb Fix typo: s/Conrol/Control/
Submitted by:	kib
Sponsored by:	The FreeBSD Foundation
2016-02-04 16:38:24 +00:00
Glen Barber
3a722e0726 Add FreeBSD RCSID header and svn:keyword property.
Sponsored by:	The FreeBSD Foundation
2016-02-04 15:41:00 +00:00
Glen Barber
5c52b2f5ca Rework the way <packagename>.ucl files are generated.
One of the major pain points with how this was implemented
is the requirement of in-tree, hard-coded <name>.ucl, as
well as <name>-<suffix>.ucl where <suffix> can be lib32,
profile, development, debug, or any combination of the four.

This created significant overhead when adding new packages
and any of the files in any of the combinations were missing.

Instead of test(1)-ing if the <packagename>.ucl file exists,
hand off to a script to figure out what the final ucl file
name should be before invoking pkg(8).

The default behavior is 'template.ucl' is used as a fallback.

This affects only the userland packages, as the kernel code
is already smart enough to handle these variations.

Sponsored by:	The FreeBSD Foundation
2016-02-04 15:32:03 +00:00
Glen Barber
b3075f337b Initial commit to add dependencies.
Sponsored by:	The FreeBSD Foundation
2016-02-03 23:41:58 +00:00
Glen Barber
43faedc133 First pass to fix the 'tests' packages.
Sponsored by:	The FreeBSD Foundation
2016-02-02 22:26:49 +00:00
Glen Barber
477a29ca9b Create ee(1) package.
Sponsored by:	The FreeBSD Foundation
2016-02-02 21:04:33 +00:00
Glen Barber
dd181aca6c Create a package for autofs(5)
Sponsored by:	The FreeBSD Foundation
2016-02-02 17:33:37 +00:00
Glen Barber
17f1329d94 Create a package for vi(1) and related files.
Sponsored by:	The FreeBSD Foundation
2016-02-02 16:47:50 +00:00
Glen Barber
750e7eb5dc Fix naming inconsistency with lib32 debug packages.
Sponsored by:	The FreeBSD Foundation
2016-02-01 18:50:52 +00:00
Glen Barber
6a9bf252c3 Remove unused kernel/post-install file.
Sponsored by:	The FreeBSD Foundation
2016-01-29 00:29:32 +00:00
Glen Barber
3d98f473dc Add 'stagekernel' target, which invokes 'distributekernel'
with -DNO_ROOT to create the METALOG mtree(8) file.

Separate the default STAGEDIR for world (WSTAGEDIR) and kernel
(KSTAGEDIR).

Fix the 'create-kernel-packages' target to work properly.

Evaluate if 'kernel' is set when invoking mtree-to-plist.awk,
which splits the kernel and kernel.debug into separate plist
files.

Fix METALOG creation when building/packaging multiple kernels.

Sponsored by:	The FreeBSD Foundation
2016-01-27 21:10:03 +00:00
Glen Barber
3754d22f83 Comment wordsmithing.
Sponsored by:	The FreeBSD Foundation
2016-01-21 18:45:46 +00:00
Glen Barber
396953934d Create a package for apm(8).
Sponsored by:	The FreeBSD Foundation
2016-01-21 18:41:55 +00:00
Glen Barber
4ffb51fe89 Create a package for amd(8) and related tools.
While here, fix accounting rc script installation.

Sponsored by:	The FreeBSD Foundation
2016-01-21 18:19:33 +00:00
Glen Barber
4ebbe36e88 Fix an incorrect comment.
Sponsored by:	The FreeBSD Foundation
2016-01-21 18:02:31 +00:00
Glen Barber
d3d8fcf2c6 Create an acct package for accounting tools.
Sponsored by:	The FreeBSD Foundation
2016-01-21 17:49:10 +00:00
Glen Barber
2971191a94 Create a rcmds package.
Sponsored by:	The FreeBSD Foundation
2016-01-21 17:33:31 +00:00
Glen Barber
b524b25e38 Add UCL file for release-manuals package, missed in previous commit.
Sponsored by:	The FreeBSD Foundation
2016-01-21 16:38:58 +00:00
Glen Barber
ed0d921874 Add a package for jail(8) and related utilities.
Sponsored by:	The FreeBSD Foundation
2016-01-20 17:07:13 +00:00
Glen Barber
a11378bd93 MFH
Sponsored by:	The FreeBSD Foundation
2016-01-14 13:29:12 +00:00
Steven Hartland
88b85228a4 Increase efiboot.img size used in ISO creation
Due to recent and upcoming changes to add additional functionality to
the EFI loader its now bigger than the space allocates for efiboot.img
so increase this in line with boot1.efifat.

MFC after:	2 weeks
X-MFC-With:	r293268
Sponsored by:	Multiplay
2016-01-13 14:47:13 +00:00
Glen Barber
79119a977d MFH
Sponsored by:	The FreeBSD Foundation
2016-01-12 14:33:17 +00:00
Colin Percival
4d6b637675 Enable "EC2 Enhanced Networking" (aka. SR-IOV networking) when creating
EC2 images.

X-MFC after:	if/when the driver fixes get MFCed
Relnotes:	FreeBSD now supports EC2 Enhanced Networking
2016-01-12 09:42:21 +00:00
Glen Barber
e60680024a MFH
Sponsored by:	The FreeBSD Foundation
2016-01-12 01:23:45 +00:00
Glen Barber
41ea4cc219 Set FORCE_PKG_REGISTER=1 when installing packages to avoid failures
when re-using build chroot(8) environments.

This is based on the patch in the PR referenced below, but instead
of using 'reinstall' in two locations (one of which already uses
FORCE_PKG_REGISTER=1), changes the non-embedded behavior.

PR:		205998
Submitted by:	ngie
MFC after:	5 days
Sponsored by:	The FreeBSD Foundation
2016-01-09 00:45:38 +00:00
Glen Barber
0c9da521fa MFH
Sponsored by:	The FreeBSD Foundation
2016-01-07 17:23:43 +00:00
Glen Barber
fdbd473ce5 Add a new target to touch the ${.OBJDIR}/release file, which
indicates the 'release' target has run (in order to prevent
subsequent invocations that may clobber original build output).

As is, the 'release' target is a dummy target that does nothing
more than depend on subsequent targets.  Unless 'make obj' is
invoked prior to 'make release', .OBJDIR and .CURDIR will always
be '/usr/src/release' (or wherever /usr/src is located).

When 'make release' invokes 'make real-release' (and subsequent
targets), .OBJDIR is not updated, which still leads to src/ tree
pollution.

While arguably a hack, 'make release' will invoke the original
dummy targets as originally intended, but instead of touching an
empty file (or returing @true), will call a 'release-done' target
that will trigger the behavior that was intended to prevent
a subsequent invocation.

Discussed with:	hrs
MFC after:	3 days
X-MFC-With:	r293173
Sponsored by:	The FreeBSD Foundation
2016-01-06 05:23:25 +00:00
Glen Barber
60107bd6b2 Add debug.ucl and tests-debug.ucl, missed in a previous commit.
Sponsored by:	The FreeBSD Foundation
2016-01-06 00:52:55 +00:00
Glen Barber
ca7d3fb715 Rename an incorrectly named debug package file.
Sponsored by:	The FreeBSD Foundation
2016-01-05 22:27:34 +00:00
Glen Barber
1a5c9277ca MFH
Sponsored by:	The FreeBSD Foundation
2016-01-05 21:12:49 +00:00
Glen Barber
8834318685 Merge ^/projects/release-install-debug:
- Rework MANIFEST generation and parsing via bsdinstall(8).
- Allow selecting debugging distribution sets during install.
- Rework bsdinstall(8) to fetch remote debug distribution sets
  when they are not available on the local install medium.
- Allow selecting additional non-GENERIC kernels during install.
  At present, GENERIC is still required, and installed by default.

Tested with:	head@r293203
Sponsored by:	The FreeBSD Foundation
2016-01-05 21:05:17 +00:00
Glen Barber
e5141d0726 Copy packages/*.ucl files to the corresponding debug file after
WITH_DEBUG_FILES was enabled by default.

Sponsored by:	The FreeBSD Foundation
2016-01-05 19:28:41 +00:00
Glen Barber
582727cc63 MFH
Sponsored by:	The FreeBSD Foundation
2016-01-05 14:21:02 +00:00
Glen Barber
10c40dfa68 Prevent memstick installation medium from attempting to mount
the root filesystem read-write.  This causes problems booting
the memstick installation medium from write-protected USB flash
drives.

Submitted by:	A.J. Kehoe IV [1], Oliver Jones [2]
PR:		187161 [1], 205886 [2]
MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
2016-01-05 03:20:45 +00:00
Glen Barber
b9d8dd0006 Fix path to include .OBJDIR to avoid polluting the source
tree during 'make release'.

MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
2016-01-04 19:38:44 +00:00
Glen Barber
b626f5a73a MFH r289384-r293170
Sponsored by:	The FreeBSD Foundation
2016-01-04 19:19:48 +00:00
Christian Brueffer
2418fd040b Add rtwn(4) to the hardware list. 2016-01-04 18:34:27 +00:00
Glen Barber
a9bf704474 Fix tmpfs(5) '/tmp' mount point.
A stray trailing space snuck in with one of the recent
changes, making r290550 and r290573 effectively no-op.

MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
2015-11-25 19:10:04 +00:00
Brad Davis
5b7774f3ea - Change all the names to their generic name since none of these need to
be overridden and ends up overwriting output files.
- For the descriptions that just say "TODO", switch to using %DESC% so
  the generic description is used.

Approved by:	bapt
2015-11-17 21:29:26 +00:00
Glen Barber
0eea47e68b Remove noatime from tmpfs(5) fstab(5) entry.
Submitted by:		Howard Su
MFC after:		3 days
X-MFC-With:		r290550
Sponsored by:	The FreeBSD Foundation
2015-11-09 06:30:26 +00:00
Simon J. Gerraty
3fc9660791 Ensure TEMPROOT is unique, to guard against multiple builds on same machine.
Differential Revision:	D3002
Reviewed by:	gjb
2015-11-08 23:46:05 +00:00
Glen Barber
6a833a7a2c Use tmpfs(5) instead of md(4) for '/tmp' mount.
Submitted by:		Nikolai Lifanov
Differential Revision:	D3506
MFC after:		3 days
Sponsored by:	The FreeBSD Foundation
2015-11-08 18:02:39 +00:00
Glen Barber
db03168b5d Prefer https in package URLs.
Sponsored by:	The FreeBSD Foundation
2015-10-15 19:55:32 +00:00
Glen Barber
324fd1ce05 MFH to r289370
Sponsored by:	The FreeBSD Foundation
2015-10-15 17:36:56 +00:00
Glen Barber
34187a086a Deprecate MD5 checksum generation in favor of SHA512.
This was discussed during the 10.2-RELEASE cycle, however
since we were nearing the end of the cycle, we decided to
defer this change until after 10.2-RELEASE.

Reminded by:	so (delphij), jmg
MFC after:	5 days
Sponsored by:	The FreeBSD Foundation
2015-10-14 22:33:11 +00:00
Baptiste Daroussin
74737168af Create a dedicated package for dma 2015-10-10 23:16:40 +00:00
Baptiste Daroussin
9be27fdc00 Merge from head 2015-10-09 22:45:54 +00:00
Craig Rodrigues
c151731fbf Use print as a function, not operator. 2015-10-08 03:28:15 +00:00
Glen Barber
d144be2ae7 Correct the command-line utility in the r285420 entry:
s/jail/jexec/

Sponsored by:	The FreeBSD Foundation
2015-10-07 20:04:32 +00:00
Glen Barber
972a5a8725 Refine the r286591 entry based on feedback from jilles@.
Sponsored by:	The FreeBSD Foundation
2015-10-07 02:12:44 +00:00
Glen Barber
e0dad1311a Remove entry for r287469, Skylake/i219 support is not yet complete.
Reported by:	Adam McDougall
Sponsored by:	The FreeBSD Foundation
2015-10-07 02:12:43 +00:00
Glen Barber
ec90918ce4 Split the r288943 entry into different entries, since the entire
clang/llvm/lldb/etc may not always be in sync with upstream.

Sponsored by:	The FreeBSD Foundation
2015-10-07 02:12:42 +00:00
Glen Barber
bdd1ac9040 Update the last check revision marker.
Sponsored by:	The FreeBSD Foundation
2015-10-06 19:07:10 +00:00
Glen Barber
c472a3f482 Document r288943, clang, llvm, etc. updated to upstream 3.7.0.
Sponsored by:	The FreeBSD Foundation
2015-10-06 19:06:34 +00:00
Glen Barber
c844a7d10f Document r288669, stack protector "strong" level.
Help from:	pfg
Sponsored by:	The FreeBSD Foundation
2015-10-06 17:42:31 +00:00
Glen Barber
025ef85609 Document r288654, lagg(4) fec removal.
Sponsored by:	The FreeBSD Foundation
2015-10-06 17:42:30 +00:00
Glen Barber
777f366fb6 Use UBOOT_FILES in the dd(1) input file, as intended.
Sponsored by:	The FreeBSD Foundation
2015-10-06 01:05:07 +00:00
Glen Barber
4840d2a682 Wrap a long line to make igor(1) happy.
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:14:25 +00:00
Glen Barber
58ff4e97a0 Document r288310, ctl(4) updated to support CD-ROMs and other
removable devices.

Sponsored by:	The FreeBSD Foundation
2015-10-05 20:14:22 +00:00
Glen Barber
998e355466 Document r288303, nc(1) updated to OpenBSD 5.8 version.
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:13:51 +00:00
Glen Barber
2101abf6ba Document r288176, kernel symbols now installed to /usr/lib/debug/.
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:13:49 +00:00
Glen Barber
dac09c912d Document r287917, unbound 1.5.4.
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:13:47 +00:00
Glen Barber
6a7207a4cb Document r287886, fix kqueue write events for files > 2GB
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:13:44 +00:00
Glen Barber
68ce7e47f5 Document r287842, ifconfig(8) exit on error if ioctl(2) fails.
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:13:42 +00:00
Glen Barber
8ddc90772e Document r287798, IPv6 On-Link redirect handling fix.
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:13:39 +00:00
Glen Barber
aace21ac80 Document r287621, CTL HA reimplementation.
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:13:37 +00:00
Glen Barber
1fd305ef85 Document r287576, service(8) updated to respect /etc/rc.conf.d/.
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:13:35 +00:00
Glen Barber
1c22a5320f Document r287522, pciconf(8) prefer pciids from ports database,
if present.

Sponsored by:	The FreeBSD Foundation
2015-10-05 20:13:32 +00:00
Glen Barber
c4af256e48 Document r287473, sesutil(8) addition.
Add Gandi.net to sponsor.ent.

Sponsored by:	The FreeBSD Foundation
2015-10-05 20:13:30 +00:00
Glen Barber
c5afd77651 Document r287469, em(4) update to support I219 chipset.
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:13:27 +00:00
Glen Barber
ec348a9a3b Document r288143, file(1) updated to 5.25.
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:13:25 +00:00
Glen Barber
cac4630d51 Document r287371, support for HiSilicon HI6220 SoC.
Add ABT Systems, Ltd. to sponsor.ent.

Sponsored by:	The FreeBSD Foundation
2015-10-05 20:13:22 +00:00
Glen Barber
88f3c1d00c Document r287306, CUBIEBOARD2 kernel configuration renamed to A20.
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:13:20 +00:00
Glen Barber
72e6e61b92 Document r287225, 1-Wire implementation.
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:13:17 +00:00
Glen Barber
b416cb6a4c Document r287222, pf(4) support for 'scrub fragment crop|drop-ovl'
removed.

Sponsored by:	The FreeBSD Foundation
2015-10-05 20:13:15 +00:00
Glen Barber
10cc826965 Document r287117, ioat(4) driver addition.
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:13:12 +00:00
Glen Barber
cea21d4e00 Document r287099, account for ashift when gathering buffers to
be written to l2arc device

Sponsored by:	The FreeBSD Foundation
2015-10-05 20:13:10 +00:00
Glen Barber
1942cdada0 Document r288090, jemalloc update to 4.0.2.
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:13:07 +00:00
Glen Barber
c9f532a3c5 Document r286829, ability to disable em(4) CRC stripping.
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:13:05 +00:00
Glen Barber
e1ce154aae Document r286795, patch(1) automatic checkout feature removed.
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:13:03 +00:00
Glen Barber
036c6a0328 Document r286750, zoneinfo update to 2015f.
While here, move a few misordered entries.

Sponsored by:	The FreeBSD Foundation
2015-10-05 20:13:01 +00:00
Glen Barber
d5f00aaeef Document r286591, uart(4) PPS runtime-tunable.
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:12:58 +00:00
Glen Barber
ae353465a4 Document r286503, r286505, r286506, r286510:
apr-1.5.2
serf-1.3.8
svnlite-1.8.14
sqlite3-3.8.11.1

Sponsored by:	The FreeBSD Foundation
2015-10-05 20:12:56 +00:00
Glen Barber
6ee0495688 Document r286444, BIO_DELETE passthru support in GELI.
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:12:53 +00:00
Glen Barber
8baec49dee Document r286441, iwm(4) addition.
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:12:51 +00:00
Glen Barber
aabf11e17a Document r286289, xargs(1) '-P 0' mode.
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:12:49 +00:00
Glen Barber
7853d33ead Document r286231, pms(4) added to GENERIC.
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:12:46 +00:00
Glen Barber
4a32ed5c5c Document r286062, xen(4) blkif indirect segment I/O support.
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:12:44 +00:00
Glen Barber
c7e9ac8c08 Document r286010, ar(1) '-D' option enabled by default.
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:12:42 +00:00
Glen Barber
622abf3b26 Fix a revision tag.
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:12:40 +00:00
Glen Barber
17c9d60326 Document r285972, libarchive(3) bugfix for sparse files in tar(1)
archives.

Sponsored by:	The FreeBSD Foundation
2015-10-05 20:12:37 +00:00
Glen Barber
f2aac6bd2c Document r285883, isl(4) addition.
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:12:35 +00:00
Glen Barber
db35c77e77 Document r285876, cyapa(4) addition.
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:12:32 +00:00
Glen Barber
c78febbbe3 Document r287168, ACPICA version 20150818.
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:12:30 +00:00
Glen Barber
70f26ed992 Document r285772, patch(1) '-V none' addition.
Add EMC/Isilon Storage Division to sponsors.ent.

Sponsored by:	The FreeBSD Foundation
2015-10-05 20:12:27 +00:00
Glen Barber
55342c49bd Document r285685, allow mounting linprocfs(5) and linsysfs(5)
within a jail.

Sponsored by:	The FreeBSD Foundation
2015-10-05 20:12:25 +00:00
Glen Barber
4b4f733e18 Document r285662, pms(4) addition.
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:12:22 +00:00
Glen Barber
750700f9c5 Document r285594, 'lenovofix' gpart(8) attribute.
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:12:20 +00:00
Glen Barber
320794d4e3 Document r285524, hw.model sysctl.
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:12:18 +00:00
Glen Barber
9c520b6c1c Document r285420, jail(8) -l flag and default shell execution when
no commands are specified.

Sponsored by:	The FreeBSD Foundation
2015-10-05 20:12:15 +00:00
Glen Barber
7a2d38d31a Document r285387, NUMA affinity/policy configuration.
Add Norse Corporation to sponsors.ent.

Sponsored by:	The FreeBSD Foundation
2015-10-05 20:12:12 +00:00
Glen Barber
02fe526240 Document r285336, AES mode support in IPSEC.
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:12:10 +00:00
Glen Barber
8018e8f0fc Document r285316, FreeBSD/aarch64 SMP support.
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:12:08 +00:00
Glen Barber
702542de18 Document r285277, execl(3) and execlp(3) update to use the gcc
__sentinel attribute.

Sponsored by:	The FreeBSD Foundation
2015-10-05 20:12:05 +00:00
Glen Barber
e7eabf2967 Document r285275, tcpdump(1) updated to version 4.7.4.
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:12:03 +00:00
Glen Barber
c961882427 Document r285253, IPv6 support in quota(1).
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:12:00 +00:00
Glen Barber
b6b5297440 Document r285169, ntp-4.2.8p3.
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:11:58 +00:00
Glen Barber
26256f4d21 Document r285142, IPSEC enabled in GENERIC by default.
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:11:56 +00:00
Glen Barber
425c96acc5 Document r284883, NTFS support in mkimg(1).
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:11:53 +00:00
Baptiste Daroussin
6875f8e707 Remerge as previous one was broken 2015-10-03 07:22:07 +00:00
Glen Barber
12a36c8cce Fix the path to the correct u-boot.bin file to write to
the disk image, which fixes boot issues.

Tested on:	BananaPi
Sponsored by:	The FreeBSD Foundation
2015-10-01 19:48:10 +00:00
Baptiste Daroussin
5a2b666ce5 Merge from head 2015-10-01 09:36:43 +00:00
Glen Barber
3afa6e6c4b Partially revert r288433, with a minor change:
Spell 'k' correctly.

Spotted by:	loos (thank you!)
Sponsored by:	The FreeBSD Foundation
2015-10-01 01:50:20 +00:00
Glen Barber
869cbfdb71 Fix FAT_SIZE by removing '-b' argument passing, which was
a result of my misunderstanding on what Crochet was doing
in this case for these boards.

Sponsored by:	The FreeBSD Foundation
2015-10-01 00:34:38 +00:00
Glen Barber
20297cbf78 Initial attempt to add support for building images for
BANANAPI, CUBIEBOARD, and CUBIEBOARD2 SoCs.

Obtained from:	Crochet, FreeBSD/arm/Allwinner Wiki page
Sponsored by:	The FreeBSD Foundation
2015-09-30 16:31:21 +00:00
Christian Brueffer
3c88af1b35 Add otus(4) to the hardware notes. 2015-09-29 17:04:20 +00:00
Glen Barber
1bd59ef914 In addition to the ubldr file, also copy ubldr.bin to the
MS-DOS partition.  This will help with transitioning to
a single arm/armv6 userland build which could be used for
all FreeBSD/armv6 images without UBLDR_LOADADDR being set
for each board (ultimately requiring a separate buildworld
for each currently).

Requested by:	ian
MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
2015-09-29 16:09:59 +00:00
Glen Barber
91c42fff77 In vm_copy_base(), turn off SU+J on the resultant filesystem,
leaving only SU enabled.

Discussed with:	kib (a few weeks ago)
MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
2015-09-29 15:30:27 +00:00
Glen Barber
238397876d Append VMFORMATS and VMSIZE to RELEASE_RMAKEFLAGS only if
WITH_VMIMAGES is set.

MFC after:	3 days
X-MFC-With:	r288341, r288345
Sponsored by:	The FreeBSD Foundation
2015-09-28 19:19:53 +00:00
Glen Barber
a312aae568 In followup to r288341, ensure VMFORMATS and VMSIZE are not
set to empty values, which would result in nonintuitive build
errors.

MFC after:	3 days
X-MFC-With:	r288341
PR:		203420 (related to)
Sponsored by:	The FreeBSD Foundation
2015-09-28 18:39:21 +00:00
Glen Barber
3a8cff7804 Honor VMFORMATS and VMSIZE if set in release.conf.
PR:		203420
Submitted by:	luca <dot> pizzamiglio <at> gmail <dot> com
MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
2015-09-28 16:33:38 +00:00
Baptiste Daroussin
b5ff185e19 Merge from head 2015-09-12 11:41:31 +00:00
Devin Teske
0c43376ac3 Whitespace alignment
MFC after:	3 weeks
X-MFC-to:	stable/10
X-MFC-with:	287696
2015-09-11 22:42:26 +00:00
Devin Teske
1b8a3e1db2 The <arch>/mkisoimages.sh script in release knows how to add
extra bits from an "xtra-bits-dir". This feature is unusable
from release/Makefile. Add an XTRADIR setting to use it.

Differential Revision:	https://reviews.freebsd.org/D3633
Reviewed by:	kmacy
MFC after:	3 weeks
X-MFC-to:	stable/10
Relnotes:	yes
2015-09-11 21:45:41 +00:00
Devin Teske
27065039bc Fix argument quoting and remove unnecessary braces
MFC after:	3 weeks
X-MFC-to:	stable/10
2015-09-10 22:47:26 +00:00
Glen Barber
104dac63f3 Remove '-' separating OSRELEASE and SNAPSHOT_DATE for vagrant
builds, and prepend it to SNAPSHOT_DATE to prevent a trailing '-'
in the final box name for a release build.

MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
2015-09-01 15:28:35 +00:00
Glen Barber
5f5df47af8 Remove a broken link.
While here, prefer https where possible.

Sponsored by:	The FreeBSD Foundation
2015-08-19 17:51:03 +00:00
Christian Brueffer
95605d7a99 Add iwm(4) to the hardware notes. 2015-08-10 10:41:40 +00:00
Glen Barber
cdc3fa11f7 Fix a typo.
Submitted by:	pkelsey
Sponsored by:	The FreeBSD Foundation
2015-08-06 14:13:01 +00:00
Colin Percival
a5c1653b5c Disable blkif indirect segment I/Os in EC2 by default due to performance
issues on some EC2 instance types.  Users may want to experiment with
removing this from loader.conf and measuring the performance impact on
the EC2 instances they are using.
2015-07-30 04:01:00 +00:00
Gleb Smirnoff
3b82eb20f5 Fix the r272906 description. 2015-07-28 13:48:19 +00:00
Glen Barber
582317b71d Document r285557, bsdinstall aligns zfs partitions on 1Mb boundaries.
Sponsored by:	The FreeBSD Foundation
2015-07-26 19:47:08 +00:00
Glen Barber
45c22431e0 Document r285642, ssh(1) hostname canonicalization before looking
for the host in known_hosts.
Add Dell, Inc. to sponsors.ent.

Sponsored by:	The FreeBSD Foundation
2015-07-26 19:47:05 +00:00
Glen Barber
4fde7cffaf Document r285679, bsdinstall(8) updates to workaround various
problematic BIOSes when booting from GPT, and partition scheme
selection in the UFS partition menu.

Sponsored by:	The FreeBSD Foundation
2015-07-26 19:47:02 +00:00
Glen Barber
d77ddeb88e Further refine the PAE_TABLES entry, based on feedback from
alc.

Sponsored by:	The FreeBSD Foundation
2015-07-26 17:57:35 +00:00
Christian Brueffer
8de5654fe9 Auto-generate hardware notes for pms(4).
MFC after:	1 week
Committed from:	Essen FreeBSD Hackathon
2015-07-24 21:55:16 +00:00
Glen Barber
ab2a653990 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
Glen Barber
6a277d6e8c 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
Brad Davis
a54bd5953b 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
Glen Barber
f3de0df49a 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
Glen Barber
993c9df745 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
Glen Barber
2fa958e941 Document r279824, dtb module for AM335x systems.
Sponsored by:	The FreeBSD Foundation
2015-07-14 21:45:51 +00:00
Glen Barber
5bb773bf0b 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
Glen Barber
a9f7cd7efb Document r278338, rpi.dtb module.
Sponsored by:	The FreeBSD Foundation
2015-07-14 21:45:46 +00:00
Glen Barber
86b417b980 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
Glen Barber
02517a12da Document r282215, SIFTR kernel configuration option.
Sponsored by:	The FreeBSD Foundation
2015-07-14 21:45:40 +00:00
Glen Barber
0fb2c495b4 Document r281495, PAE_TABLES option.
Sponsored by:	The FreeBSD Foundation
2015-07-14 21:45:37 +00:00
Glen Barber
2059d5bca0 Document r273849, timeo, actimeo, noac, proto mount_nfs(8) options.
Sponsored by:	The FreeBSD Foundation
2015-07-14 21:45:35 +00:00
Glen Barber
838bff69e3 Reword the r282731 entry.
Sponsored by:	The FreeBSD Foundation
2015-07-14 20:10:16 +00:00
Glen Barber
a5c8d84e2b Document r279950, bzipfs support in EFI loader.
Sponsored by:	The FreeBSD Foundation
2015-07-14 20:10:14 +00:00
Glen Barber
d219687436 Document r282731, ubldr is relocatable.
Sponsored by:	The FreeBSD Foundation
2015-07-14 20:10:12 +00:00
Glen Barber
20424724c9 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
Glen Barber
256e9f5ae3 Document r277962, support for booting relocatable PowerPC kernels.
Sponsored by:	The FreeBSD Foundation
2015-07-14 20:10:07 +00:00
Glen Barber
8d2d5dabb3 Document r277644, AUDMUX, SDMA, SSI support.
Sponsored by:	The FreeBSD Foundation
2015-07-14 20:10:04 +00:00
Glen Barber
0178d33456 Document r268838, support for Toradex Apalis i.MX6 board.
Sponsored by:	The FreeBSD Foundation
2015-07-14 20:10:02 +00:00
Glen Barber
70c58459ce 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
Glen Barber
ed275f6425 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
Glen Barber
80bee71335 Fix another typo. Sigh.
Submitted by:	brueffer
Approved by:	re (implicit)
Sponsored by:	The FreeBSD Foundation
2015-07-14 17:01:55 +00:00
Glen Barber
cb42deaf81 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
Glen Barber
3b5783acde Fix typo.
Submitted by:	matteo
Approved by:	re (implicit)
Sponsored by:	The FreeBSD Foundation
2015-07-14 15:38:45 +00:00
Glen Barber
36632bef0c Document r281440, psm(4) enhancements.
Sponsored by:	The FreeBSD Foundation
2015-07-14 01:32:04 +00:00
Glen Barber
46d4918d6a Document r275800, reaper facility.
Sponsored by:	The FreeBSD Foundation
2015-07-14 01:32:02 +00:00
Glen Barber
1c233b0c69 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
Glen Barber
3d549a71bd 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
Glen Barber
32c1a5cb18 Document r272906, pfil(9) default hash change.
Sponsored by:	The FreeBSD Foundation
2015-07-13 20:07:17 +00:00
Glen Barber
a7a7ed70d2 Document r278551, ral(4) support for Ralink RT5390 and RT5392
chipsets.

Sponsored by:	The FreeBSD Foundation
2015-07-13 20:07:14 +00:00
Glen Barber
a4571868b1 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
Glen Barber
9283579a65 Document r273375, bhyve support for AMD processors with SVM/AMD-V.
Sponsored by:	The FreeBSD Foundation
2015-07-13 20:07:09 +00:00
Glen Barber
c17c9b92f4 Sort by svn revision.
Sponsored by:	The FreeBSD Foundation
2015-07-13 18:53:50 +00:00
Glen Barber
67a4e22535 Remove duplicate file(1) version entry.
Sponsored by:	The FreeBSD Foundation
2015-07-13 18:53:48 +00:00
Glen Barber
a9d547a66b Sort (yet again) by revision number.
Sponsored by:	The FreeBSD Foundation
2015-07-13 18:53:46 +00:00
Glen Barber
c8e85a3210 Reword previous mkimg(1) update.
Sponsored by:	The FreeBSD Foundation
2015-07-13 18:53:43 +00:00
Glen Barber
34cb44a871 Document r279139, mkimg(1) '-c' option.
Sponsored by:	The FreeBSD Foundation
2015-07-13 18:53:41 +00:00
Glen Barber
4cf4f23b4e s/vs/versus/ to make igor(1) happy.
Rewrap as result.

Sponsored by:	The FreeBSD Foundation
2015-07-13 18:53:38 +00:00
Glen Barber
037c7a1fa2 Document r276893, EFI support added to mkimg(1).
Sponsored by:	The FreeBSD Foundation
2015-07-13 18:53:36 +00:00
Glen Barber
803e432893 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
Glen Barber
ead3ab7aa4 Document r283307, mkimg(1) now used for i386 memstick images.
Sponsored by:	The FreeBSD Foundation
2015-07-13 15:45:02 +00:00
Glen Barber
b4e75f94ae Document r277216, 510.status-world-kernel addition.
Sponsored by:	The FreeBSD Foundation
2015-07-13 15:44:59 +00:00
Glen Barber
b155d78859 Document r282693, native FreeBSD/arm build support in release tools.
Sponsored by:	The FreeBSD Foundation
2015-07-13 15:44:57 +00:00
Glen Barber
45ebda0fe9 Document r262955, 3wire ttys class.
Sponsored by:	The FreeBSD Foundation
2015-07-13 15:44:55 +00:00
Glen Barber
2091068d8f Sort by previous commit by revision ID.
Sponsored by:	The FreeBSD Foundation
2015-07-13 15:44:52 +00:00
Glen Barber
ab59705546 Document r273955, growfs rc(8) script addition.
Sponsored by:	The FreeBSD Foundation
2015-07-13 15:44:50 +00:00
Glen Barber
83232bc8f6 Document r284683, ttyu{1,2,3} enabled by default on arm.
Sponsored by:	The FreeBSD Foundation
2015-07-13 15:44:47 +00:00
Glen Barber
73c071c2e6 Document r282613, nc(1) update to OpenBSD 5.7's version.
Sponsored by:	The FreeBSD Foundation
2015-07-13 15:44:45 +00:00
Glen Barber
8e131ce320 Fix revision for zoneinfo update.
Sponsored by:	The FreeBSD Foundation
2015-07-13 15:44:42 +00:00
Glen Barber
6c616e5778 Document r284398, tzdata update to 2015e.
Sponsored by:	The FreeBSD Foundation
2015-07-13 15:44:40 +00:00
Glen Barber
f7d519d390 Document r282608, date(1) update for compatibility with GNU.
Sponsored by:	The FreeBSD Foundation
2015-07-13 15:44:37 +00:00
Glen Barber
a1912cc902 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 Rizzo
9d73ee0f82 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
Glen Barber
c9969eba96 Document r285329, OpenSSL update to 1.0.1p.
Sponsored by:	The FreeBSD Foundation
2015-07-09 17:24:54 +00:00
Luigi Rizzo
613ab60283 add an extra tty for picobsd builds 2015-07-08 16:42:28 +00:00
Luigi Rizzo
e4405be58b trap some errors when building picobsd 2015-07-08 16:41:25 +00:00
Glen Barber
e90b4979bb Document r283961, pw(8) '-R' option.
Sponsored by:	The FreeBSD Foundation
2015-07-08 12:07:50 +00:00
Glen Barber
9efc2aa4a6 Sort by svn revision.
Fix a few FDP style nits.

Sponsored by:	The FreeBSD Foundation
2015-07-07 04:09:35 +00:00
Gregory Neil Shapiro
8265877704 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
Glen Barber
a1c0309edc 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
Glen Barber
ef3a5d20dd 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
Glen Barber
174fe0cfce 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
Glen Barber
a6d3c7cdd5 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
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
Baptiste Daroussin
2fbd60ec47 Merge from head @274131 2015-06-20 00:58:46 +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
Glen Barber
c8d232d482 Prefer https:// over http://.
Sponsored by:	The FreeBSD Foundation
2015-06-17 16:39:12 +00:00
Baptiste Daroussin
3248e7a673 Move gdb into its own package 2015-06-16 22:25:08 +00:00
Baptiste Daroussin
bc75683de2 Add a bunch of new packages, in particular binutils and groff 2015-06-16 22:06:28 +00:00
Baptiste Daroussin
08796a78ee Move tests into a single FreeBSD-tests package 2015-06-16 21:07:07 +00:00
Baptiste Daroussin
9067d50812 Move clang binaries into FreeBSD-clang package 2015-06-16 20:34:39 +00:00
Baptiste Daroussin
80a3127a72 Fix script syntax 2015-06-15 13:27:57 +00:00
Baptiste Daroussin
dad2fb7ece Merge from head 2015-06-15 10:56:01 +00:00
Glen Barber
73adf3b3f8 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
Glen Barber
42d3029556 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
Glen Barber
717a45fcae 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
Glen Barber
0bf3ddb7a7 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
Glen Barber
6d906814eb Fix a whitespace nit.
Sponsored by:	The FreeBSD Foundation
2015-06-04 16:33:29 +00:00
Glen Barber
44534b84d8 Add initial support for building images for the Duovero Gumstix
board.

Sponsored by:	The FreeBSD Foundation
2015-06-04 16:32:16 +00:00
Glen Barber
b07d911f39 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
Glen Barber
af8f4185fb Add a configuration file to support the Cubox/Hummingboard SoC.
Sponsored by:	The FreeBSD Foundation
2015-06-02 17:03:31 +00:00
Glen Barber
1a5daee0dd 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
Glen Barber
92284ce807 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
Glen Barber
915f44d03b 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
Glen Barber
f3ca4d9170 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
Glen Barber
b506d010c2 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
Glen Barber
d917e7d549 Export 'BOARDNAME' when differs from the KERNCONF.
MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
2015-05-29 02:16:40 +00:00
Glen Barber
ed3d3a8943 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
Glen Barber
37a48d408f MFH: r282615-r283655
Sponsored by:	The FreeBSD Foundation
2015-05-28 17:06:50 +00:00
Glen Barber
18a259a802 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
Glen Barber
e14ba20ace Fix a typo.
Submitted by:	ian
MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
2015-05-26 21:58:22 +00:00
Glen Barber
0c55af22ae 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
Glen Barber
42da72761e Reindent after r283575.
MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
2015-05-26 17:44:31 +00:00
Glen Barber
508485254c Remove duplicate exists() sanity check.
MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
2015-05-26 17:42:28 +00:00
Glen Barber
b4995ae486 Set STAGE_TARGETS only if RELEASEDIR exists.
MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
2015-05-26 17:40:36 +00:00
Glen Barber
d97ccee166 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
Glen Barber
b0dd717602 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
Glen Barber
57cb4b9323 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
Glen Barber
b72901325f 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
Glen Barber
8e2e6ab32f Fix make(1) syntax error for non-embedded targets.
Sponsored by:	The FreeBSD Foundation
2015-05-21 22:50:39 +00:00
Glen Barber
a254b464d8 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
Glen Barber
3e99786994 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
Glen Barber
7ee01d2b1e 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
Glen Barber
2bdd60a101 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
Glen Barber
9aa91d25f9 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
Glen Barber
6a1e2e9a1c Avoid polluting the filesystem when not necessary.
Sponsored by:	The FreeBSD Foundation
2015-05-12 01:27:58 +00:00
Glen Barber
1d4b5e16dd 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
Glen Barber
d44da388a9 Fix more paths to the actual files.
Sponsored by:	The FreeBSD Foundation
2015-05-12 01:14:21 +00:00
Glen Barber
635289e06b Fix more path variables.
Sponsored by:	The FreeBSD Foundation
2015-05-12 01:04:02 +00:00
Glen Barber
afeaf77134 Provide the correct path to the checksum file.
Sponsored by:	The FreeBSD Foundation
2015-05-12 00:58:17 +00:00
Glen Barber
dc5c69bdd1 Also symlink the CHECKSUM.{SHA256,MD5} files.
Sponsored by:	The FreeBSD Foundation
2015-05-12 00:55:28 +00:00
Glen Barber
32ade9ef5a Also copy CHECKSUM.{SHA256,MD5} files.
Sponsored by:	The FreeBSD Foundation
2015-05-12 00:46:32 +00:00
Glen Barber
a3ba37b499 Fix a few incorrect variables and/or hard-coded paths.
Sponsored by:	The FreeBSD Foundation
2015-05-12 00:39:01 +00:00
Glen Barber
0a87b16c59 Sigh. Fix more syntax errors introduced by the last commit.
Sponsored by:	The FreeBSD Foundation
2015-05-12 00:33:18 +00:00
Glen Barber
1baab0b301 Fix a make(1) syntax error.
Sponsored by:	The FreeBSD Foundation
2015-05-12 00:32:28 +00:00
Glen Barber
99f888885d Temporarily 'rm -rf $FTPDIR' during additional testing.
Sponsored by:	The FreeBSD Foundation
2015-05-12 00:30:56 +00:00
Glen Barber
be59bc7ae9 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
Glen Barber
2345494662 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
Glen Barber
ccbf25027e 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
Glen Barber
88feae84be 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
Glen Barber
c083dc0321 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
Glen Barber
4194ca40a5 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
Glen Barber
0c66fe4daa 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
Glen Barber
e2ae79b181 Touch '/firstboot' so the growfs rc(8) script runs.
Sponsored by:	The FreeBSD Foundation
2015-05-08 16:41:21 +00:00
Glen Barber
4c32646a72 Fix the starting block of the partition.
Sponsored by:	The FreeBSD Foundation
2015-05-08 16:37:57 +00:00
Glen Barber
f8254ea686 Initial support for building the PANDABOARD image.
Sponsored by:	The FreeBSD Foundation
2015-05-08 16:00:06 +00:00
Glen Barber
d3c70a1f44 Add a file missed in the previous commit.
Sponsored by:	The FreeBSD Foundation
2015-05-08 15:23:21 +00:00
Glen Barber
89d922bb33 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
Glen Barber
ea904d2c76 Fix FAT partition size.
Sponsored by:	The FreeBSD Foundation
2015-05-08 15:18:31 +00:00
Glen Barber
9fcdd5a3c9 Sigh. Really fix CHECKSUM file creation.
Sponsored by:	The FreeBSD Foundation
2015-05-08 15:15:36 +00:00
Glen Barber
395475f31e Fix CHECKSUM file creation.
Sponsored by:	The FreeBSD Foundation
2015-05-08 15:10:00 +00:00
Glen Barber
53f0cb8fae 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
Glen Barber
763034ac01 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
Glen Barber
4bf1e8aee0 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
Glen Barber
99cf2362e2 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
Glen Barber
40847e360b 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
Glen Barber
b3e7a59bdf Rename KERNEL.img -> OSRELEASE-KERNEL.img when complete.
Sponsored by:	The FreeBSD Foundation
2015-05-08 10:43:29 +00:00
Glen Barber
78e712f1bc 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
Glen Barber
fef41f600c Fix path to /boot/msdos for the target image.
Sponsored by:	The FreeBSD Foundation
2015-05-08 10:38:32 +00:00
Glen Barber
70437a3a2f 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