[Libosinfo] [PATCH v2 4/4] mageia: Add generic mageia placeholder
Christophe Fergeau
cfergeau at redhat.com
Fri Mar 25 21:48:36 UTC 2016
From: Thierry Vignaud <tvignaud at redhat.com>
This will automatically detect newer mageia versions
---
data/os/mageia.org/mageia-unknown.xml.in | 55 ++++++++++++++++++++++++++++++++
1 file changed, 55 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..6b43c16
--- /dev/null
+++ b/data/os/mageia.org/mageia-unknown.xml.in
@@ -0,0 +1,55 @@
+<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/5"/>
+
+ <media arch="i686">
+ <variant id="net-install"/>
+ <iso>
+ <volume-id>Mageia-[6-9]-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"/>
+ <iso>
+ <volume-id>Mageia-[6-9]-x86_64-netinstall</volume-id>
+ </iso>
+ <kernel>isolinux/x86_64/vmlinuz</kernel>
+ <initrd>isolinux/x86_64/all.rdz</initrd>
+ </media>
+
+ <media arch="i686">
+ <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">
+ <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.5.5
More information about the Libosinfo
mailing list