[Libosinfo] [libosinfo] Add mageia ISO data

Christophe Fergeau cfergeau at redhat.com
Tue Oct 15 10:12:17 UTC 2013


---
 data/oses/Makefile.am                              |   1 +
 data/oses/mageia.xml.in                            | 133 +++++++++++++++++++++
 po/POTFILES.in                                     |   1 +
 test/isodata/mageia/mageia1/mageia-dual-1.iso.txt  |  29 +++++
 .../mageia/mageia1/mageia-dvd-1-i586.iso.txt       |  29 +++++
 ...ecd-1-GNOME-europe1-americas-cdrom-i586.iso.txt |  29 +++++
 ...vecd-1-KDE4-europe1-americas-cdrom-i586.iso.txt |  29 +++++
 .../mageia/mageia2/Mageia-2-dual-CD.iso.txt        |  29 +++++
 .../mageia/mageia2/Mageia-2-i586-DVD.iso.txt       |  29 +++++
 .../Mageia-3-LiveCD-GNOME-en-i586-CD.iso.txt       |  29 +++++
 .../Mageia-3-LiveCD-KDE4-en-i586-CD.iso.txt        |  29 +++++
 .../Mageia-3-LiveDVD-GNOME-i586-DVD.iso.txt        |  29 +++++
 .../Mageia-3-LiveDVD-GNOME-x86_64-DVD.iso.txt      |  29 +++++
 .../mageia3/Mageia-3-LiveDVD-KDE4-i586-DVD.iso.txt |  29 +++++
 .../Mageia-3-LiveDVD-KDE4-x86_64-DVD.iso.txt       |  29 +++++
 .../mageia/mageia3/Mageia-3-dual-CD.iso.txt        |  29 +++++
 .../mageia/mageia3/Mageia-3-i586-DVD.iso.txt       |  29 +++++
 .../mageia/mageia3/Mageia-3-x86_64-DVD.iso.txt     |  29 +++++
 test/test-isodetect.c                              |   7 ++
 19 files changed, 577 insertions(+)
 create mode 100644 data/oses/mageia.xml.in
 create mode 100644 test/isodata/mageia/mageia1/mageia-dual-1.iso.txt
 create mode 100644 test/isodata/mageia/mageia1/mageia-dvd-1-i586.iso.txt
 create mode 100644 test/isodata/mageia/mageia1/mageia-livecd-1-GNOME-europe1-americas-cdrom-i586.iso.txt
 create mode 100644 test/isodata/mageia/mageia1/mageia-livecd-1-KDE4-europe1-americas-cdrom-i586.iso.txt
 create mode 100644 test/isodata/mageia/mageia2/Mageia-2-dual-CD.iso.txt
 create mode 100644 test/isodata/mageia/mageia2/Mageia-2-i586-DVD.iso.txt
 create mode 100644 test/isodata/mageia/mageia3/Mageia-3-LiveCD-GNOME-en-i586-CD.iso.txt
 create mode 100644 test/isodata/mageia/mageia3/Mageia-3-LiveCD-KDE4-en-i586-CD.iso.txt
 create mode 100644 test/isodata/mageia/mageia3/Mageia-3-LiveDVD-GNOME-i586-DVD.iso.txt
 create mode 100644 test/isodata/mageia/mageia3/Mageia-3-LiveDVD-GNOME-x86_64-DVD.iso.txt
 create mode 100644 test/isodata/mageia/mageia3/Mageia-3-LiveDVD-KDE4-i586-DVD.iso.txt
 create mode 100644 test/isodata/mageia/mageia3/Mageia-3-LiveDVD-KDE4-x86_64-DVD.iso.txt
 create mode 100644 test/isodata/mageia/mageia3/Mageia-3-dual-CD.iso.txt
 create mode 100644 test/isodata/mageia/mageia3/Mageia-3-i586-DVD.iso.txt
 create mode 100644 test/isodata/mageia/mageia3/Mageia-3-x86_64-DVD.iso.txt

diff --git a/data/oses/Makefile.am b/data/oses/Makefile.am
index abebd0f..49c8bab 100644
--- a/data/oses/Makefile.am
+++ b/data/oses/Makefile.am
@@ -8,6 +8,7 @@ database_in_files = 	\
 	fedora.xml.in   \
 	freebsd.xml.in  \
 	gnome.xml.in	\
