[pkg-fso-commits] [SCM] linux-2.6-openmoko, the Linux 2.6 kernel tree from Openmoko branch, debian, updated. debian/20090702.gitd1c828aa-1-8-g4e597d7

Luca Capello luca at pca.it
Thu Jul 23 11:28:46 UTC 2009


The following commit has been merged in the debian branch:
commit e6c25b4b3927e767152a7e8f258e69c827bfaada
Author: Luca Capello <luca at pca.it>
Date:   Wed Jul 22 17:28:55 2009 +0200

    debian/*: install the kernel System.map as well

diff --git a/debian/changelog b/debian/changelog
index f9bca85..29b5f0e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,8 @@ linux-2.6-openmoko (20090702.gitd1c828aa-2) UNRELEASED; urgency=low
     + generate the depmod modules.* files when configuring.
   * debian/prerm.in:
     - remove the depmod modules.* files when removing or upgrading.
+  * debian/rules:
+    + install the System.map.
 
  --
 
diff --git a/debian/postinst.in b/debian/postinst.in
index 74c5cd3..e758357 100644
--- a/debian/postinst.in
+++ b/debian/postinst.in
@@ -14,5 +14,5 @@ fi
 
 # Generate the depmod modules.* files
 if [ "$1" = "configure" ]; then
-    depmod -a "$VERSION"
+    depmod -a -F "/boot/System.map-$VERSION" "$VERSION"
 fi
diff --git a/debian/rules b/debian/rules
index 6212d11..aa0156e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -57,6 +57,9 @@ install-stamp: build
 	mkdir `pwd`/debian/`dh_listpackages`/boot/
 	cp uImage.bin-$(VERSION_FULL) `pwd`/debian/`dh_listpackages`/boot/
 
+	# Install the System.map
+	cp System.map `pwd`/debian/`dh_listpackages`/boot/System.map-$(VERSION_FULL)
+
 	# Install the modules.
 	$(MAKE) INSTALL_MOD_STRIP=1 \
 		INSTALL_MOD_PATH=`pwd`/debian/`dh_listpackages`/ \

-- 
linux-2.6-openmoko, the Linux 2.6 kernel tree from Openmoko



More information about the pkg-fso-commits mailing list