Comment 2 for bug 1905020

Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2021-02-19 08:08 EDT-------
There are no patches required upstream - that feature is just about adding arch/s390/boot/compressed/vmlinux to the kernel debug package. So i think only the rules file of that package needs to be modified. Maybe a diff explains it better:

--- ./debian/rules.d/2-binary-arch.mk.ori 2021-02-19 13:09:46.466852048 +0000
+++ ./debian/rules.d/2-binary-arch.mk 2021-02-19 12:54:32.056342686 +0000
@@ -279,6 +279,10 @@
# Debug image is simple
install -m644 -D $(builddir)/build-$*/vmlinux \
$(dbgpkgdir)/usr/lib/debug/boot/vmlinux-$(abi_release)-$*
+ifeq ($(arch),s390x)
+ install -m644 -D $(builddir)/build-$*/arch/s390/boot/compressed/vmlinux \
+ $(dbgpkgdir)/usr/lib/debug/boot/vmlinux-$(abi_release)-$*.decompressor
+endif
$(build_cd) $(kmake) $(build_O) modules_install $(vdso) \
INSTALL_MOD_PATH=$(dbgpkgdir)/usr/lib/debug
# Add .gnu_debuglink sections only after all/DKMS modules are built.