Updated Branches: refs/heads/master daeac9ec5 -> 635155090
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/63515509 Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/63515509 Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/63515509 Branch: refs/heads/master Commit: 635155090a52d050968e66fcfc5eaa4314f05d4f Parents: daeac9e Author: Marcus Sorensen <[email protected]> Authored: Wed Sep 26 22:06:05 2012 -0700 Committer: Edison Su <[email protected]> Committed: Wed Sep 26 22:06:39 2012 -0700 ---------------------------------------------------------------------- cloud.spec | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/63515509/cloud.spec ---------------------------------------------------------------------- diff --git a/cloud.spec b/cloud.spec index 46dc602..342b525 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
