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.gruenbich...@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

Reply via email to