* [pve-devel] [PATCH pve-kernel] d/rules: don't strip debug kernel image
@ 2025-09-04 12:11 Fabian Grünbichler
0 siblings, 0 replies; only message in thread
From: Fabian Grünbichler @ 2025-09-04 12:11 UTC (permalink / raw)
To: pve-devel
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@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
_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-09-04 12:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-09-04 12:11 [pve-devel] [PATCH pve-kernel] d/rules: don't strip debug kernel image Fabian Grünbichler
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox