Skip to contentSkip to conversation

Allow install.sh to run from read-only file system

PATCH New Anthony Liguori 1 participant 1 message Sep 2, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Allow install.sh to run from read-only file system

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).

Regards,

Anthony Liguori

# HG changeset patch
# User Anthony Liguori <[email protected]>
# 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).

tools/check/chk +3 -3
diff -r 592b1acd3bac -r feba468a5e51 tools/check/chk
@@ -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
[email protected]
http://lists.xensource.com/xen-devel