Re: [virt-tools-list] virt-install: Getting initrd 'injection' to work...

2010-10-22 Thread Martin Ellis
Two things I should have mentioned, to corroborate my patch: On 21 October 2010 23:02, Martin Ellis wrote: I had a look at the patch that introduced this feature [2], and noticed that it was using cpio -c when repacking the initrd. The -c option corresponds to the 'odc' format:

Re: [virt-tools-list] virt-install: Getting initrd 'injection' to work...

2010-10-22 Thread Cole Robinson
On 10/22/2010 05:39 AM, Martin Ellis wrote: Two things I should have mentioned, to corroborate my patch: On 21 October 2010 23:02, Martin Ellis wrote: I had a look at the patch that introduced this feature [2], and noticed that it was using cpio -c when repacking the initrd. The -c option

Re: [virt-tools-list] virt-install: Getting initrd 'injection' to work...

2010-10-22 Thread Martin Ellis
On 22 October 2010 14:14, Cole Robinson crobi...@redhat.com wrote: Thanks for the patch, I'll give it a spin. What distro are you testing with? Cool, thanks. I'm testing with an Ubuntu 10.04 host, installing a Debian 'Lenny' VM. Martin ___

Re: [virt-tools-list] virt-install: Getting initrd 'injection' to work...

2010-10-22 Thread Richard W.M. Jones
On Thu, Oct 21, 2010 at 11:02:41PM +0100, Martin Ellis wrote: [...] Kickstart is the anaconda-equivalent of preseeding. I've been trying to use preseeding [1] to automate installations of Debian-based VMs. [1] http://d-i.alioth.debian.org/manual/en.i386/apb.html Another way to do this is

[virt-tools-list] libguestfs on OSX

2010-10-22 Thread Justin Clift
Hi Richard, Had a go a while ago, at getting libguestfs working on MacOS X. The Hivex dependency seemed the most unhappy: Making all in lib Making all in tools make[3]: Nothing to be done for `all'. CC libhivex_la-hivex.lo hivex.c: In

Re: [virt-tools-list] libguestfs on OSX

2010-10-22 Thread Justin Clift
On 10/23/2010 05:44 AM, Justin Clift wrote: snip hivexsh.c:231: warning: implicit declaration of function 'open_memstream' hivexsh.c:231: warning: assignment makes pointer from integer without a cast hivexsh.c: In function 'cleanup_readline': hivexsh.c:355: warning: implicit declaration of

Re: [virt-tools-list] libguestfs on OSX

2010-10-22 Thread Richard W.M. Jones
On Sat, Oct 23, 2010 at 05:44:54AM +1100, Justin Clift wrote: #defineENOKEY126 This isn't going to be much help unfortunately. We need a standard errno which will be available

Re: [virt-tools-list] libguestfs on OSX

2010-10-22 Thread Richard W.M. Jones
On Fri, Oct 22, 2010 at 01:44:23PM -0600, Eric Blake wrote: On 10/22/2010 01:06 PM, Richard W.M. Jones wrote: On Sat, Oct 23, 2010 at 05:44:54AM +1100, Justin Clift wrote: #defineENOKEY126

Re: [virt-tools-list] libguestfs on OSX

2010-10-22 Thread Richard W.M. Jones
On Fri, Oct 22, 2010 at 01:44:23PM -0600, Eric Blake wrote: Looks for all the world like a bug in Mac OS X: 695 case hive_t_qword: { 696 int64_t j = hivex_value_qword (h, value); 697 printf (% PRIi64 \n, j); Indeed. And the fact that the compiler is complaining

Re: [virt-tools-list] libguestfs on OSX

2010-10-22 Thread Justin Clift
On 10/23/2010 07:15 AM, Richard W.M. Jones wrote: On Fri, Oct 22, 2010 at 01:44:23PM -0600, Eric Blake wrote: Looks for all the world like a bug in Mac OS X: 695 case hive_t_qword: { 696 int64_t j = hivex_value_qword (h, value); 697 printf (% PRIi64 \n, j); Indeed. And