[Libosinfo] [PATCH 1/4] add support for generic Mageia
Christophe Fergeau
cfergeau at redhat.com
Fri Mar 25 21:05:56 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 | 59 ++++++++++++++++++++++++++++++++
1 file changed, 59 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..5eff18c
--- /dev/null
+++ b/data/os/mageia.org/mageia-unknown.xml.in
@@ -0,0 +1,59 @@
+<libosinfo version="0.0.1">
+
+ <os id="http://mageia.org/mageia/unknown">
+ <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/3"/>
+
+ <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-[4-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-[4-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-[4-9]-(GNOME|KDE4)-Live(CD|DVD)</volume-id>
+ </iso>
+ </media>
+ </os>
+
+</libosinfo>
--
2.5.5
More information about the Libosinfo
mailing list