+	mageia.xml.in \
 	mandriva.xml.in \
 	mandrake.xml.in \
 	netbsd.xml.in	\
diff --git a/data/oses/mageia.xml.in b/data/oses/mageia.xml.in
new file mode 100644
index 0000000..4e994d8
--- /dev/null
+++ b/data/oses/mageia.xml.in
@@ -0,0 +1,133 @@
+<libosinfo version="0.0.1">
+
+  <os id="http://mageia.org/mageia/1">
+    <short-id>mageia1</short-id>
+    <_name>Mageia 1</_name>
+    <_vendor>Mageia</_vendor>
+    <family>linux</family>
+    <distro>mageia</distro>
+    <version>1</version>
+    <derives-from id="http://mandriva.com/mandriva/2010.1"/>
+    <release-date>2011-06-01</release-date>
+    <eol-date>2012-12-01</eol-date>
+
+    <media arch="i686">
+      <url>https://www.mageia.org/en/downloads/get/?q=mageia-1-dvd-i586</url>
+      <iso>
+        <volume-id>1-i586</volume-id>
+        <publisher-id>Mageia.Org</publisher-id>
+      </iso>
+    </media>
+    <media arch="i686">
+      <url>http://www.mageia.org/fr/downloads/get/?q=mageia-1-cd-dualarch</url>
+      <iso>
+        <volume-id>mageia-dual-1</volume-id>
+      </iso>
+    </media>
+    <media arch="x86_64">
+      <url>http://www.mageia.org/fr/downloads/get/?q=mageia-1-cd-dualarch</url>
+      <iso>
+        <volume-id>mageia-dual-1</volume-id>
+      </iso>
+    </media>
+    <media arch="x86_64">
+      <url>https://www.mageia.org/en/downloads/get/?q=mageia-1-dvd-x86_64</url>
+      <iso>
+        <volume-id>1-x86_64</volume-id>
+        <publisher-id>Mageia.Org</publisher-id>
+      </iso>
+    </media>
+    <media live="true" arch="i686">
+      <url>http://www.mageia.org/fr/downloads/get/?q=mageia-1-live-kde-europe1-cd-i586</url>
+<!--
+      The Mageia project releases several live CD isos for different languages, but libosinfo
+      currently only supports one <url> node per <media> node
+
+      <url>http://www.mageia.org/fr/downloads/get/?q=mageia-1-live-kde-europe2-cd-i586</url>
+      <url>http://www.mageia.org/fr/downloads/get/?q=mageia-1-live-kde-asia-cd-i586</url>
+      <url>http://www.mageia.org/fr/downloads/get/?q=mageia-1-live-kde-africa-cd-i586</url>
+      <url>http://www.mageia.org/fr/downloads/get/?q=mageia-1-live-gnome-europe1-cd-i586</url>
+      <url>http://www.mageia.org/fr/downloads/get/?q=mageia-1-live-gnome-europe2-cd-i586</url>
+      <url>http://www.mageia.org/fr/downloads/get/?q=mageia-1-live-gnome-asia-cd-i586</url>
+      <url>http://www.mageia.org/fr/downloads/get/?q=mageia-1-live-gnome-africa-cd-i586</url>
+-->
+      <iso>
+        <volume-id>Livecd-1-(GNOME|KDE)</volume-id>
+      </iso>
+    </media>
+  </os>
+
+  <os id="http://mageia.org/mageia/2">
+    <short-id>mageia2</short-id>
+    <_name>Mageia 2</_name>
+    <_vendor>Mageia</_vendor>
+    <family>linux</family>
+    <distro>mageia</distro>
+    <version>2</version>
+    <derives-from id="http://mageia.org/mageia/1"/>
+    <release-date>2012-05-22</release-date>
+    <eol-date>2013-11-22</eol-date>
+
+    <media arch="i686">
+      <url>https://www.mageia.org/en/downloads/get/?q=Mageia-2-i586-DVD.iso</url>
+<!--
+      <url>http://www.mageia.org/en/downloads/get/?q=Mageia-2-dual-CD.iso</url>
+-->
+      <iso>
+        <volume-id>Mageia-2(-i586)?</volume-id>
+      </iso>
+    </media>
+    <media arch="x86_64">
+      <url>https://www.mageia.org/en/downloads/get/?q=Mageia-2-x86_64-DVD.iso</url>
+<!--
+      <url>http://www.mageia.org/en/downloads/get/?q=Mageia-2-dual-CD.iso</url>
+-->
+      <iso>
+        <volume-id>Mageia-2(-x86_64)?</volume-id>
+      </iso>
+    </media>
+  </os>
+
+  <os id="http://mageia.org/mageia/3">
+    <short-id>mageia3</short-id>
+    <_name>Mageia 3</_name>
+    <_vendor>Mageia</_vendor>
+    <family>linux</family>
+    <distro>mageia</distro>
+    <version>3</version>
+    <derives-from id="http://mageia.org/mageia/2"/>
+    <release-date>2013-05-19</release-date>
+    <eol-date>2014-11-19</eol-date>
+
+    <media arch="i686">
+      <url>https://www.mageia.org/en/downloads/get/?q=Mageia-3-i586-DVD.iso</url>
+<!--
+      <url>http://www.mageia.org/fr/downloads/get/?q=Mageia-3-dual-CD.iso</url>
+-->
+      <iso>
+        <volume-id>Mageia-3(-i586)?</volume-id>
+      </iso>
+    </media>
+    <media arch="x86_64">
+      <url>https://www.mageia.org/en/downloads/get/?q=Mageia-3-x86_64-DVD.iso</url>
+<!--
+      <url>http://www.mageia.org/fr/downloads/get/?q=Mageia-3-dual-CD.iso</url>
+-->
+      <iso>
+        <volume-id>Mageia-3(-x86_64)?</volume-id>
+      </iso>
+    </media>
+    <media live="true" arch="i686">
+      <url>http://www.mageia.org/fr/downloads/get/?q=Mageia-3-LiveDVD-KDE4-i586-DVD.iso</url>
+<!--
+      <url>http://www.mageia.org/fr/downloads/get/?q=Mageia-3-LiveDVD-GNOME-i586-DVD.iso</url>
+      <url>http://www.mageia.org/fr/downloads/get/?q=Mageia-3-LiveCD-KDE4-en-i586-CD.iso</url>
+      <url>http://www.mageia.org/fr/downloads/get/?q=Mageia-3-LiveCD-GNOME-en-i586-CD.iso</url>
+-->
+      <iso>
+        <volume-id>Mageia-3-(GNOME|KDE4)-Live(CD|DVD)</volume-id>
+      </iso>
+    </media>
+  </os>
+
+</libosinfo>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 0631606..8cbabed 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -1,6 +1,7 @@
 data/oses/netware.xml.in
 data/oses/solaris.xml.in
 data/oses/dos.xml.in
