[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] Allow install.sh to run from read-only file system


  • To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Anthony Liguori <aliguori@xxxxxxxxxx>
  • Date: Thu, 01 Sep 2005 23:25:17 -0500
  • Delivery-date: Fri, 02 Sep 2005 04:23:16 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Make the check script log to /tmp instead of the working directory.  This
allows us to install from a read-only file system (such as a cdrom).

Signed-off-by: Anthony Liguori <aliguori@xxxxxxxxxx>

Regards,

Anthony Liguori
# HG changeset patch
# User Anthony Liguori <anthony@xxxxxxxxxxxxx>
# Node ID feba468a5e51874367aac4d8ab767bfa45a8f4b4
# Parent  592b1acd3bac146ec31c06dc0ea16ab20b9faf43
Make the check script log to /tmp instead of the working directory.  This
allows us to install from a read-only file system (such as a cdrom).

diff -r 592b1acd3bac -r feba468a5e51 tools/check/chk
--- a/tools/check/chk   Thu Sep  1 23:27:02 2005
+++ b/tools/check/chk   Fri Sep  2 01:01:23 2005
@@ -17,14 +17,14 @@
 case $1 in
     build)
         check="CHECK-BUILD"
-        info=".chkbuild"
+        info="/tmp/xen.chkbuild"
         ;;
     install)
         check="CHECK-INSTALL"
-        info=".chkinstall"
+        info="/tmp/xen.chkinstall"
         ;;
     clean)
-        rm -f .chkbuild .chkinstall
+        rm -f /tmp/xen.chkbuild /tmp/xen.chkinstall
         exit 0
         ;;
     *)
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.