HomeFreeBSD

packages: Remove the /boot hack from mtree-to-plist.awk

Description

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

(cherry picked from commit 842942be28b21354e3f547e39fc75bf18ee5b6f7)

Details

Provenance
ivyAuthored on Oct 25 2025, 5:18 PM
Reviewer
cperciva
Differential Revision
D53179: packages: Remove the /boot hack from mtree-to-plist.awk
Parents
rGeff786f23611: id: Add -d and -s options
Branches
Unknown
Tags
Unknown