[kernel] r19838 - dists/sid/linux/debian

Ben Hutchings benh at alioth.debian.org
Sat Feb 23 04:49:23 UTC 2013


Author: benh
Date: Sat Feb 23 04:49:21 2013
New Revision: 19838

Log:
linux-image-dbg: Add symlinks to vmlinux from the locations expected by kdump-tools (Closes: #700418), systemtap and others

Modified:
   dists/sid/linux/debian/changelog
   dists/sid/linux/debian/rules.real

Modified: dists/sid/linux/debian/changelog
==============================================================================
--- dists/sid/linux/debian/changelog	Sat Feb 23 00:42:06 2013	(r19837)
+++ dists/sid/linux/debian/changelog	Sat Feb 23 04:49:21 2013	(r19838)
@@ -177,6 +177,8 @@
   * 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.

Modified: dists/sid/linux/debian/rules.real
==============================================================================
--- dists/sid/linux/debian/rules.real	Sat Feb 23 00:42:06 2013	(r19837)
+++ dists/sid/linux/debian/rules.real	Sat Feb 23 04:49:21 2013	(r19838)
@@ -491,6 +491,11 @@
 	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



More information about the Kernel-svn-changes mailing list