Commit Graph

7508 Commits

Author SHA1 Message Date
gjb
473c731b65 Fix typo: s/Conrol/Control/
Submitted by:	kib
Sponsored by:	The FreeBSD Foundation
2016-02-04 16:38:24 +00:00
gjb
3ec59dfa47 Add FreeBSD RCSID header and svn:keyword property.
Sponsored by:	The FreeBSD Foundation
2016-02-04 15:41:00 +00:00
gjb
92f18f7e58 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
gjb
212b97a189 Initial commit to add dependencies.
Sponsored by:	The FreeBSD Foundation
2016-02-03 23:41:58 +00:00
gjb
a6998ad84f First pass to fix the 'tests' packages.
Sponsored by:	The FreeBSD Foundation
2016-02-02 22:26:49 +00:00
gjb
f7c36465eb Create ee(1) package.
Sponsored by:	The FreeBSD Foundation
2016-02-02 21:04:33 +00:00
gjb
e0804a8146 Create a package for autofs(5)
Sponsored by:	The FreeBSD Foundation
2016-02-02 17:33:37 +00:00
gjb
34bfa3fb07 Create a package for vi(1) and related files.
Sponsored by:	The FreeBSD Foundation
2016-02-02 16:47:50 +00:00
gjb
e9c206dabf Fix naming inconsistency with lib32 debug packages.
Sponsored by:	The FreeBSD Foundation
2016-02-01 18:50:52 +00:00
gjb
0ad35e90aa Remove unused kernel/post-install file.
Sponsored by:	The FreeBSD Foundation
2016-01-29 00:29:32 +00:00
gjb
8c18d56f01 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
gjb
8ed40c99c8 Comment wordsmithing.
Sponsored by:	The FreeBSD Foundation
2016-01-21 18:45:46 +00:00
gjb
ff2a6cddc9 Create a package for apm(8).
Sponsored by:	The FreeBSD Foundation
2016-01-21 18:41:55 +00:00
gjb
3d734e0583 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
gjb
00d9a083c4 Fix an incorrect comment.
Sponsored by:	The FreeBSD Foundation
2016-01-21 18:02:31 +00:00
gjb
f6492b3249 Create an acct package for accounting tools.
Sponsored by:	The FreeBSD Foundation
2016-01-21 17:49:10 +00:00
gjb
11e00eb04c Create a rcmds package.
Sponsored by:	The FreeBSD Foundation
2016-01-21 17:33:31 +00:00
gjb
ba5c31f467 Add UCL file for release-manuals package, missed in previous commit.
Sponsored by:	The FreeBSD Foundation
2016-01-21 16:38:58 +00:00
gjb
e4028b90cb Add a package for jail(8) and related utilities.
Sponsored by:	The FreeBSD Foundation
2016-01-20 17:07:13 +00:00
gjb
97d8220852 MFH
Sponsored by:	The FreeBSD Foundation
2016-01-14 13:29:12 +00:00
smh
a537473608 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
gjb
5715fe9f0e MFH
Sponsored by:	The FreeBSD Foundation
2016-01-12 14:33:17 +00:00
cperciva
c4a7665f62 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
gjb
c036d05fd1 MFH
Sponsored by:	The FreeBSD Foundation
2016-01-12 01:23:45 +00:00
gjb
f82c2a2d45 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
gjb
46171d6b45 MFH
Sponsored by:	The FreeBSD Foundation
2016-01-07 17:23:43 +00:00
gjb
35c3347b0a 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
gjb
520e1515a8 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
gjb
67aea1719c Rename an incorrectly named debug package file.
Sponsored by:	The FreeBSD Foundation
2016-01-05 22:27:34 +00:00
gjb
d198514d72 MFH
Sponsored by:	The FreeBSD Foundation
2016-01-05 21:12:49 +00:00
gjb
b2615ed1dd 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
gjb
b7841d7cf8 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
gjb
6d892b193d MFH
Sponsored by:	The FreeBSD Foundation
2016-01-05 14:21:02 +00:00
gjb
ea7f4bcbda 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
gjb
3f499d5271 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
gjb
ccde53b74b MFH r289384-r293170
Sponsored by:	The FreeBSD Foundation
2016-01-04 19:19:48 +00:00
brueffer
c9ef17cbe9 Add rtwn(4) to the hardware list. 2016-01-04 18:34:27 +00:00
gjb
b77609818e 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
brd
04942f2034 - 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
gjb
44b9d011ea 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
sjg
06c1e96aac 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
gjb
7320cfca32 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
gjb
dbaecfd3dd Prefer https in package URLs.
Sponsored by:	The FreeBSD Foundation
2015-10-15 19:55:32 +00:00
gjb
609a691ada MFH to r289370
Sponsored by:	The FreeBSD Foundation
2015-10-15 17:36:56 +00:00
gjb
13af28171f 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
bapt
310c294e09 Create a dedicated package for dma 2015-10-10 23:16:40 +00:00
bapt
373087d736 Merge from head 2015-10-09 22:45:54 +00:00
rodrigc
e7165de993 Use print as a function, not operator. 2015-10-08 03:28:15 +00:00
gjb
ebc5619c3a 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
gjb
3c4eddb710 Refine the r286591 entry based on feedback from jilles@.
Sponsored by:	The FreeBSD Foundation
2015-10-07 02:12:44 +00:00