[Libosinfo] [PATCH 5/6] add support for generic Mageia

Daniel P. Berrange berrange at redhat.com
Thu Aug 11 16:19:20 UTC 2016


On Thu, Aug 11, 2016 at 04:32:43PM +0200, Thierry Vignaud wrote:
> On 11 August 2016 at 16:29, Daniel P. Berrange <berrange at redhat.com> wrote:
> >> >> - split netinstall,
> >> >> - add variant IDs
> >> >> - add kernel/initrd pathes,
> >> >> - make live be x86_64 (same label between ia32 & x86_64 :-( )
> >> >> - live matches only mga4+
> >> >> ---
> >> >>  data/os/mageia.org/mageia-unknown.xml.in | 69 ++++++++++++++++++++++++++++++++
> >> >>  1 file changed, 69 insertions(+)
> >> >>  create mode 100644 data/os/mageia.org/mageia-unknown.xml.in
> >> >>
> >> >> diff --git a/data/os/mageia.org/mageia-unknown.xml.in b/data/os/mageia.org/mageia-unknown.xml.in
> >> >> new file mode 100644
> >> >> index 0000000..bf90917
> >> >> --- /dev/null
> >> >> +++ b/data/os/mageia.org/mageia-unknown.xml.in
> >> >> @@ -0,0 +1,69 @@
> >> >> +<libosinfo version="0.0.1">
> >> >> +
> >> >> +  <os id="https://wiki.mageia.org/en/Cauldron">
> >> >> +    <short-id>mageia-unknown</short-id>
> >> >> +    <name>Mageia</name>
> >> >> +    <vendor>Mageia</vendor>
> >> >> +    <family>linux</family>
> >> >> +    <distro>mageia</distro>
> >> >> +    <version>unknown</version>
> >> >> +    <derives-from id="http://mageia.org/mageia/5"/>
> >> >> +
> >> >> +    <variant id="live">
> >> >> +      <_name>Mageia Unknown Live</_name>
> >> >> +    </variant>
> >> >> +    <variant id="net-install">
> >> >> +      <_name>Mageia Unknown Net-install</_name>
> >> >> +    </variant>
> >> >> +    <variant id="regular-installer">
> >> >> +      <_name>Mageia Unknown DVD Installer</_name>
> >> >> +    </variant>
> >> >> +
> >> >> +    <media arch="i686">
> >> >> +      <variant id="net-install"/>
> >> >> +      <url>ftp://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/cauldron/i586/install/images/boot.iso</url>
> >> >> +      <iso>
> >> >> +        <volume-id>Mageia.*i586-netinstall</volume-id>
> >> >> +      </iso>
> >> >> +      <kernel>isolinux/i386/vmlinuz</kernel>
> >> >> +      <initrd>isolinux/i386/all.rdz</initrd>
> >> >> +    </media>
> >> >> +
> >> >> +    <media arch="x86_64">
> >> >> +      <variant id="net-install"/>
> >> >> +      <url>ftp://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/cauldron/x86_64/install/images/boot.iso</url>
> >> >
> >> > What is this FTP site ? Is that really the official host for the
> >> > Mageia download ISO ?
> >>
> >> That's just one of the faster mirror as the web doesn't provide an URL
> >> for cauldron (~= rawhide for FC) like it does for stable release
> >
> > There must be somewhere that the mirrors are getting their master
> > content from. We don't really want to link to specific mirrors
> > as that inappropriately directs traffic to just one mirror, defeating
> > the point of having lots of mirrors. Also mirrors come & go, so we
> > don't want to depend on one specific mirror continuing to exist.
> 
> Sadly the primary source for primary mirrors isn't publicaly availlable....

In that case we should either leave out the URL, or enhance libosinfo
to support specifying a mirror list in some manner.

Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the Libosinfo mailing list