diff options
| author | Lexi Winter <ivy@FreeBSD.org> | 2025-10-02 01:13:56 +0000 |
|---|---|---|
| committer | Lexi Winter <ivy@FreeBSD.org> | 2025-10-02 01:37:35 +0000 |
| commit | ed6716207debca81c37a1399ecf1d799be0e688d (patch) | |
| tree | 93170c9a1d16a4217bc6370dcb801a2fe1dd3cfa | |
| parent | 63ce00f5d0b5dc34d57fb8d3969b875732c93eb2 (diff) | |
bsdinstall/pkgbase: Restore the kernel-dbg component
Commit 561dc357c2f5 changed the way we handle components in the prompt,
and accidentally resulted in the kernel-dbg component not being listed
since we now hide all components ending in "-dbg".
Add an exception for kernel-dbg to bring it back.
Fixes: 561dc357c2f5 ("bsdinstall: Use package sets for pkgbase install")
MFC after: 3 seconds
Reviewed by: emaste
Sponsored by: https://www.patreon.com/bsdivy
Differential Revision: https://reviews.freebsd.org/D52826
| -rwxr-xr-x | usr.sbin/bsdinstall/scripts/pkgbase.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/bsdinstall/scripts/pkgbase.in b/usr.sbin/bsdinstall/scripts/pkgbase.in index d02d89b23865..14ef67723d59 100755 --- a/usr.sbin/bsdinstall/scripts/pkgbase.in +++ b/usr.sbin/bsdinstall/scripts/pkgbase.in @@ -117,7 +117,7 @@ local function select_components(components, options) -- are only offered if no_kernel is set. if component ~= "pkg" and not component:match("^minimal") and - not component:match("%-dbg$") and + not (component:match("%-dbg$") and component ~= "kernel-dbg") and not (component == "kernels") and not (not options.no_kernel and component:match("%-jail$")) then table.insert(sorted_components, component) |
