lyarwood@redhat.com
2014-Mar-31 15:52 UTC
[Libguestfs] [PATCH] Add the now mandatory arch=ARCH field to the index file examples.
From: Lee Yarwood <lyarwood@redhat.com> 61323fa introduced a mandatory arch field within index files to identify the architecture of the OS installed within a given template. This change simply documents the requirement within the relevant section of the virt-builder man page. Signed-off-by: Lee Yarwood <lyarwood@redhat.com> --- builder/virt-builder.pod | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/builder/virt-builder.pod b/builder/virt-builder.pod index f18c4b0..bde1d4e 100644 --- a/builder/virt-builder.pod +++ b/builder/virt-builder.pod @@ -1078,6 +1078,7 @@ digital signature): [fedora-18] name=Fedora® 18 osinfo=fedora18 + arch=x86_64 file=fedora-18.xz checksum[sha512]=... format=raw @@ -1088,6 +1089,7 @@ digital signature): [fedora-19] name=Fedora® 19 osinfo=fedora19 + arch=x86_64 file=fedora-19.xz checksum[sha512]=... revision=3 @@ -1122,6 +1124,11 @@ I<--list> output but is otherwise not significant. This optional field maps the operating system to the associated libosinfo ID. Virt-builder does not use it (yet). +=item C<arch=ARCH> + +The architecture of the operating system installed within the +template. This field is required. + =item C<file=PATH> The path (relative to the index) of the xz-compressed template. -- 1.9.0
Richard W.M. Jones
2014-Mar-31 16:44 UTC
Re: [Libguestfs] [PATCH] Add the now mandatory arch=ARCH field to the index file examples.
On Mon, Mar 31, 2014 at 04:52:31PM +0100, lyarwood@redhat.com wrote:> From: Lee Yarwood <lyarwood@redhat.com> > > 61323fa introduced a mandatory arch field within index files to > identify the architecture of the OS installed within a given template. > This change simply documents the requirement within the relevant > section of the virt-builder man page. > > Signed-off-by: Lee Yarwood <lyarwood@redhat.com> > --- > builder/virt-builder.pod | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/builder/virt-builder.pod b/builder/virt-builder.pod > index f18c4b0..bde1d4e 100644 > --- a/builder/virt-builder.pod > +++ b/builder/virt-builder.pod > @@ -1078,6 +1078,7 @@ digital signature): > [fedora-18] > name=Fedora® 18 > osinfo=fedora18 > + arch=x86_64 > file=fedora-18.xz > checksum[sha512]=... > format=raw > @@ -1088,6 +1089,7 @@ digital signature): > [fedora-19] > name=Fedora® 19 > osinfo=fedora19 > + arch=x86_64 > file=fedora-19.xz > checksum[sha512]=... > revision=3 > @@ -1122,6 +1124,11 @@ I<--list> output but is otherwise not significant. > This optional field maps the operating system to the associated > libosinfo ID. Virt-builder does not use it (yet). > > +=item C<arch=ARCH> > + > +The architecture of the operating system installed within the > +template. This field is required. > + > =item C<file=PATH> > > The path (relative to the index) of the xz-compressed template.Thanks Lee, I have pushed this. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Fedora Windows cross-compiler. Compile Windows programs, test, and build Windows installers. Over 100 libraries supported. http://fedoraproject.org/wiki/MinGW