[Libosinfo] [PATCH 5/6] add support for generic Mageia
Thierry Vignaud
thierry.vignaud at gmail.com
Wed Aug 10 16:19:20 UTC 2016
From: Thierry Vignaud <tvignaud at redhat.com>
v2:
- 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>
+ <iso>
+ <volume-id>Mageia.*x86_64-netinstall</volume-id>
+ </iso>
+ <kernel>isolinux/x86_64/vmlinuz</kernel>
+ <initrd>isolinux/x86_64/all.rdz</initrd>
+ </media>
+
+ <media arch="i686">
+ <variant id="regular-installer"/>
+ <iso>
+ <volume-id>Mageia-[6-9]-.*i586</volume-id>
+ </iso>
+ <kernel>isolinux/i386/vmlinuz</kernel>
+ <initrd>isolinux/i386/all.rdz</initrd>
+ </media>
+
+ <media arch="x86_64">
+ <variant id="regular-installer"/>
+ <iso>
+ <volume-id>Mageia-[6-9].*x86_64</volume-id>
+ </iso>
+ <kernel>isolinux/x86_64/vmlinuz</kernel>
+ <initrd>isolinux/x86_64/all.rdz</initrd>
+ </media>
+
+ <!-- both ia32 & x86_64 share the same label... -->
+ <media live="true" arch="x86_64">
+ <variant id="live"/>
+ <iso>
+ <volume-id>Mageia-[6-9]-(GNOME|KDE4)-Live(CD|DVD)</volume-id>
+ </iso>
+ </media>
+ </os>
+
+</libosinfo>
--
2.9.2
More information about the Libosinfo
mailing list