[kernel] r5906 - dists/trunk/linux-2.6/debian

Bastian Blank waldi at costa.debian.org
Thu Feb 16 20:14:58 UTC 2006


Author: waldi
Date: Thu Feb 16 20:14:57 2006
New Revision: 5906

Modified:
   dists/trunk/linux-2.6/debian/rules.real
Log:
debian/rules.real: Fix used version.


Modified: dists/trunk/linux-2.6/debian/rules.real
==============================================================================
--- dists/trunk/linux-2.6/debian/rules.real	(original)
+++ dists/trunk/linux-2.6/debian/rules.real	Thu Feb 16 20:14:57 2006
@@ -226,7 +226,8 @@
 	cpio -pd --preserve-modification-time $(DIR)
 	$(MAKE) -f debian/rules.real install-base
 
-install-header-$(ARCH)-$(SUBARCH)-$(FLAVOUR): PACKAGE_NAME = linux-headers-$(VERSION)-$(ABINAME)$(LOCALVERSION)
+install-header-$(ARCH)-$(SUBARCH)-$(FLAVOUR): REAL_VERSION = $(VERSION)-$(ABINAME)$(LOCALVERSION)
+install-header-$(ARCH)-$(SUBARCH)-$(FLAVOUR): PACKAGE_NAME = linux-headers-$(REAL_VERSION)
 install-header-$(ARCH)-$(SUBARCH)-$(FLAVOUR): PACKAGE_NAME_HEADERS = linux-headers-$(VERSION)-$(ABINAME)$(LOCALVERSION_HEADERS)
 install-header-$(ARCH)-$(SUBARCH)-$(FLAVOUR): DH_OPTIONS = -p$(PACKAGE_NAME)
 install-header-$(ARCH)-$(SUBARCH)-$(FLAVOUR): BASE_DIR = /usr/src/$(PACKAGE_NAME)
@@ -267,7 +268,7 @@
 
 	cd ${SOURCE_DIR}; \
 	find include -mindepth 1 -maxdepth 1 \
-		! -name config -a ! -name linux -a ! -name 'asm-*' \
+		! -name config -a ! -name linux -a ! -name 'asm*' \
 		-printf "../../${PACKAGE_NAME_HEADERS}/%p\n" | \
 		xargs ln -s --target-directory="${DIR}/include"
 	cp -a ${SOURCE_DIR}/include/config "${DIR}/include"
@@ -288,8 +289,8 @@
 		done \
 	done
 	
-	mkdir -p "${PACKAGE_DIR}/lib/modules/${UPSTREAM_VERSION}"
-	ln -s "/usr/src/${PACKAGE_NAME}" "${PACKAGE_DIR}/lib/modules/${UPSTREAM_VERSION}/build"
+	mkdir -p "${PACKAGE_DIR}/lib/modules/${REAL_VERSION}"
+	ln -s "/usr/src/${PACKAGE_NAME}" "${PACKAGE_DIR}/lib/modules/${REAL_VERSION}/build"
 	
 	# Populate the scripts directory. The strategy here is to specify what
 	# *not* to copy, to make things a little bit more robust. We first create



More information about the Kernel-svn-changes mailing list