aboutsummaryrefslogtreecommitdiff
path: root/release
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2020-03-24 01:07:01 +0000
committerEmmanuel Vadot <manu@FreeBSD.org>2020-03-24 01:07:01 +0000
commitc016c891966a63fd5992515c130823ae01af208c (patch)
tree8937baf22c073e47719ce4a0d06a215be2aec952 /release
parent2596eb88477d4a1847f50aaf9f487a1b3c26429d (diff)
Notes
Diffstat (limited to 'release')
-rw-r--r--release/scripts/mtree-to-plist.awk5
1 files changed, 2 insertions, 3 deletions
diff --git a/release/scripts/mtree-to-plist.awk b/release/scripts/mtree-to-plist.awk
index e43519a64364..a5065dd55fb2 100644
--- a/release/scripts/mtree-to-plist.awk
+++ b/release/scripts/mtree-to-plist.awk
@@ -28,9 +28,6 @@
tags=tags""_kernconf
}
}
- if ($1 ~ /^\/boot\//) {
- tags="package=bootloader"
- }
if (length(tags) == 0)
next
if (tags ~ /package=/) {
@@ -39,6 +36,8 @@
for (i in a) {
if (a[i] ~ /^package=/) {
pkgname=a[i]
+ if ($1 ~ /^\/boot\//)
+ pkgname="bootloader"
gsub(/package=/, "", pkgname)
} else if (a[i] == "config") {
type="config"