All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wei Liu <wei.liu2@citrix.com>
To: Ian Jackson <Ian.Jackson@eu.citrix.com>
Cc: Wei Liu <wei.liu2@citrix.com>,
	ian.campbell@citrix.com, xen-devel@lists.xen.org
Subject: Re: [PATCH V4 02/12] TestSupport.pm: introduce create_iso_xorriso for creating isos
Date: Wed, 2 Apr 2014 18:36:34 +0100	[thread overview]
Message-ID: <20140402173634.GI6382@zion.uk.xensource.com> (raw)
In-Reply-To: <21308.13372.250848.317319@mariner.uk.xensource.com>

On Wed, Apr 02, 2014 at 05:01:00PM +0100, Ian Jackson wrote:
> Wei Liu writes ("[PATCH V4 02/12] TestSupport.pm: introduce create_iso_xorriso for creating isos"):
> > ... and convert ts-redhat-install to make use of it.
> 
> Thanks:
> 
> > +
> > +                      create_iso_xorriso
> 
> Why the additional blank line ?
> 

To separate this function from other category. More functions will come.

I will also rename this function to iso_* according to your suggestion
on later patch.

> > +#---------- ISO images ----------
> > +sub create_iso_xorriso ($$$$;@) {
> > +    my ($ho,$iso,$dir,$isotimeout,@xopts) = @_;
> > +
> > +    target_install_packages_norec($ho, qw(xorriso));
> 
> You (sadly) mustn't put this here because multiple simultaneous
> executions of this function on the same host might cause multiple
> simultaneous invocations of apt on the same host, which would fail due
> to apt's locking.
> 

OK.

> > -    my @isogen_base= qw(-R -J -T);
> > +    my @isogen_base= qw(-as mkisofs -R -J);
> 
> I haven't checked these xorriso options; I'll take your word for them.
> 

For genisoimage:
-R     Generate SUSP and RR records using the Rock Ridge protocol to
       further describe the files on the ISO9660 filesystem.
-J     Generate Joliet directory records in addition to regular ISO9660
       filenames.
-T     Generate  a  file  TRANS.TBL  in each directory on the CD-ROM,
       which can be used on non-Rock Ridge-capable systems to
       help establish the correct filenames.

For xorriso with mkisofs personality:
-R    same as above (taken from man 8 mkisofs)
-J    same as above (taken from man 8 mkisofs)
-T    same as above, but will be ignored by xorriso

Wei.

> Thanks,
> Ian.

  reply	other threads:[~2014-04-02 17:36 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-21 16:14 [PATCH V4 00/12] OSSTest: OVMF test job Wei Liu
2014-03-21 16:14 ` [PATCH V4 01/12] TestSupport.pm: add bios option to guest config file Wei Liu
2014-03-21 16:14 ` [PATCH V4 02/12] TestSupport.pm: introduce create_iso_xorriso for creating isos Wei Liu
2014-04-02 16:01   ` Ian Jackson
2014-04-02 17:36     ` Wei Liu [this message]
2014-04-02 17:43       ` Ian Jackson
2014-03-21 16:14 ` [PATCH V4 03/12] TestSupport.pm: move rewrite_config_nocd to support library Wei Liu
2014-04-02 16:04   ` Ian Jackson
2014-04-02 17:46     ` Wei Liu
2014-03-21 16:14 ` [PATCH V4 04/12] TestSupport.pm: introduce guest_create Wei Liu
2014-04-02 16:06   ` Ian Jackson
2014-04-02 17:53     ` Wei Liu
2014-04-03 14:15       ` Ian Jackson
2014-03-21 16:14 ` [PATCH V4 05/12] ts-redhat-install: use $flight, $job and $gn when creating iso Wei Liu
2014-04-02 16:06   ` Ian Jackson
2014-03-21 16:14 ` [PATCH V4 06/12] TestSupport.pm: introduce create_empty_iso Wei Liu
2014-04-02 16:08   ` Ian Jackson
2014-04-02 17:14     ` Wei Liu
2014-04-02 17:26       ` Ian Jackson
2014-03-21 16:14 ` [PATCH V4 07/12] TestSupport.pm: introduce iso_gen_flags_basic Wei Liu
2014-04-02 16:08   ` Ian Jackson
2014-03-21 16:14 ` [PATCH V4 08/12] TestSupport.pm: introduce copy_iso_content_to_dir Wei Liu
2014-04-02 16:10   ` Ian Jackson
2014-04-02 17:26     ` Wei Liu
2014-03-21 16:14 ` [PATCH V4 09/12] Debian.pm: factor out preseed_base Wei Liu
2014-03-21 16:14 ` [PATCH V4 10/12] Introduce ts-debian-hvm-install Wei Liu
2014-04-02 16:15   ` Ian Jackson
2014-04-02 18:17     ` Wei Liu
2014-04-03 14:15       ` Ian Jackson
2014-03-21 16:14 ` [PATCH V4 11/12] sg-run-job: OVMF job Wei Liu
2014-04-02 16:16   ` Ian Jackson
2014-03-21 16:14 ` [PATCH V4 12/12] make-flight: OVMF test flight Wei Liu
2014-04-02 16:27   ` Ian Jackson
2014-04-02 16:31     ` Ian Campbell
2014-04-01 13:43 ` [PATCH V4 00/12] OSSTest: OVMF test job Wei Liu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140402173634.GI6382@zion.uk.xensource.com \
    --to=wei.liu2@citrix.com \
    --cc=Ian.Jackson@eu.citrix.com \
    --cc=ian.campbell@citrix.com \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.