All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Allow install.sh to run from read-only file system
@ 2005-09-02  4:25 Anthony Liguori
  0 siblings, 0 replies; only message in thread
From: Anthony Liguori @ 2005-09-02  4:25 UTC (permalink / raw)
  To: xen-devel

[-- Attachment #1: Type: text/plain, Size: 224 bytes --]

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@us.ibm.com>

Regards,

Anthony Liguori

[-- Attachment #2: 6574_chk.diff --]
[-- Type: text/x-patch, Size: 865 bytes --]

# HG changeset patch
# User Anthony Liguori <anthony@codemonkey.ws>
# 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
         ;;
     *)

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-09-02  4:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-02  4:25 [PATCH] Allow install.sh to run from read-only file system Anthony Liguori

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.