From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:45433) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qvao5-0001QV-Dt for qemu-devel@nongnu.org; Mon, 22 Aug 2011 16:09:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qvanz-0007SH-Hp for qemu-devel@nongnu.org; Mon, 22 Aug 2011 16:09:08 -0400 Received: from mout.perfora.net ([74.208.4.195]:54814) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qvanz-0007Rk-Di for qemu-devel@nongnu.org; Mon, 22 Aug 2011 16:09:07 -0400 From: Michael Roth Date: Mon, 22 Aug 2011 12:09:17 -0500 Message-Id: <1314032960-23474-3-git-send-email-mdroth@linux.vnet.ibm.com> In-Reply-To: <1314032960-23474-1-git-send-email-mdroth@linux.vnet.ibm.com> References: <1314032960-23474-1-git-send-email-mdroth@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH 2/5] guest tools: installer harness List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: aliguori@linux.vnet.ibm.com, mdroth@linux.vnet.ibm.com This is what the users run in the guest to install the guest tools. Since initially only the guest agent will be installed in the manner, the logic is to simply iterate through each projects, execute the install script, then do the next. It's up the the project-specific install scripts to decide whether to upgrade/error/etc. In the future this may change to support more intelligent dependency checking and allow for interactive installs. Only linux is supported initially, windows and other platforms will follow as needed. Signed-off-by: Michael Roth --- guest-tools-iso/install.linux | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) create mode 100755 guest-tools-iso/install.linux diff --git a/guest-tools-iso/install.linux b/guest-tools-iso/install.linux new file mode 100755 index 0000000..2291444 --- /dev/null +++ b/guest-tools-iso/install.linux @@ -0,0 +1,7 @@ +#!/bin/sh + +for project in projects/*; do + cd $project + sudo ./install.linux + cd - +done -- 1.7.0.4