Commit Graph

11 Commits

Author SHA1 Message Date
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
750e7eb5dc Fix naming inconsistency with lib32 debug packages.
Sponsored by:	The FreeBSD Foundation
2016-02-01 18:50:52 +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
Baptiste Daroussin
6b710cc6fe development and profile are special tags and should always be the last component
of the name if present
2015-03-18 11:27:11 +00:00
Baptiste Daroussin
0a48fbc082 Support a config tag to flag a file that should be merge on upgrade 2015-03-05 16:20:53 +00:00
Baptiste Daroussin
1e53d87c00 Convert tagged directories in mtree into their plist form 2015-03-05 11:43:12 +00:00
Baptiste Daroussin
f1d1786e24 Simplify and clean awk script
Suggested by:	dteske
2015-03-05 00:18:32 +00:00
Baptiste Daroussin
eed8bc1862 If the package is "runtime-something" rename into "something" 2015-03-04 23:53:45 +00:00
Baptiste Daroussin
f4da3de647 Improve mtree to plist converter
1/ Analyse the fields from mtree lines to extract:
 - owner,
 - group,
 - mode,
 - flags,
 - tags,
2/ Ignore non tagged entries
3/ For now concat tags to form a futur package name
2015-03-04 23:45:39 +00:00
Baptiste Daroussin
24a110a1ec Add a awk script to convert the metalog output into plist
Splitting according to tags
2015-02-08 18:06:36 +00:00