[Libosinfo] [PATCH 1/2] centos: Add CentOS 6.6 data
Christophe Fergeau
cfergeau at redhat.com
Tue Dec 8 12:00:39 UTC 2015
Hey,
On Tue, Dec 08, 2015 at 10:28:21AM +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.
These URLs redirect me to a webpage listing mirrors with links to the
toplevel centos directory on the mirror, not a direct link to the ISO.
Hopefully centos will improve this server-side, so let's keep these
links for now if this is what they recommended.
> ---
> data/os/centos.org/centos-6.6.xml.in | 113 +++++++++++++++++++++
> po/POTFILES.in | 1 +
> .../centos/centos6.6/CentOS-6.6-i386-bin-DVD1.iso | 29 ++++++
> .../centos/centos6.6/CentOS-6.6-i386-minimal.iso | 29 ++++++
> .../centos6.6/CentOS-6.6-i386-netinstall.iso | 29 ++++++
> .../centos6.6/CentOS-6.6-x86_64-bin-DVD1.iso | 29 ++++++
> .../centos/centos6.6/CentOS-6.6-x86_64-minimal.iso | 29 ++++++
> .../centos6.6/CentOS-6.6-x86_64-netinstall.iso | 29 ++++++
> 8 files changed, 288 insertions(+)
> create mode 100644 data/os/centos.org/centos-6.6.xml.in
> create mode 100644 test/isodata/centos/centos6.6/CentOS-6.6-i386-bin-DVD1.iso
> create mode 100644 test/isodata/centos/centos6.6/CentOS-6.6-i386-minimal.iso
> create mode 100644 test/isodata/centos/centos6.6/CentOS-6.6-i386-netinstall.iso
> create mode 100644 test/isodata/centos/centos6.6/CentOS-6.6-x86_64-bin-DVD1.iso
> create mode 100644 test/isodata/centos/centos6.6/CentOS-6.6-x86_64-minimal.iso
> create mode 100644 test/isodata/centos/centos6.6/CentOS-6.6-x86_64-netinstall.iso
>
> diff --git a/data/os/centos.org/centos-6.6.xml.in b/data/os/centos.org/centos-6.6.xml.in
> new file mode 100644
> index 0000000..d154ee5
> --- /dev/null
> +++ b/data/os/centos.org/centos-6.6.xml.in
> @@ -0,0 +1,113 @@
> +<libosinfo version="0.0.1">
> + <os id="http://centos.org/centos/6.6">
> + <short-id>centos6.6</short-id>
> + <_name>CentOS 6.6</_name>
> + <version>6.6</version>
> + <_vendor>CentOS</_vendor>
> + <family>linux</family>
> + <distro>centos</distro>
> + <upgrades id="http://centos.org/centos/6.5"/>
> + <clones id="http://redhat.com/rhel/6.6"/>
> +
> + <!-- DVD -->
> + <media arch="i686">
> + <url>http://vault.centos.org/6.6/isos/i386/CentOS-6.6-i386-bin-DVD1.iso</url>
> + <iso>
> + <system-id>LINUX</system-id>
> + <volume-id>CentOS_6.6_Final</volume-id>
> + <volume-size>4029677568</volume-size>
> + </iso>
> + <kernel>isolinux/vmlinuz</kernel>
> + <initrd>isolinux/initrd.img</initrd>
> + </media>
> + <media arch="x86_64">
> + <url>http://vault.centos.org/6.6/isos/x86_64/CentOS-6.6-x86_64-bin-DVD1.iso</url>
> + <iso>
> + <system-id>LINUX</system-id>
> + <volume-id>CentOS_6.6_Final</volume-id>
> + <volume-size>4632608768</volume-size>
> + </iso>
> + <kernel>isolinux/vmlinuz</kernel>
> + <initrd>isolinux/initrd.img</initrd>
> + </media>
> +
> + <!-- Minimal Installer -->
> + <media arch="i686">
> + <url>http://vault.centos.org/6.6/isos/i386/CentOS-6.6-i386-minimal.iso</url>
> + <iso>
> + <system-id>LINUX</system-id>
> + <volume-id>CentOS_6.6_Final</volume-id>
> + <volume-size>355467264</volume-size>
> + </iso>
> + <kernel>isolinux/vmlinuz</kernel>
> + <initrd>isolinux/initrd.img</initrd>
> + </media>
> + <media arch="x86_64">
> + <url>http://vault.centos.org/6.6/isos/i386/CentOS-6.6-x86_64-minimal.iso</url>
Should be /x86_64/ rather than /i386/
> + <iso>
> + <system-id>LINUX</system-id>
> + <volume-id>CentOS_6.6_Final</volume-id>
> + <volume-size>401604608</volume-size>
> + </iso>
> + <kernel>isolinux/vmlinuz</kernel>
> + <initrd>isolinux/initrd.img</initrd>
> + </media>
> +
> + <!-- Network Installer -->
> + <media arch="i686">
> + <url>http://vault.centos.org/6.6/isos/i386/CentOS-6.6-i386-netinstall.iso</url>
> + <iso>
> + <system-id>LINUX</system-id>
> + <volume-id>CentOS</volume-id>
Did you ask CentOS people if it's possible to get a more specific volume
id in the future (similar to the one for the non netinst ISOs)
Maybe the netinst ISOs should be tagged with <variant>? (see how it's
done for fedora for example).
> + <volume-size>190840832</volume-size>
> + </iso>
> + <kernel>isolinux/vmlinuz</kernel>
> + <initrd>isolinux/initrd.img</initrd>
> + </media>
> + <media arch="x86_64">
> + <url>http://vault.centos.org/6.6/isos/i386/CentOS-6.6-x86_64-netinstall.iso</url>
Should be /x86_64/ rather than /i386/
Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libosinfo/attachments/20151208/9b02999a/attachment.sig>
More information about the Libosinfo
mailing list