[Pkg-lustre-svn-commit] updated: [46120d6] Removed ofa-kernel-modules dependencies from rules file

Marco Nelles marco.nelles at credativ.com
Mon Jul 2 09:06:11 UTC 2012


The following commit has been merged in the master branch:
commit 46120d671b529eb57acbd21dc028d4886ef926ce
Author: Marco Nelles <marco.nelles at credativ.com>
Date:   Mon Jul 2 13:05:32 2012 +0200

    Removed ofa-kernel-modules dependencies from rules file

diff --git a/debian/rules b/debian/rules
index 1f5b0cb..a006217 100755
--- a/debian/rules
+++ b/debian/rules
@@ -264,14 +264,10 @@ kdist_config: prep-deb-files
 	#  Check build dependencies again, needs to be done since we just
 	# replaced the control file.
 	dpkg-checkbuilddeps
-	# ugly hack to recommend ofa-kernel-modules if they should exist
-	if [ ! -z $(OFA_KERNEL) ]; then \
-	    sed -e 's#^Recommends:\(.*\)#Recommends:\1, ofa-kernel-modules-$(KVERS)#g' -i debian/control; \
-	fi
 	# touch files to same date, to avoid auto*
 	find . -type f -exec touch -r COPYING {} \;
 	# Doesn't seem possible to only build modules...
-	./configure --with-linux=$(KSRC) $(OFA_KERNEL) \
+	./configure --with-linux=$(KSRC) \
 		    --disable-quilt  \
 		    --disable-dependency-tracking \
 		    --disable-doc  \

-- 
Lustre Debian Packaging 



More information about the Pkg-lustre-svn-commit mailing list