Package: makedumpfile Version: 1.5.6-2 Severity: normal Tags: patch User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu utopic ubuntu-patch
Dear Louis, This patch adds the ability to automatically find vmlinux kernels as well as vmlinuz. This is required for architectures such as ppc64el. Please attribute the patch to: Mauricio Faria de Oliveira <mauri...@linux.vnet.ibm.com> Thanks for considering the patch. -- System Information: Debian Release: jessie/sid APT prefers trusty-updates APT policy: (500, 'trusty-updates'), (500, 'trusty-security'), (500, 'trusty'), (100, 'trusty-backports') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.13.0-36-lowlatency (SMP w/8 CPU cores; PREEMPT) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
diff -Nru makedumpfile-1.5.6/debian/changelog makedumpfile-1.5.6/debian/changelog diff -Nru makedumpfile-1.5.6/debian/kdump-config makedumpfile-1.5.6/debian/kdump-config --- makedumpfile-1.5.6/debian/kdump-config 2014-06-08 00:02:15.000000000 -0500 +++ makedumpfile-1.5.6/debian/kdump-config 2014-10-01 12:05:38.000000000 -0500 @@ -184,7 +184,13 @@ # 2: The currently running kernel may be relocatable. If so, then # use the currently running kernel as the crash kernel. if check_relocatable /boot/config-$KVER; then - KDUMP_KERNEL=/boot/vmlinuz-$KVER + if [ -f /boot/vmlinuz-$KVER ]; then + KDUMP_KERNEL=/boot/vmlinuz-$KVER + elif [ -f /boot/vmlinux-$KVER ]; then + KDUMP_KERNEL=/boot/vmlinux-$KVER + else + KDUMP_KERNEL= + fi if [ -f /boot/initrd.img-$KVER ]; then KDUMP_INITRD=/boot/initrd.img-$KVER else