Bug#837588: vmlinux in linux-image packages is unstripped
Hi Ben,
On 23.09.2016 05:39, Ben Hutchings wrote:
> I pushed a fix to the sid branch which I've tested on a powerpc
> porterbox.
The addition of
dh_strip --no-automatic-dbgsym
broke the 64bit parisc/hppa kernel build:
dh_strip --no-automatic-dbgsym
strip:debian/linux-image-4.7.0-1-parisc64-smp/boot/vmlinux-4.7.0-1-parisc64-smp: File format not recognized
dh_strip: strip --remove-section=.comment --remove-section=.note debian/linux-image-4.7.0-1-parisc64-smp/boot/vmlinux-4.7.0-1-parisc64-smp returned exit code 1
debian/rules.real:381: recipe for target 'install-image_hppa_none_parisc64-smp' failed
I'm currently testing this patch (not sure if this is a good patch though):
- dh_strip --no-automatic-dbgsym
+ $(CROSS_COMPILE)strip --remove-section=.comment --remove-section=.note '$(DIR)/$(IMAGE_FILE)'
Helge
Reply to: