aboutsummaryrefslogtreecommitdiff
path: root/sys/contrib/edk2/Include/Protocol/DevicePath.h
diff options
context:
space:
mode:
authorLexi Winter <ivy@FreeBSD.org>2026-02-21 20:19:42 +0000
committerLexi Winter <ivy@FreeBSD.org>2026-02-21 20:21:59 +0000
commit7965c93e4d4103ba6ed7ac1e5f1599c93cbcdbf7 (patch)
tree69a666203c71e3d839db78de29d96c8fdbec4209 /sys/contrib/edk2/Include/Protocol/DevicePath.h
parentfa77660a3ccbd5f30e88093703b0f93892ef35d7 (diff)
packages: Don't create empty packagesHEADmain
If a package plist only contains directories, but no files, do not create the package. This fixes an issue where setting "package=foo" in mtree causes the "foo" package to always be created, even if nothing else installs in that package, because the mtree entry is always added to the plist. This most often happens: * With architecture-specific directories, because mtree can't install a directory conditionally based on architecture, and * With packages that are completely empty when a particular src.conf knob is disabled, because mtree will still create the directories. Although it's theoretically possible that we might want to create a package that only contains directories, there are no such packages today. MFC after: 2 weeks (stable/15 only) Reviewed by: manu, des Differential Revision: https://reviews.freebsd.org/D55412 Sponsored by: https://www.patreon.com/bsdivy
Diffstat (limited to 'sys/contrib/edk2/Include/Protocol/DevicePath.h')
0 files changed, 0 insertions, 0 deletions