From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Liguori Subject: [PATCH] Allow install.sh to run from read-only file system Date: Thu, 01 Sep 2005 23:25:17 -0500 Message-ID: <4317D42D.3030101@us.ibm.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------000304010207040301090806" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --------------000304010207040301090806 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 Regards, Anthony Liguori --------------000304010207040301090806 Content-Type: text/x-patch; name="6574_chk.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="6574_chk.diff" # HG changeset patch # User Anthony Liguori # 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 ;; *) --------------000304010207040301090806 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --------------000304010207040301090806--