[Libosinfo] [PATCHv4] gnome: Add data for GNOME 3.8

Zeeshan Ali (Khattak) zeeshanak at gnome.org
Fri Apr 19 15:06:13 UTC 2013


From: "Zeeshan Ali (Khattak)" <zeeshanak at gnome.org>

Its mostly just adjusted copy&paste of 3.6 data. The actual live media
is not yet available for 3.8 itself but for 3.7.91/2 they are available
and people have been using them already so better add some info already
so those ISOs are recognized at least.

Before anyone asks, the 3.7.91/2 ISOs use the same volume ID as it will
be on 3.8 ISO.
---

v4: Also update test-isodetect to use the new gnome directory.

 data/oses/gnome.xml.in                           | 30 ++++++++++++++++++++++++
 test/isodata/gnome/gnome3.8/GNOME-3.7.92.iso.txt | 29 +++++++++++++++++++++++
 test/test-isodetect.c                            |  7 ++++++
 3 files changed, 66 insertions(+)
 create mode 100644 test/isodata/gnome/gnome3.8/GNOME-3.7.92.iso.txt

diff --git a/data/oses/gnome.xml.in b/data/oses/gnome.xml.in
index 98149a8..414c38d 100644
--- a/data/oses/gnome.xml.in
+++ b/data/oses/gnome.xml.in
@@ -31,4 +31,34 @@
     </resources>
   </os>
 
+  <os id="http://gnome.org/3.8">
+    <short-id>gnome3.8</short-id>
+    <_name>GNOME 3.8</_name>
+    <version>3.8</version>
+    <_vendor>GNOME Project</_vendor>
+    <family>linux</family>
+    <distro>gnome</distro>
+    <derives-from id="http://gnome.org/3.6"/>
+
+    <release-date>2013-03-27</release-date>
+
+    <media arch="i686" live="true">
+      <iso>
+        <volume-id>GNOME38-LiveCD</volume-id>
+        <system-id>LINUX</system-id>
+      </iso>
+      <kernel>isolinux/vmlinuz0</kernel>
+      <initrd>isolinux/initrd0.img</initrd>
+    </media>
+
+    <resources arch="all">
+      <!-- These values are copied from that of Fedora 17/18 as AFAIK currently
+           GNOME is just Fedora with a few differences, mainly the name. -->
+      <minimum>
+        <n-cpus>1</n-cpus>
+        <ram>805306368</ram>
+      </minimum>
+    </resources>
+  </os>
+
 </libosinfo>
diff --git a/test/isodata/gnome/gnome3.8/GNOME-3.7.92.iso.txt b/test/isodata/gnome/gnome3.8/GNOME-3.7.92.iso.txt
new file mode 100644
index 0000000..a44a6f1
--- /dev/null
+++ b/test/isodata/gnome/gnome3.8/GNOME-3.7.92.iso.txt
@@ -0,0 +1,29 @@
+CD-ROM is in ISO 9660 format
+System id: LINUX
+Volume id: GNOME38-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: 414527
+El Torito VD version 1 found, boot catalog is in sector 36
+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 25 37
diff --git a/test/test-isodetect.c b/test/test-isodetect.c
index 8a982d4..7642612 100644
--- a/test/test-isodetect.c
+++ b/test/test-isodetect.c
@@ -390,6 +390,12 @@ START_TEST(test_centos)
 }
 END_TEST
 
+START_TEST(test_gnome)
+{
+    test_one("gnome");
+}
+END_TEST
+
 static Suite *
 list_suite(void)
 {
@@ -405,6 +411,7 @@ list_suite(void)
     tcase_add_test(tc, test_openbsd);
     tcase_add_test(tc, test_opensuse);
     tcase_add_test(tc, test_centos);
+    tcase_add_test(tc, test_gnome);
     suite_add_tcase(s, tc);
     return s;
 }
-- 
1.8.1.4




More information about the Libosinfo mailing list