[svn] r9361 - in /trunk/elrepo/dag/drbd83-kmod: drbd83-kmod-el5.spec drbd83-kmod-el6.spec

Dag Wieers dag at wieers.com
Sat Dec 4 14:49:59 CET 2010


Author: dag
Date: Sat Dec  4 13:49:59 2010
New Revision: 9361

URL: http://svn.rpmforge.net/viewvc/rpmforge?rev=9361&view=rev
Log:
Fix installation path for module

Modified:
    trunk/elrepo/dag/drbd83-kmod/drbd83-kmod-el5.spec
    trunk/elrepo/dag/drbd83-kmod/drbd83-kmod-el6.spec

Modified: trunk/elrepo/dag/drbd83-kmod/drbd83-kmod-el5.spec
URL: http://svn.rpmforge.net/viewvc/rpmforge/trunk/elrepo/dag/drbd83-kmod/drbd83-kmod-el5.spec?rev=9361&r1=9360&r2=9361&view=diff
==============================================================================
--- trunk/elrepo/dag/drbd83-kmod/drbd83-kmod-el5.spec (original)
+++ trunk/elrepo/dag/drbd83-kmod/drbd83-kmod-el5.spec Sat Dec  4 13:49:59 2010
@@ -94,7 +94,7 @@
 for kvariant in %{kvariants} ; do
     ksrc="%{_usrsrc}/kernels/%{kversion}${kvariant:+-$kvariant}-%{_target_cpu}"
     kpath="$PWD/_kmod_build_$kvariant"
-    %{__make} -C "$ksrc" modules_install M="$kpath"
+    %{__make} -C "$ksrc" modules_install M="$kpath/drbd"
 done
 %{__install} -Dp -m0644 kmod-%{kmod_name}.conf %{buildroot}/etc/depmod.d/kmod-%{kmod_name}.conf
 # Strip the module(s).

Modified: trunk/elrepo/dag/drbd83-kmod/drbd83-kmod-el6.spec
URL: http://svn.rpmforge.net/viewvc/rpmforge/trunk/elrepo/dag/drbd83-kmod/drbd83-kmod-el6.spec?rev=9361&r1=9360&r2=9361&view=diff
==============================================================================
--- trunk/elrepo/dag/drbd83-kmod/drbd83-kmod-el6.spec (original)
+++ trunk/elrepo/dag/drbd83-kmod/drbd83-kmod-el6.spec Sat Dec  4 13:49:59 2010
@@ -68,7 +68,7 @@
 export INSTALL_MOD_PATH="%{buildroot}"
 export INSTALL_MOD_DIR="extra/%{kmod_name}"
 ksrc="%{_usrsrc}/kernels/%{kversion}"
-%{__make} -C "$ksrc" modules_install M="$PWD"
+%{__make} -C "$ksrc" modules_install M="$PWD/drbd"
 %{__install} -Dp -m0644 kmod-%{kmod_name}.conf %{buildroot}/etc/depmod.d/kmod-%{kmod_name}.conf
 # Strip the module(s).
 find %{buildroot} -type f -name \*.ko -exec %{__strip} --strip-debug \{\} \;




More information about the commits mailing list