[Libosinfo] [PATCH 2/2] centos: Add CentOS 6.7 data

Fabiano Fidêncio fidencio at redhat.com
Mon Dec 14 07:51:08 UTC 2015


On Tue, Dec 8, 2015 at 1:03 PM, Christophe Fergeau <cfergeau at redhat.com> wrote:
> On Tue, Dec 08, 2015 at 10:28:22AM +0100, Fabiano Fidêncio wrote:
>> About the URL field I've opted to use a server who cleary is related
>> to CentOS and that was recommended by CentOS people from #centos-devel
>> at freenode. Those URLs will point the user to select from another URL
>> (from USA or Europe) where the ISOs can actually be downloaded.
>> ---
>>  data/os/centos.org/centos-6.7.xml.in               | 157 +++++++++++++++++++++
>>  po/POTFILES.in                                     |   1 +
>>  .../centos/centos6.7/CentOS-6.7-i386-LiveCD.iso    |  29 ++++
>>  .../centos/centos6.7/CentOS-6.7-i386-LiveDVD.iso   |  29 ++++
>>  .../centos/centos6.7/CentOS-6.7-i386-bin-DVD1.iso  |  29 ++++
>>  .../centos/centos6.7/CentOS-6.7-i386-minimal.iso   |  29 ++++
>>  .../centos6.7/CentOS-6.7-i386-netinstall.iso       |  29 ++++
>>  .../centos/centos6.7/CentOS-6.7-x86_64-LiveCD.iso  |  29 ++++
>>  .../centos/centos6.7/CentOS-6.7-x86_64-LiveDVD.iso |  29 ++++
>>  .../centos6.7/CentOS-6.7-x86_64-bin-DVD1.iso       |  29 ++++
>>  .../centos/centos6.7/CentOS-6.7-x86_64-minimal.iso |  29 ++++
>>  .../centos6.7/CentOS-6.7-x86_64-netinstall.iso     |  29 ++++
>>  12 files changed, 448 insertions(+)
>>  create mode 100644 data/os/centos.org/centos-6.7.xml.in
>>  create mode 100644 test/isodata/centos/centos6.7/CentOS-6.7-i386-LiveCD.iso
>>  create mode 100644 test/isodata/centos/centos6.7/CentOS-6.7-i386-LiveDVD.iso
>>  create mode 100644 test/isodata/centos/centos6.7/CentOS-6.7-i386-bin-DVD1.iso
>>  create mode 100644 test/isodata/centos/centos6.7/CentOS-6.7-i386-minimal.iso
>>  create mode 100644 test/isodata/centos/centos6.7/CentOS-6.7-i386-netinstall.iso
>>  create mode 100644 test/isodata/centos/centos6.7/CentOS-6.7-x86_64-LiveCD.iso
>>  create mode 100644 test/isodata/centos/centos6.7/CentOS-6.7-x86_64-LiveDVD.iso
>>  create mode 100644 test/isodata/centos/centos6.7/CentOS-6.7-x86_64-bin-DVD1.iso
>>  create mode 100644 test/isodata/centos/centos6.7/CentOS-6.7-x86_64-minimal.iso
>>  create mode 100644 test/isodata/centos/centos6.7/CentOS-6.7-x86_64-netinstall.iso
>>
>> diff --git a/data/os/centos.org/centos-6.7.xml.in b/data/os/centos.org/centos-6.7.xml.in
>> new file mode 100644
>> index 0000000..96bc2c8
>> --- /dev/null
>> +++ b/data/os/centos.org/centos-6.7.xml.in
>> @@ -0,0 +1,157 @@
>> +<libosinfo version="0.0.1">
>> +  <os id="http://centos.org/centos/6.6">
>
> Should be 6.7, not 6.6

Fixed locally, thanks.

