summaryrefslogtreecommitdiff
path: root/stand
diff options
context:
space:
mode:
authorLexi Winter <ivy@FreeBSD.org>2025-10-25 18:18:46 +0100
committerLexi Winter <ivy@FreeBSD.org>2025-10-26 02:22:47 +0000
commit842942be28b21354e3f547e39fc75bf18ee5b6f7 (patch)
tree9ae9a6289b1b745a99ea63d4a1d3619cad62a054 /stand
parente93db9abc9a62d662c40d783663d64cdb829a0cc (diff)
packages: Remove the /boot hack from mtree-to-plist.awk
Currently, files in /boot (other than /boot/kernel) are assigned to the bootloader package using a filename match in mtree-to-plist.awk. This causes some problems, most notably that debug info for userboot ends up in the utilities-dbg package instead of bootloader-dbg. Remove the path handling from mtree-to-plist and instead set PACKAGE in the appropriate Makefiles to put these in the correct package. While here, move userboot*.so from bootloader-dev to bootloader. MFC after: 3 days Reviewed by: cperciva Sponsored by: https://www.patreon.com/bsdivy Differential Revision: https://reviews.freebsd.org/D53179
Diffstat (limited to 'stand')
-rw-r--r--stand/Makefile.inc2
-rw-r--r--stand/userboot/Makefile.inc4
2 files changed, 6 insertions, 0 deletions
diff --git a/stand/Makefile.inc b/stand/Makefile.inc
index 5d55c4e4a16f..2866ebd20af3 100644
--- a/stand/Makefile.inc
+++ b/stand/Makefile.inc
@@ -1,5 +1,7 @@
SUBDIR_PARALLEL= yes
+PACKAGE= bootloader
+
# Firmware may not be able to handle branch protection failures
MK_BRANCH_PROTECTION= no
diff --git a/stand/userboot/Makefile.inc b/stand/userboot/Makefile.inc
index 01b5f23410c8..392fd59a115f 100644
--- a/stand/userboot/Makefile.inc
+++ b/stand/userboot/Makefile.inc
@@ -1 +1,5 @@
.include "../Makefile.inc"
+
+# userboot.so should be installed in the base bootloader package,
+# not bootloader-dev.
+NO_DEV_PACKAGE=