svn commit: r351848 - in head/release: packages scripts

Emmanuel Vadot manu at FreeBSD.org
Thu Sep 5 14:06:02 UTC 2019


Author: manu
Date: Thu Sep  5 14:06:01 2019
New Revision: 351848
URL: https://svnweb.freebsd.org/changeset/base/351848

Log:
  pkgbase: Move the bootloader related files to a new FreeBSD-bootloader package
  
  Bootloader file isn't needed for jails so don't include it in FreeBSD-runtime.
  
  Reviewed by:	bapt, delphij, gjb
  Differential Revision:	https://reviews.freebsd.org/D21496

Modified:
  head/release/packages/Makefile.package
  head/release/scripts/mtree-to-plist.awk   (contents, props changed)

Modified: head/release/packages/Makefile.package
==============================================================================
--- head/release/packages/Makefile.package	Thu Sep  5 10:49:12 2019	(r351847)
+++ head/release/packages/Makefile.package	Thu Sep  5 14:06:01 2019	(r351848)
@@ -20,6 +20,8 @@ binutils_COMMENT= 	Binutils
 binutils_DESC= 		Binutils
 bluetooth_COMMENT=	Bluetooth Utilities
 bluetooth_DESC=		Bluetooth Utilities
+bootloader_COMMENT=	Bootloader
+bootloader_DESC=	Bootloader and configuration files
 bsdinstall_COMMENT= 	BSDInstall Utilities
 bsdinstall_DESC= 	BSDInstall Utilities
 bsnmp_COMMENT= 		BSNMP Utilities

Modified: head/release/scripts/mtree-to-plist.awk
==============================================================================
--- head/release/scripts/mtree-to-plist.awk	Thu Sep  5 10:49:12 2019	(r351847)
+++ head/release/scripts/mtree-to-plist.awk	Thu Sep  5 14:06:01 2019	(r351848)
@@ -28,6 +28,9 @@
 			tags=tags""_kernconf
 		}
 	}
+	if ($1 ~ /^\/boot\//) {
+		tags="package=bootloader"
+	}
 	if (length(tags) == 0)
 		next
 	if (tags ~ /package=/) {


More information about the svn-src-head mailing list