>
>> +    <short-id>centos6.7</short-id>
>> +    <_name>CentOS 6.7</_name>
>> +    <version>6.7</version>
>> +    <_vendor>CentOS</_vendor>
>> +    <family>linux</family>
>> +    <distro>centos</distro>
>> +    <upgrades id="http://centos.org/centos/6.6"/>
>> +    <clones id="http://redhat.com/rhel/6.7"/>
>> +
>> +    <!-- DVD -->
>> +    <media arch="i686">
>> +      <url>http://vault.centos.org/6.7/isos/i386/CentOS-6.7-i386-bin-DVD1.iso</url>
>> +      <iso>
>> +        <system-id>LINUX</system-id>
>> +        <volume-id>CentOS_6.7_Final</volume-id>
>> +        <volume-size>3786407936</volume-size>
>> +      </iso>
>> +      <kernel>isolinux/vmlinuz</kernel>
>> +      <initrd>isolinux/initrd.img</initrd>
>> +    </media>
>> +    <media arch="x86_64">
>> +      <url>http://vault.centos.org/6.7/isos/x86_64/CentOS-6.7-x86_64-bin-DVD1.iso</url>
>> +      <iso>
>> +        <system-id>LINUX</system-id>
>> +        <volume-id>CentOS_6.7_Final</volume-id>
>> +        <volume-size>3895459840</volume-size>
>> +      </iso>
>> +      <kernel>isolinux/vmlinuz</kernel>
>> +      <initrd>isolinux/initrd.img</initrd>
>> +    </media>
>> +
>> +    <!-- Live CD -->
>> +    <media arch="i686" live="true">
>> +      <url>http://vault.centos.org/6.7/isos/i386/CentOS-6.7-i386-LiveCD.iso</url>
>> +      <iso>
>> +        <system-id>LINUX</system-id>
>> +        <volume-id>CentOS-6.7-i386-LiveCD</volume-id>
>> +        <volume-size>725614592</volume-size>
>> +      </iso>
>> +      <kernel>isolinux/vmlinuz</kernel>
>> +      <initrd>isolinux/initrd.img</initrd>
>> +    </media>
>> +    <media arch="x86_64" live="true">
>> +      <url>http://vault.centos.org/6.7/isos/x86_64/CentOS-6.7-x86_64-LiveCD.iso</url>
>> +      <iso>
>> +        <system-id>LINUX</system-id>
>> +        <volume-id>CentOS-6.7-x86_64-LiveCD</volume-id>
>> +        <volume-size>730857472</volume-size>
>> +      </iso>
>> +      <kernel>isolinux/vmlinuz</kernel>
>> +      <initrd>isolinux/initrd.img</initrd>
>> +    </media>
>> +
>> +    <!-- Live DVD -->
>> +    <media arch="i686" live="true">
>> +      <url>http://vault.centos.org/6.7/isos/i386/CentOS-6.7-i386-LiveDVD.iso</url>
>> +      <iso>
>> +        <system-id>LINUX</system-id>
>> +        <volume-id>CentOS-6.7-i386-LiveDVD</volume-id>
>> +        <volume-size>1963982848</volume-size>
>> +      </iso>
>> +      <kernel>isolinux/vmlinuz</kernel>
>> +      <initrd>isolinux/initrd.img</initrd>
>> +    </media>
>> +    <media arch="x86_64" live="true">
>> +      <url>http://vault.centos.org/6.7/isos/x86_64/CentOS-6.7-x86_64-LiveDVD.iso</url>
>> +      <iso>
>> +        <system-id>LINUX</system-id>
>> +        <volume-id>CentOS-6.7-x86_64-LiveDVD</volume-id>
>> +        <volume-size>1991245824</volume-size>
>
> Not sure we need to be ultra-specific with volume sizes here as the
> volume-id should be enough for our purposes

Okay. They were added just for completeness, but I agree with you.
I've dropped the volume-size for the Live-CD and Live-DVD.

>
>> +      </iso>
>> +      <kernel>isolinux/vmlinuz</kernel>
>> +      <initrd>isolinux/initrd.img</initrd>
>> +    </media>
>> +
>> +    <!-- Minimal Installer -->
>> +    <media arch="i686">
>> +      <url>http://vault.centos.org/6.7/isos/i386/CentOS-6.7-i386-minimal.iso</url>
>> +      <iso>
>> +        <system-id>LINUX</system-id>
>> +        <volume-id>CentOS_6.7_Final</volume-id>
>> +        <volume-size>367001600</volume-size>
>> +      </iso>
>> +      <kernel>isolinux/vmlinuz</kernel>
>> +      <initrd>isolinux/initrd.img</initrd>
>> +    </media>
>> +    <media arch="x86_64">
>> +      <url>http://vault.centos.org/6.7/isos/i386/CentOS-6.7-x86_64-minimal.iso</url>
>
> s/i386/x86_64/

Fixed locally, thanks.

>
>
>> +      <iso>
>> +        <system-id>LINUX</system-id>
>> +        <volume-id>CentOS_6.7_Final</volume-id>
>> +        <volume-size>414187520</volume-size>
>> +      </iso>
>> +      <kernel>isolinux/vmlinuz</kernel>
>> +      <initrd>isolinux/initrd.img</initrd>
>> +    </media>
>> +
>> +    <!-- Network Installer -->
>> +    <media arch="i686">
>> +      <url>http://vault.centos.org/6.7/isos/i386/CentOS-6.7-i386-netinstall.iso</url>
>> +      <iso>
>> +        <system-id>LINUX</system-id>
>> +        <volume-id>CentOS</volume-id>
>> +        <volume-size>196083712</volume-size>
>> +      </iso>
>> +      <kernel>isolinux/vmlinuz</kernel>
>> +      <initrd>isolinux/initrd.img</initrd>
>> +    </media>
>> +    <media arch="x86_64">
>> +      <url>http://vault.centos.org/6.7/isos/i386/CentOS-6.7-x86_64-netinstall.iso</url>
>
> Ditto

Fixed locally, thanks.

>
> Christophe

I will submit a v2 soon.

Best Regards,
--
Fabiano Fidêncio




More information about the Libosinfo mailing list