[Libosinfo] [PATCH] ubuntu: add Ubuntu 16.10 info

Pino Toscano ptoscano at redhat.com
Thu Mar 16 09:27:42 UTC 2017


On Wednesday, 15 March 2017 20:33:11 CET Fabiano Fidêncio wrote:
> On Wed, Mar 15, 2017 at 6:28 PM, Pino Toscano <ptoscano at redhat.com> wrote:
> > ---
> >  data/os/ubuntu.com/ubuntu-16.10.xml.in | 93 ++++++++++++++++++++++++++++++++++
> >  1 file changed, 93 insertions(+)
> >  create mode 100644 data/os/ubuntu.com/ubuntu-16.10.xml.in
> >
> > diff --git a/data/os/ubuntu.com/ubuntu-16.10.xml.in b/data/os/ubuntu.com/ubuntu-16.10.xml.in
> > new file mode 100644
> > index 0000000..bea4182
> > --- /dev/null
> > +++ b/data/os/ubuntu.com/ubuntu-16.10.xml.in
> > @@ -0,0 +1,93 @@
> > +<libosinfo version="0.0.1">
> > +<!-- Licensed under the GNU General Public License version 2 or later.
> > +     See http://www.gnu.org/licenses/ for a copy of the license text -->
> > +  <os id="http://ubuntu.com/ubuntu/16.10">
> > +    <short-id>ubuntu16.10</short-id>
> > +    <short-id>ubuntutyakkety</short-id>
> > +    <_name>Ubuntu 16.10</_name>
> > +    <version>16.10</version>
> > +    <_vendor>Canonical Ltd</_vendor>
> > +    <family>linux</family>
> > +    <distro>ubuntu</distro>
> > +    <codename>Yakkety Yak</codename>
> > +    <upgrades id="http://ubuntu.com/ubuntu/16.04"/>
> > +    <derives-from id="http://ubuntu.com/ubuntu/16.04"/>
> > +
> > +    <release-date>2016-10-13</release-date>
> > +
> > +    <resources arch="all">
> > +      <minimum>
> > +        <cpu>1000000000</cpu>
> > +        <n-cpus>1</n-cpus>
> > +        <ram>1073741824</ram>
> > +        <storage>5368709120</storage>
> > +      </minimum>
> > +      <recommended>
> > +        <cpu>1000000000</cpu>
> > +        <ram>1073741824</ram>
> > +        <storage>16106127360</storage>
> > +      </recommended>
> > +    </resources>
> > +
> > +    <media arch="i686">
> > +      <url>http://releases.ubuntu.com/releases/yakkety/ubuntu-16.10-server-i386.iso</url>
> > +      <iso>
> > +        <volume-id>Ubuntu-Server 16.10(.\d)? i386</volume-id>
> > +      </iso>
> > +      <kernel>install/vmlinuz</kernel>
> > +      <initrd>install/initrd.gz</initrd>
> > +    </media>
> > +    <media arch="x86_64">
> > +      <url>http://releases.ubuntu.com/releases/yakkety/ubuntu-16.10-server-amd64.iso</url>
> > +      <iso>
> > +        <volume-id>Ubuntu-Server 16.10(.\d)? amd64</volume-id>
> > +      </iso>
> > +      <kernel>install/vmlinuz</kernel>
> > +      <initrd>install/initrd.gz</initrd>
> > +    </media>
> > +    <media arch="i686" live="true">
> > +      <url>http://releases.ubuntu.com/releases/yakkety/ubuntu-16.10-desktop-i386.iso</url>
> > +      <iso>
> > +        <volume-id>Ubuntu 16.10(.\d)? i386</volume-id>
> > +      </iso>
> > +      <kernel>casper/vmlinuz</kernel>
> > +      <initrd>casper/initrd.lz</initrd>
> > +    </media>
> > +    <media arch="x86_64" live="true">
> > +      <url>http://releases.ubuntu.com/releases/yakkety/ubuntu-16.10-desktop-amd64.iso</url>
> > +      <iso>
> > +        <volume-id>Ubuntu 16.10(.\d)? amd64</volume-id>
> > +      </iso>
> > +      <kernel>casper/vmlinuz</kernel>
> > +      <initrd>casper/initrd.lz</initrd>
> > +    </media>
> > +    <media arch="aarch64">
> > +      <url>http://cdimage.ubuntu.com/releases/yakkety/release/ubuntu-16.10-server-arm64.iso</url>
> > +      <iso>
> > +        <volume-id>Ubuntu-Server 16.10(.\d)? arm64</volume-id>
> > +      </iso>
> > +    </media>
> > +    <media arch="ppc">
> > +      <url>http://cdimage.ubuntu.com/releases/yakkety/release/ubuntu-16.10-server-powerpc.iso</url>
> > +      <iso>
> > +        <volume-id>Ubuntu-Server 16.10(.\d)? ppc</volume-id>
> > +      </iso>
> > +    </media>
> > +    <media arch="ppc64le">
> > +      <url>http://cdimage.ubuntu.com/releases/yakkety/release/ubuntu-16.10-server-ppc64el.iso</url>
> > +      <iso>
> > +        <volume-id>Ubuntu-Server 16.10(.\d)? ppc64</volume-id>
> > +      </iso>
> > +    </media>
> > +    <media arch="s390x">
> > +      <url>http://cdimage.ubuntu.com/releases/yakkety/release/ubuntu-16.10-server-s390x.iso</url>
> > +      <iso>
> > +        <volume-id>Ubuntu-Server 16.10(.\d)? s390x</volume-id>
> > +      </iso>
> > +    </media>
> > +
> > +    <installer>
> > +      <script id='http://ubuntu.com/ubuntu/preseed/jeos'/>
> > +    </installer>
> > +  </os>
> > +</libosinfo>
> > --
> > 2.9.3
> >
> > _______________________________________________
> > Libosinfo mailing list
> > Libosinfo at redhat.com
> > https://www.redhat.com/mailman/listinfo/libosinfo
> 
> Pino,
> 
> Thanks for the patch (and sorry if I forgot to mention that in the
> previously reviewed patch).
> 
> Do you have access to the ISO from where you got this info?
> 
> If yes, would you mind also providing a patch for libosinfo adding the
> iso to our test database?
> 
> `isoinfo -d -i /path/to/file` is what we're interested in.
> 
> You can just create new folders under ubuntu dir, as you can see here:
> https://gitlab.com/libosinfo/libosinfo/tree/master/test/isodata/ubuntu

Sure thing -- patch for libisoinfo attached.

Thanks,
-- 
Pino Toscano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ubuntu-add-Ubuntu-16.10-test-data.patch
Type: text/x-patch
Size: 10019 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libosinfo/attachments/20170316/3e1f0b9a/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://listman.redhat.com/archives/libosinfo/attachments/20170316/3e1f0b9a/attachment.sig>


More information about the Libosinfo mailing list