Return-Path: X-Original-To: apmail-incubator-cloudstack-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A7790DEBA for ; Thu, 27 Sep 2012 05:06:53 +0000 (UTC) Received: (qmail 87308 invoked by uid 500); 27 Sep 2012 05:06:53 -0000 Delivered-To: apmail-incubator-cloudstack-commits-archive@incubator.apache.org Received: (qmail 87294 invoked by uid 500); 27 Sep 2012 05:06:53 -0000 Mailing-List: contact cloudstack-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-dev@incubator.apache.org Delivered-To: mailing list cloudstack-commits@incubator.apache.org Received: (qmail 87285 invoked by uid 99); 27 Sep 2012 05:06:53 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Sep 2012 05:06:53 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id E607639395; Thu, 27 Sep 2012 05:06:52 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: edison@apache.org To: cloudstack-commits@incubator.apache.org X-Mailer: ASF-Git Admin Mailer Subject: git commit: cloud.spec: run modprobe post agent install if kvm.modules exists Message-Id: <20120927050652.E607639395@tyr.zones.apache.org> Date: Thu, 27 Sep 2012 05:06:52 +0000 (UTC) Updated Branches: refs/heads/master daeac9ec5 -> 635155090 cloud.spec: run modprobe post agent install if kvm.modules exists Signed-off-by: Edison Su 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 Authored: Wed Sep 26 22:06:05 2012 -0700 Committer: Edison Su 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