Updated Branches: refs/heads/4.0 34e1fd844 -> 8ed8b8b8b
cloud.spec: run modprobe post agent install if kvm.modules exists Signed-off-by: Edison Su <[email protected]> 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 <[email protected]> Authored: Wed Sep 26 22:06:05 2012 -0700 Committer: Edison Su <[email protected]> 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
