Install debug kernel image in /usr/lib/debug/boot (Closes: #582810)

svn path=/dists/sid/linux-2.6/; revision=15768
This commit is contained in:
Ben Hutchings 2010-05-25 23:57:41 +00:00
parent 382d2b806f
commit 1e3b85e9f1
2 changed files with 3 additions and 2 deletions

1
debian/changelog vendored
View File

@ -19,6 +19,7 @@ linux-2.6 (2.6.32-14) UNRELEASED; urgency=low
* nouveau: Fix fbcon corruption with font width not divisible by 8
(Closes: #583162)
* [amd64] ext4: Fix compat EXT4_IOC_ADD_GROUP (used by online resize)
* Install debug kernel image in /usr/lib/debug/boot (Closes: #582810)
[ Bastian Blank ]
* Update Xen patch.

4
debian/rules.real vendored
View File

@ -465,8 +465,8 @@ install-image-dbg_$(ARCH)_$(FEATURESET)_$(FLAVOUR): $(STAMPS_DIR)/build_$(ARCH)_
dh_testdir
dh_testroot
dh_prep
dh_installdirs usr/lib/debug
install -m644 $(DIR)/vmlinux $(DEBUG_DIR)/vmlinux-$(REAL_VERSION)
dh_installdirs usr/lib/debug usr/lib/debug/boot
install -m644 $(DIR)/vmlinux $(DEBUG_DIR)/boot/vmlinux-$(REAL_VERSION)
ifeq ($(MODULES),True)
+$(MAKE_CLEAN) -C $(DIR) modules_install INSTALL_MOD_PATH='$(CURDIR)'/$(DEBUG_DIR)
rm $(DEBUG_DIR)/lib/modules/*/{build,source,modules.*}