From 2aedaff7b19b97be9751f903efc74f1372bd6c14 Mon Sep 17 00:00:00 2001 From: Ben Hutchings Date: Sat, 23 Feb 2013 04:49:21 +0000 Subject: [PATCH] linux-image-dbg: Add symlinks to vmlinux from the locations expected by kdump-tools (Closes: #700418), systemtap and others svn path=/dists/sid/linux/; revision=19838 --- debian/changelog | 2 ++ debian/rules.real | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/debian/changelog b/debian/changelog index 894b5439b..6dba6fbc3 100644 --- a/debian/changelog +++ b/debian/changelog @@ -177,6 +177,8 @@ linux (3.2.39-1) UNRELEASED; urgency=low * drm, agp: Update to 3.4.32 - drm/radeon: add WAIT_UNTIL to the non-VM safe regs list for cayman/TN - drm/radeon: prevent crash in the ring space allocation + * linux-image-dbg: Add symlinks to vmlinux from the locations expected by + kdump-tools (Closes: #700418), systemtap and others [ Aurelien Jarno ] * [armhf/vexpress] Add kernel udebs. diff --git a/debian/rules.real b/debian/rules.real index bb29be50d..83149a3aa 100644 --- a/debian/rules.real +++ b/debian/rules.real @@ -491,6 +491,11 @@ ifeq ($(MODULES),True) find $(DEBUG_DIR)/lib/modules/$(REAL_VERSION)/ -mindepth 1 -maxdepth 1 \! -name kernel -exec rm {} \+ rm $(DEBUG_DIR)/lib/firmware -rf endif +# Add symlinks to vmlinux from the locations expected by kdump-tools, +# systemtap and others + ln -s boot/vmlinux-$(REAL_VERSION) $(DEBUG_DIR)/ + mkdir -p $(DEBUG_DIR)/lib/modules/$(REAL_VERSION) + ln -s ../../../boot/vmlinux-$(REAL_VERSION) $(DEBUG_DIR)/lib/modules/$(REAL_VERSION)/vmlinux +$(MAKE_SELF) install-base install-udeb_$(ARCH): export KW_DEFCONFIG_DIR=debian/installer