[pve-devel] [PATCH pve-kernel] d/rules: don't strip debug kernel image

Fabian Grünbichler f.gruenbichler at proxmox.com
Wed Oct 8 14:08:36 CEST 2025


ping

On September 4, 2025 2:11 pm, Fabian Grünbichler wrote:
> 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
> 
> 
> 
> _______________________________________________
> pve-devel mailing list
> pve-devel at lists.proxmox.com
> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
> 




More information about the pve-devel mailing list