diff --git a/src/opnsense/scripts/firmware/sets.sh b/src/opnsense/scripts/firmware/sets.sh index 50390bb21..5e9ad2d96 100755 --- a/src/opnsense/scripts/firmware/sets.sh +++ b/src/opnsense/scripts/firmware/sets.sh @@ -40,6 +40,10 @@ KL=0 opnsense-update -Tb || BL=1 opnsense-update -Tk || KL=1 +# We could detect debug kernel by looking into /usr/lib/debug +# and add a suffix "-dbg" suffix for the kernel, but it will meddle +# with the name. Or we add a kernel.name file in the long run. + cat << EOF base${SEP}${BV}${SEP}${OS} userland set${SEP}${BS}${SEP}${BL}${SEP}${LIC} kernel${SEP}${KV}${SEP}${OS} kernel set${SEP}${KS}${SEP}${KL}${SEP}${LIC}