Skip to content

Commit

Permalink
kbuild: deb-pkg: add pkg.linux-upstream.nokerneldbg build profile
Browse files Browse the repository at this point in the history
The Debian kernel supports the pkg.linux.nokerneldbg build profile.

The debug package tends to become huge, and you may not want to build
it even when CONFIG_DEBUG_INFO is enabled.

This commit introduces a similar profile for the upstream kernel.

Signed-off-by: Masahiro Yamada <[email protected]>
Reviewed-by: Nicolas Schier <[email protected]>
  • Loading branch information
masahir0y committed Oct 31, 2024
1 parent e2c3182 commit 2ad7126
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/package/mkdebian
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ cat <<EOF >> debian/control
Package: linux-image-$version-dbg
Section: debug
Architecture: $debarch
Build-Profiles: <!pkg.${sourcename}.nokerneldbg>
Description: Linux kernel debugging symbols for $version
This package will come in handy if you need to debug the kernel. It provides
all the necessary debug symbols for the kernel and its modules.
Expand Down

0 comments on commit 2ad7126

Please sign in to comment.