git: 11f3da565519 - main - pkgbase: Remove /boot/firmware from bootloader package

From: Emmanuel Vadot <manu_at_FreeBSD.org>
Date: Mon, 16 Dec 2024 09:47:05 UTC
The branch main has been updated by manu:

URL: https://cgit.FreeBSD.org/src/commit/?id=11f3da5655194c46b4acdde586ac1b8d6a196994

commit 11f3da5655194c46b4acdde586ac1b8d6a196994
Author:     Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2024-12-12 16:12:11 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2024-12-16 09:44:45 +0000

    pkgbase: Remove /boot/firmware from bootloader package
    
    For now we don't ship anything in /boot/firmware, but some up coming commit
    will ship wifi drivers in it and we want them to be in their own package.
    
    Sponsored by:   Beckhoff Automation GmbH & Co. KG
---
 release/scripts/mtree-to-plist.awk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/release/scripts/mtree-to-plist.awk b/release/scripts/mtree-to-plist.awk
index a5ff6fef235a..a9f1e194389a 100644
--- a/release/scripts/mtree-to-plist.awk
+++ b/release/scripts/mtree-to-plist.awk
@@ -43,7 +43,7 @@
 				if ($1 ~ /^\/boot\//) {
 					if (kernel != "" && $1 ~ /^\/boot\/dtb\//)
 						pkgname="dtb"
-					else
+					else if ($1 !~ /^\/boot\/firmware\//)
 						pkgname="bootloader"
 				}
 				gsub(/package=/, "", pkgname)