]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
kbuild: deb-pkg: add pkg.linux-upstream.nokerneldbg build profile
authorMasahiro Yamada <masahiroy@kernel.org>
Tue, 22 Oct 2024 18:16:59 +0000 (03:16 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Thu, 31 Oct 2024 12:41:02 +0000 (21:41 +0900)
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 <masahiroy@kernel.org>
Reviewed-by: Nicolas Schier <nicolas@fjasle.eu>
scripts/package/mkdebian

index 93eb50356ddbbcf731a3cb86e295723db61ae3e9..fc3b7fa709fcf2610bed22ff2953a4e4fc0d217a 100755 (executable)
@@ -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.