[pve-devel] [PATCH pve-kernel] d/rules: don't strip debug kernel image
Fabian Grünbichler
f.gruenbichler at proxmox.com
Thu Sep 4 14:11:50 CEST 2025
the regular one is already compressed and stripped, but the debug one enabled
via the custom profile would be stripped because it is detected as static
executable by dh_strip.
Signed-off-by: Fabian Grünbichler <f.gruenbichler at proxmox.com>
---
found this in a local branch, was prompted by a forum thread:
https://forum.proxmox.com/threads/help-compiling-an-unstripped-pve-vmlinux-file.168299/
debian/rules | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index 7f6cadf..628480e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -144,7 +144,7 @@ install: .install_mark .tools_install_mark .headers_install_mark .usr_headers_in
binary: install
debian/rules fwcheck abicheck
- dh_strip -N$(PMX_HEADER_PKG) -N$(PMX_USR_HEADER_PKG)
+ dh_strip -N$(PMX_HEADER_PKG) -N$(PMX_USR_HEADER_PKG) -Xvmlinux -Xvmlinuz
dh_makeshlibs
dh_shlibdeps
dh_installdeb
--
2.47.3
More information about the pve-devel
mailing list