[Pkg-lustre-svn-commit] updated: [912f1ee] Add a ugly hack to recommend ofa-kernel-modules if they should exist (if lustre is linked against it)
Patrick Winnertz
winnie at debian.org
Thu Jun 24 12:50:46 UTC 2010
The following commit has been merged in the master branch:
commit 912f1ee0915da2f7ad3bae00bf9ab1f024c4b592
Author: Patrick Winnertz <winnie at debian.org>
Date: Wed Jun 23 13:54:58 2010 +0200
Add a ugly hack to recommend ofa-kernel-modules if they should exist (if lustre is linked against it)
Signed-off-by: Patrick Winnertz <winnie at debian.org>
diff --git a/debian/rules b/debian/rules
index 3a1b5e1..530da4b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -269,6 +269,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...
--
Lustre Debian Packaging
More information about the Pkg-lustre-svn-commit
mailing list