[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] TestSupport.pm: introduce create_empty_iso

You forgot to CC xen-devel. I've added it back for the benifit of other

On Fri, Mar 21, 2014 at 11:26:10PM +0100, Thomas Schmitt wrote:
> Hi,
> i read in
>   http://lists.xen.org/archives/html/xen-devel/2014-03/msg02873.html
> > [Xen-devel] [PATCH V4 06/12] TestSupport.pm: introduce create_empty_iso
> > diff --git a/Osstest/TestSupport.pm b/Osstest/TestSupport.pm
> > index df6c4c1..a4a738f 100644
> > + # Unfortunately xorriso refuses to create an ISO if the input
> > + # directory is empty.
> It is possible by
>    xorriso -as mkisofs -o /tmp/my.iso [more mkisofs options] \
>            -- -changes_pending yes
> The argument "--" ends the range of -as mkisofs.
> The xorriso command -changes_pending "yes" forces image production
> even if no files have been added.

Thanks for the tip. It's much better than my workaround! I will
incorporate this into my patch. (not this one, but the other one that
invokes xorriso)

> I am curious for what purpose you need an empty ISO filesystem.

In this kind of testcases, we generate an ISO to auto-install a guest.
After the installation, the guest reboots. We replace the ISO in config
file with an empyt ISO to prevent reinstalling the guest.

> Have a nice day :)

You too. :-)


> Thomas

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.