view tools/misc/xen-clone.README @ 7238:971e7c7411b3

Raise an exception if an error appears on the pipes to our children, and make
sure that the child's pipes are closed even under that exception. Move the
handling of POLLHUP to the end of the loop, so that we guarantee to read any
remaining data from the child if POLLHUP and POLLIN appear at the same time.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author emellor@ewan
date Thu Oct 06 10:13:11 2005 +0100 (2005-10-06)
parents f6f8ca2fa8d4
line source
2 xen-clone
4 usage: xen-clone <bk_repository> <dest_dir> <orig_linux_dir>
6 This script can be used to 'bk clone' and build a xen and xenolinux image
7 from the master BK repository, either from a local copy, or from the
8 public repository bk://xen.bkbits.net/xeno.bk
10 In many circumstances, it can be invoked without any arguments and
11 just `does the right thing'.
13 The default dest_dir is 'xeno-clone', relative to the current directory.
15 To build xenolinux, the script needs a pristine copy of the equivalent
16 linux tree. The script looks in a couple of places on the local filesystem,
17 then tries a download from from ftp://ftp.kernel.org/pub/linux/kernel/v2.4/
19 The script also tries a number of optional UCCL site-specific operations
20 that configure the test machine booting infrastructure to boot the
21 resultant image.