incubator-cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From edi...@apache.org
Subject [1/2] git commit: cloud.spec: run modprobe post agent install if kvm.modules exists
Date Thu, 27 Sep 2012 05:07:51 GMT
Updated Branches:
  refs/heads/4.0 34e1fd844 -> 8ed8b8b8b


cloud.spec: run modprobe post agent install if kvm.modules exists

Signed-off-by: Edison Su <disheng.su@gmail.com>


Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/8ed8b8b8
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/8ed8b8b8
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/8ed8b8b8

Branch: refs/heads/4.0
Commit: 8ed8b8b8b66084e0e5409ae5fcc9dc1caca53519
Parents: 666edf2
Author: Marcus Sorensen <shadowsor@gmail.com>
Authored: Wed Sep 26 22:06:05 2012 -0700
Committer: Edison Su <disheng.su@gmail.com>
Committed: Wed Sep 26 22:07:29 2012 -0700

----------------------------------------------------------------------
 cloud.spec |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/8ed8b8b8/cloud.spec
----------------------------------------------------------------------
diff --git a/cloud.spec b/cloud.spec
index 3ae3bd3..410e7e4 100644
--- a/cloud.spec
+++ b/cloud.spec
@@ -387,6 +387,10 @@ else
     /sbin/service %{name}-agent condrestart >/dev/null 2>&1 || true
 fi
 
+if [ -x /etc/sysconfig/modules/kvm.modules ] ; then
+    /bin/sh /etc/sysconfig/modules/kvm.modules
+fi
+
 %post scripts
 rm -fr %{_libdir}/%{name}/agent
 ln -f -s %{_libdir}/%{name}/common %{_libdir}/%{name}/agent


Mime
View raw message