+data/oses/mageia.xml.in
 data/oses/mandrake.xml.in
 data/oses/mandriva.xml.in
 data/oses/suse.xml.in
diff --git a/test/isodata/mageia/mageia1/mageia-dual-1.iso.txt b/test/isodata/mageia/mageia1/mageia-dual-1.iso.txt
new file mode 100644
index 0000000..a1c4326
--- /dev/null
+++ b/test/isodata/mageia/mageia1/mageia-dual-1.iso.txt
@@ -0,0 +1,29 @@
+CD-ROM is in ISO 9660 format
+System id: Mageia.Org
+Volume id: mageia-dual-1
+Volume set id: Mageia.Org mageia-dual - 1
+Publisher id: Mageia.Org
+Data preparer id: Mageia.Org BCD
+Application id: mageia-dual - 1
+Copyright File id: 
+Abstract File id: 
+Bibliographic File id: 
+Volume set size is: 1
+Volume set sequence number is: 1
+Logical block size is: 2048
+Volume size is: 351409
+El Torito VD version 1 found, boot catalog is in sector 305
+Joliet with UCS level 3 found
+Rock Ridge signatures version 1 found
+Eltorito validation header:
+    Hid 1
+    Arch 0 (x86)
+    ID 'Mageia.Org'
+    Key 55 AA
+    Eltorito defaultboot header:
+        Bootid 88 (bootable)
+        Boot media 0 (No Emulation Boot)
+        Load segment 0
+        Sys type 0
+        Nsect 4
+        Bootoff 132 306
diff --git a/test/isodata/mageia/mageia1/mageia-dvd-1-i586.iso.txt b/test/isodata/mageia/mageia1/mageia-dvd-1-i586.iso.txt
new file mode 100644
index 0000000..f51393f
--- /dev/null
+++ b/test/isodata/mageia/mageia1/mageia-dvd-1-i586.iso.txt
@@ -0,0 +1,29 @@
+CD-ROM is in ISO 9660 format
+System id: Mageia
+Volume id: 1-i586
+Volume set id: Mageia - 1 - i586 DVD
+Publisher id: Mageia.Org
+Data preparer id: Mageia BCD
+Application id: Mageia - 1
+Copyright File id: 
+Abstract File id: 
+Bibliographic File id: 
+Volume set size is: 1
+Volume set sequence number is: 1
+Logical block size is: 2048
+Volume size is: 1923289
+El Torito VD version 1 found, boot catalog is in sector 711
+Joliet with UCS level 3 found
+Rock Ridge signatures version 1 found
+Eltorito validation header:
+    Hid 1
+    Arch 0 (x86)
+    ID 'Mageia.Org'
+    Key 55 AA
+    Eltorito defaultboot header:
+        Bootid 88 (bootable)
+        Boot media 0 (No Emulation Boot)
+        Load segment 0
+        Sys type 0
+        Nsect 4
+        Bootoff 2C8 712
diff --git a/test/isodata/mageia/mageia1/mageia-livecd-1-GNOME-europe1-americas-cdrom-i586.iso.txt b/test/isodata/mageia/mageia1/mageia-livecd-1-GNOME-europe1-americas-cdrom-i586.iso.txt
new file mode 100644
index 0000000..65e1f03
--- /dev/null
+++ b/test/isodata/mageia/mageia1/mageia-livecd-1-GNOME-europe1-americas-cdrom-i586.iso.txt
@@ -0,0 +1,29 @@
+CD-ROM is in ISO 9660 format
+System id: LINUX
+Volume id: Livecd-1-GNOME
+Volume set id: 
+Publisher id: 
+Data preparer id: 
+Application id: GENISOIMAGE ISO 9660/HFS FILESYSTEM CREATOR (C) 1993 E.YOUNGDALE (C) 1997-2006 J.PEARSON/J.SCHILLING (C) 2006-2007 CDRKIT TEAM
+Copyright File id: 
+Abstract File id: 
+Bibliographic File id: 
+Volume set size is: 1
+Volume set sequence number is: 1
+Logical block size is: 2048
+Volume size is: 317417
+El Torito VD version 1 found, boot catalog is in sector 48
+Joliet with UCS level 3 found
+Rock Ridge signatures version 1 found
+Eltorito validation header:
+    Hid 1
+    Arch 0 (x86)
+    ID ''
+    Key 55 AA
+    Eltorito defaultboot header:
+        Bootid 88 (bootable)
+        Boot media 0 (No Emulation Boot)
+        Load segment 0
+        Sys type 0
+        Nsect 4
+        Bootoff 113 275
diff --git a/test/isodata/mageia/mageia1/mageia-livecd-1-KDE4-europe1-americas-cdrom-i586.iso.txt b/test/isodata/mageia/mageia1/mageia-livecd-1-KDE4-europe1-americas-cdrom-i586.iso.txt
new file mode 100644
index 0000000..bc3fb41
--- /dev/null
+++ b/test/isodata/mageia/mageia1/mageia-livecd-1-KDE4-europe1-americas-cdrom-i586.iso.txt
@@ -0,0 +1,29 @@
+CD-ROM is in ISO 9660 format
+System id: LINUX
+Volume id: Livecd-1-KDE4
+Volume set id: 
+Publisher id: 
+Data preparer id: 
+Application id: GENISOIMAGE ISO 9660/HFS FILESYSTEM CREATOR (C) 1993 E.YOUNGDALE (C) 1997-2006 J.PEARSON/J.SCHILLING (C) 2006-2007 CDRKIT TEAM
+Copyright File id: 
+Abstract File id: 
+Bibliographic File id: 
+Volume set size is: 1
+Volume set sequence number is: 1
+Logical block size is: 2048
+Volume size is: 354084
+El Torito VD version 1 found, boot catalog is in sector 48
+Joliet with UCS level 3 found
+Rock Ridge signatures version 1 found
+Eltorito validation header:
+    Hid 1
+    Arch 0 (x86)
+    ID ''
+    Key 55 AA
+    Eltorito defaultboot header:
+        Bootid 88 (bootable)
+        Boot media 0 (No Emulation Boot)
+        Load segment 0
+        Sys type 0
+        Nsect 4
+        Bootoff 113 275
diff --git a/test/isodata/mageia/mageia2/Mageia-2-dual-CD.iso.txt b/test/isodata/mageia/mageia2/Mageia-2-dual-CD.iso.txt
new file mode 100644
index 0000000..fba04ec
--- /dev/null
+++ b/test/isodata/mageia/mageia2/Mageia-2-dual-CD.iso.txt
@@ -0,0 +1,29 @@
+CD-ROM is in ISO 9660 format
+System id: Mageia.Org
+Volume id: Mageia-2
+Volume set id: Mageia.Org Mageia - 2
+Publisher id: Mageia.Org
+Data preparer id: Mageia.Org BCD
+Application id: Mageia - 2 rc
+Copyright File id: 
+Abstract File id: 
+Bibliographic File id: 
+Volume set size is: 1
+Volume set sequence number is: 1
+Logical block size is: 2048
+Volume size is: 350041
+El Torito VD version 1 found, boot catalog is in sector 312
+Joliet with UCS level 3 found
+Rock Ridge signatures version 1 found
+Eltorito validation header:
+    Hid 1
+    Arch 0 (x86)
+    ID 'Mageia.Org'
+    Key 55 AA
+    Eltorito defaultboot header:
+        Bootid 88 (bootable)
+        Boot media 0 (No Emulation Boot)
+        Load segment 0
+        Sys type 0
+        Nsect 4
+        Bootoff 139 313
diff --git a/test/isodata/mageia/mageia2/Mageia-2-i586-DVD.iso.txt b/test/isodata/mageia/mageia2/Mageia-2-i586-DVD.iso.txt
new file mode 100644
index 0000000..9b621ac
--- /dev/null
+++ b/test/isodata/mageia/mageia2/Mageia-2-i586-DVD.iso.txt
@@ -0,0 +1,29 @@
+CD-ROM is in ISO 9660 format
+System id: Mageia
+Volume id: Mageia-2-i586
+Volume set id: Mageia 2 - i586 DVD
+Publisher id: Mageia
+Data preparer id: Mageia BCD
+Application id: Mageia 2
+Copyright File id: 
+Abstract File id: 
+Bibliographic File id: 
+Volume set size is: 1
+Volume set sequence number is: 1
+Logical block size is: 2048
+Volume size is: 1782360
+El Torito VD version 1 found, boot catalog is in sector 680
+Joliet with UCS level 3 found
+Rock Ridge signatures version 1 found
+Eltorito validation header:
+    Hid 1
+    Arch 0 (x86)
+    ID 'Mageia'
+    Key 55 AA
+    Eltorito defaultboot header:
+        Bootid 88 (bootable)
+        Boot media 0 (No Emulation Boot)
+        Load segment 0
+        Sys type 0
+        Nsect 4
+        Bootoff 2A9 681
diff --git a/test/isodata/mageia/mageia3/Mageia-3-LiveCD-GNOME-en-i586-CD.iso.txt b/test/isodata/mageia/mageia3/Mageia-3-LiveCD-GNOME-en-i586-CD.iso.txt
new file mode 100644
index 0000000..e15719e
--- /dev/null
+++ b/test/isodata/mageia/mageia3/Mageia-3-LiveCD-GNOME-en-i586-CD.iso.txt
@@ -0,0 +1,29 @@
+CD-ROM is in ISO 9660 format
+System id: LINUX
+Volume id: Mageia-3-GNOME-LiveCD
+Volume set id: 
+Publisher id: 
+Data preparer id: 
+Application id: GENISOIMAGE ISO 9660/HFS FILESYSTEM CREATOR (C) 1993 E.YOUNGDALE (C) 1997-2006 J.PEARSON/J.SCHILLING (C) 2006-2007 CDRKIT TEAM
+Copyright File id: 
+Abstract File id: 
+Bibliographic File id: 
+Volume set size is: 1
+Volume set sequence number is: 1
+Logical block size is: 2048
+Volume size is: 356761
+El Torito VD version 1 found, boot catalog is in sector 49
+Joliet with UCS level 3 found
+Rock Ridge signatures version 1 found
+Eltorito validation header:
+    Hid 1
+    Arch 0 (x86)
+    ID ''
+    Key 55 AA
+    Eltorito defaultboot header:
+        Bootid 88 (bootable)
+        Boot media 0 (No Emulation Boot)
+        Load segment 0
+        Sys type 0
+        Nsect 4
+        Bootoff 1D5 469
diff --git a/test/isodata/mageia/mageia3/Mageia-3-LiveCD-KDE4-en-i586-CD.iso.txt b/test/isodata/mageia/mageia3/Mageia-3-LiveCD-KDE4-en-i586-CD.iso.txt
new file mode 100644
index 0000000..e165277
--- /dev/null
+++ b/test/isodata/mageia/mageia3/Mageia-3-LiveCD-KDE4-en-i586-CD.iso.txt
@@ -0,0 +1,29 @@
+CD-ROM is in ISO 9660 format
+System id: LINUX
+Volume id: Mageia-3-KDE4-LiveCD
+Volume set id: 
+Publisher id: 
+Data preparer id: 
+Application id: GENISOIMAGE ISO 9660/HFS FILESYSTEM CREATOR (C) 1993 E.YOUNGDALE (C) 1997-2006 J.PEARSON/J.SCHILLING (C) 2006-2007 CDRKIT TEAM
+Copyright File id: 
+Abstract File id: 
+Bibliographic File id: 
+Volume set size is: 1
+Volume set sequence number is: 1
+Logical block size is: 2048
+Volume size is: 355127
+El Torito VD version 1 found, boot catalog is in sector 49
+Joliet with UCS level 3 found
+Rock Ridge signatures version 1 found
+Eltorito validation header:
+    Hid 1
+    Arch 0 (x86)
+    ID ''
+    Key 55 AA
+    Eltorito defaultboot header:
+        Bootid 88 (bootable)
+        Boot media 0 (No Emulation Boot)
+        Load segment 0
+        Sys type 0
+        Nsect 4
+        Bootoff 1D5 469
diff --git a/test/isodata/mageia/mageia3/Mageia-3-LiveDVD-GNOME-i586-DVD.iso.txt b/test/isodata/mageia/mageia3/Mageia-3-LiveDVD-GNOME-i586-DVD.iso.txt
new file mode 100644
index 0000000..629a456
--- /dev/null
+++ b/test/isodata/mageia/mageia3/Mageia-3-LiveDVD-GNOME-i586-DVD.iso.txt
@@ -0,0 +1,29 @@
+CD-ROM is in ISO 9660 format
+System id: LINUX
+Volume id: Mageia-3-GNOME-LiveDVD
+Volume set id: 
+Publisher id: 
+Data preparer id: 
+Application id: GENISOIMAGE ISO 9660/HFS FILESYSTEM CREATOR (C) 1993 E.YOUNGDALE (C) 1997-2006 J.PEARSON/J.SCHILLING (C) 2006-2007 CDRKIT TEAM
+Copyright File id: 
+Abstract File id: 
+Bibliographic File id: 
+Volume set size is: 1
+Volume set sequence number is: 1
+Logical block size is: 2048
+Volume size is: 724899
+El Torito VD version 1 found, boot catalog is in sector 49
+Joliet with UCS level 3 found
+Rock Ridge signatures version 1 found
+Eltorito validation header:
+    Hid 1
+    Arch 0 (x86)
+    ID ''
+    Key 55 AA
+    Eltorito defaultboot header:
+        Bootid 88 (bootable)
+        Boot media 0 (No Emulation Boot)
+        Load segment 0
+        Sys type 0
+        Nsect 4
+        Bootoff 1D5 469
diff --git a/test/isodata/mageia/mageia3/Mageia-3-LiveDVD-GNOME-x86_64-DVD.iso.txt b/test/isodata/mageia/mageia3/Mageia-3-LiveDVD-GNOME-x86_64-DVD.iso.txt
new file mode 100644
index 0000000..4cec0ec
--- /dev/null
+++ b/test/isodata/mageia/mageia3/Mageia-3-LiveDVD-GNOME-x86_64-DVD.iso.txt
@@ -0,0 +1,29 @@
+CD-ROM is in ISO 9660 format
+System id: LINUX
+Volume id: Mageia-3-GNOME-LiveDVD
+Volume set id: 
+Publisher id: 
+Data preparer id: 
+Application id: GENISOIMAGE ISO 9660/HFS FILESYSTEM CREATOR (C) 1993 E.YOUNGDALE (C) 1997-2006 J.PEARSON/J.SCHILLING (C) 2006-2007 CDRKIT TEAM
+Copyright File id: 
+Abstract File id: 
+Bibliographic File id: 
+Volume set size is: 1
+Volume set sequence number is: 1
+Logical block size is: 2048
+Volume size is: 742056
+El Torito VD version 1 found, boot catalog is in sector 57
+Joliet with UCS level 3 found
+Rock Ridge signatures version 1 found
+Eltorito validation header:
+    Hid 1
+    Arch 0 (x86)
+    ID ''
+    Key 55 AA
+    Eltorito defaultboot header:
+        Bootid 88 (bootable)
+        Boot media 0 (No Emulation Boot)
+        Load segment 0
+        Sys type 0
+        Nsect 4
+        Bootoff 1DD 477
diff --git a/test/isodata/mageia/mageia3/Mageia-3-LiveDVD-KDE4-i586-DVD.iso.txt b/test/isodata/mageia/mageia3/Mageia-3-LiveDVD-KDE4-i586-DVD.iso.txt
new file mode 100644
index 0000000..f671289
--- /dev/null
+++ b/test/isodata/mageia/mageia3/Mageia-3-LiveDVD-KDE4-i586-DVD.iso.txt
@@ -0,0 +1,29 @@
+CD-ROM is in ISO 9660 format
+System id: LINUX
+Volume id: Mageia-3-KDE4-LiveDVD
+Volume set id: 
+Publisher id: 
+Data preparer id: 
+Application id: GENISOIMAGE ISO 9660/HFS FILESYSTEM CREATOR (C) 1993 E.YOUNGDALE (C) 1997-2006 J.PEARSON/J.SCHILLING (C) 2006-2007 CDRKIT TEAM
+Copyright File id: 
+Abstract File id: 
+Bibliographic File id: 
+Volume set size is: 1
+Volume set sequence number is: 1
+Logical block size is: 2048
+Volume size is: 747086
+El Torito VD version 1 found, boot catalog is in sector 49
+Joliet with UCS level 3 found
+Rock Ridge signatures version 1 found
+Eltorito validation header:
+    Hid 1
+    Arch 0 (x86)
+    ID ''
+    Key 55 AA
+    Eltorito defaultboot header:
+        Bootid 88 (bootable)
+        Boot media 0 (No Emulation Boot)
+        Load segment 0
+        Sys type 0
+        Nsect 4
+        Bootoff 1D5 469
diff --git a/test/isodata/mageia/mageia3/Mageia-3-LiveDVD-KDE4-x86_64-DVD.iso.txt b/test/isodata/mageia/mageia3/Mageia-3-LiveDVD-KDE4-x86_64-DVD.iso.txt
new file mode 100644
index 0000000..7efc7fa
--- /dev/null
+++ b/test/isodata/mageia/mageia3/Mageia-3-LiveDVD-KDE4-x86_64-DVD.iso.txt
@@ -0,0 +1,29 @@
+CD-ROM is in ISO 9660 format
+System id: LINUX
+Volume id: Mageia-3-KDE4-LiveDVD
+Volume set id: 
+Publisher id: 
+Data preparer id: 
+Application id: GENISOIMAGE ISO 9660/HFS FILESYSTEM CREATOR (C) 1993 E.YOUNGDALE (C) 1997-2006 J.PEARSON/J.SCHILLING (C) 2006-2007 CDRKIT TEAM
+Copyright File id: 
+Abstract File id: 
+Bibliographic File id: 
+Volume set size is: 1
+Volume set sequence number is: 1
+Logical block size is: 2048
+Volume size is: 763166
+El Torito VD version 1 found, boot catalog is in sector 57
+Joliet with UCS level 3 found
+Rock Ridge signatures version 1 found
+Eltorito validation header:
+    Hid 1
+    Arch 0 (x86)
+    ID ''
+    Key 55 AA
+    Eltorito defaultboot header:
+        Bootid 88 (bootable)
+        Boot media 0 (No Emulation Boot)
+        Load segment 0
+        Sys type 0
+        Nsect 4
+        Bootoff 1DD 477
diff --git a/test/isodata/mageia/mageia3/Mageia-3-dual-CD.iso.txt b/test/isodata/mageia/mageia3/Mageia-3-dual-CD.iso.txt
new file mode 100644
index 0000000..d75cacc
--- /dev/null
+++ b/test/isodata/mageia/mageia3/Mageia-3-dual-CD.iso.txt
@@ -0,0 +1,29 @@
+CD-ROM is in ISO 9660 format
+System id: Mageia.Org
+Volume id: Mageia-3
+Volume set id: Mageia.Org Mageia - 3
+Publisher id: Mageia.Org
+Data preparer id: Mageia.Org BCD
+Application id: Mageia - 3 RC
+Copyright File id: 
+Abstract File id: 
+Bibliographic File id: 
+Volume set size is: 1
+Volume set sequence number is: 1
+Logical block size is: 2048
+Volume size is: 357631
+El Torito VD version 1 found, boot catalog is in sector 322
+Joliet with UCS level 3 found
+Rock Ridge signatures version 1 found
+Eltorito validation header:
+    Hid 1
+    Arch 0 (x86)
+    ID 'Mageia.Org'
+    Key 55 AA
+    Eltorito defaultboot header:
+        Bootid 88 (bootable)
+        Boot media 0 (No Emulation Boot)
+        Load segment 0
+        Sys type 0
+        Nsect 4
+        Bootoff 143 323
diff --git a/test/isodata/mageia/mageia3/Mageia-3-i586-DVD.iso.txt b/test/isodata/mageia/mageia3/Mageia-3-i586-DVD.iso.txt
new file mode 100644
index 0000000..7e4e270
--- /dev/null
+++ b/test/isodata/mageia/mageia3/Mageia-3-i586-DVD.iso.txt
@@ -0,0 +1,29 @@
+CD-ROM is in ISO 9660 format
+System id: Mageia
+Volume id: Mageia-3-i586
+Volume set id: Mageia 3 - i586 DVD
+Publisher id: Mageia
+Data preparer id: Mageia BCD
+Application id: Mageia 3
+Copyright File id: 
+Abstract File id: 
+Bibliographic File id: 
+Volume set size is: 1
+Volume set sequence number is: 1
+Logical block size is: 2048
+Volume size is: 1945830
+El Torito VD version 1 found, boot catalog is in sector 673
+Joliet with UCS level 3 found
+Rock Ridge signatures version 1 found
+Eltorito validation header:
+    Hid 1
+    Arch 0 (x86)
+    ID 'Mageia'
+    Key 55 AA
+    Eltorito defaultboot header:
+        Bootid 88 (bootable)
+        Boot media 0 (No Emulation Boot)
+        Load segment 0
+        Sys type 0
+        Nsect 4
+        Bootoff 2A2 674
diff --git a/test/isodata/mageia/mageia3/Mageia-3-x86_64-DVD.iso.txt b/test/isodata/mageia/mageia3/Mageia-3-x86_64-DVD.iso.txt
new file mode 100644
index 0000000..8ea4538
--- /dev/null
+++ b/test/isodata/mageia/mageia3/Mageia-3-x86_64-DVD.iso.txt
@@ -0,0 +1,29 @@
+CD-ROM is in ISO 9660 format
+System id: Mageia
+Volume id: Mageia-3-x86_64
+Volume set id: Mageia 3 - x86_64 DVD
+Publisher id: Mageia
+Data preparer id: Mageia BCD
+Application id: Mageia 3
+Copyright File id: 
+Abstract File id: 
+Bibliographic File id: 
+Volume set size is: 1
+Volume set sequence number is: 1
+Logical block size is: 2048
+Volume size is: 1922645
+El Torito VD version 1 found, boot catalog is in sector 673
+Joliet with UCS level 3 found
+Rock Ridge signatures version 1 found
+Eltorito validation header:
+    Hid 1
+    Arch 0 (x86)
+    ID 'Mageia'
+    Key 55 AA
+    Eltorito defaultboot header:
+        Bootid 88 (bootable)
+        Boot media 0 (No Emulation Boot)
+        Load segment 0
+        Sys type 0
+        Nsect 4
+        Bootoff 2A2 674
diff --git a/test/test-isodetect.c b/test/test-isodetect.c
index 8fba110..1b6450e 100644
--- a/test/test-isodetect.c
+++ b/test/test-isodetect.c
@@ -402,6 +402,12 @@ START_TEST(test_altlinux)
 }
 END_TEST
 
+START_TEST(test_mageia)
+{
+    test_one("mageia");
+}
+END_TEST
+
 static Suite *
 list_suite(void)
 {
@@ -419,6 +425,7 @@ list_suite(void)
     tcase_add_test(tc, test_centos);
     tcase_add_test(tc, test_gnome);
     tcase_add_test(tc, test_altlinux);
+    tcase_add_test(tc, test_mageia);
     suite_add_tcase(s, tc);
     return s;
 }
-- 
1.8.3.1




More information about the Libosinfo mailing list