r2908 - trunk/kernel/source/kernel-source-nonfree-2.6.11-2.6.11/debian

Andres Salomon dilinger@costa.debian.org
Mon, 04 Apr 2005 03:53:10 +0000


Author: dilinger
Date: 2005-04-04 03:53:09 +0000 (Mon, 04 Apr 2005)
New Revision: 2908

Modified:
   trunk/kernel/source/kernel-source-nonfree-2.6.11-2.6.11/debian/rules
Log:
Don't call module-assistant during build (modass doesn't actually know about
the -source packages until it's in the archive); instead, call
debian/rules binary-modules manually.


Modified: trunk/kernel/source/kernel-source-nonfree-2.6.11-2.6.11/debian/rules
===================================================================
--- trunk/kernel/source/kernel-source-nonfree-2.6.11-2.6.11/debian/rules	2005-04-04 03:42:01 UTC (rev 2907)
+++ trunk/kernel/source/kernel-source-nonfree-2.6.11-2.6.11/debian/rules	2005-04-04 03:53:09 UTC (rev 2908)
@@ -16,10 +16,9 @@
 	rm -rf $(CURDIR)/modules
 
 $(patsubst %,build/%,$(DEB_ARCH_PACKAGES)):: mod-src-dir
-	MOD_SRCDIR=$(CURDIR) KPKG_DEST_DIR=$(CURDIR)/.. \
-		fakeroot module-assistant --kernel-dir \
-		/usr/src/$(patsubst build/kernel-nonfree-$(upstream)-modules-%,kernel-headers-%,$@) \
-		--text-mode build kernel-nonfree-$(upstream)
+	cd modules/kernel-nonfree-$(upstream) && \
+		fakeroot debian/rules binary-modules \
+		KSRC=/usr/src/$(patsubst build/kernel-nonfree-$(upstream)-modules-%,kernel-headers-%,$@) DEB_DESTDIR=.. 
 
 install/kernel-nonfree-$(upstream)-source:: mod-src-dir
 	mkdir -p debian/kernel-nonfree-$(upstream)-source/usr/src