[Libosinfo] [PATCH 1/3] Add Debian 8.0 detection

Christophe Fergeau cfergeau at redhat.com
Thu Apr 30 11:59:22 UTC 2015


---
 data/oses/debian.xml.in                            | 54 ++++++++++++++++++++++
 .../debian/debian8/debian-8.0.0-amd64-CD-1.iso.txt | 29 ++++++++++++
 2 files changed, 83 insertions(+)
 create mode 100644 test/isodata/debian/debian8/debian-8.0.0-amd64-CD-1.iso.txt

diff --git a/data/oses/debian.xml.in b/data/oses/debian.xml.in
index 61d4d52..7d61416 100644
--- a/data/oses/debian.xml.in
+++ b/data/oses/debian.xml.in
@@ -260,4 +260,58 @@
     </installer>
   </os>
 
+  <os id="http://debian.org/debian/8">
+    <short-id>debian8</short-id>
+    <short-id>debianjessie</short-id>
+    <_name>Debian Jessie</_name>
+    <version>8</version>
+    <_vendor>Debian Project</_vendor>
+    <family>linux</family>
+    <distro>debian</distro>
+    <upgrades id="http://debian.org/debian/7"/>
+    <derives-from id="http://debian.org/debian/7"/>
+
+    <devices>
+      <device id="http://www.linux-usb.org/usb.ids/80ee/0021"/> <!-- USB Tablet -->
+    </devices>
+
+    <resources arch="all">
+      <minimum>
+        <cpu>1000000000</cpu>
+        <n-cpus>1</n-cpus>
+        <ram>1073741824</ram>
+        <storage>10737418240</storage>
+      </minimum>
+      <recommended>
+        <cpu>1000000000</cpu>
+        <ram>1073741824</ram>
+        <storage>21474836480</storage>
+      </recommended>
+    </resources>
+
+    <media arch="i686">
+      <url>http://cdimage.debian.org/debian-cd/8.0.0/i386/iso-dvd/debian-8.0.0-i386-DVD-1.iso</url>
+      <iso>
+        <volume-id>Debian 8.\d.\d i386 1</volume-id>
+      </iso>
+      <kernel>install.386/vmlinuz</kernel>
+      <initrd>install.386/initrd.gz</initrd>
+    </media>
+    <media arch="x86_64">
+      <url>http://cdimage.debian.org/debian-cd/8.0.0/amd64/iso-dvd/debian-8.0.0-amd64-DVD-1.iso</url>
+      <iso>
+        <volume-id>Debian 8.\d.\d amd64 1</volume-id>
+      </iso>
+      <kernel>install.amd/vmlinuz</kernel>
+      <initrd>install.amd/initrd.gz</initrd>
+    </media>
+
+<!--
+    <installer>
+      <script id='http://debian.org/scripts/debian/jeos'/>
+      <script id='http://debian.org/scripts/debian/desktop'/>
+    </installer>
+-->
+  </os>
+
 </libosinfo>
diff --git a/test/isodata/debian/debian8/debian-8.0.0-amd64-CD-1.iso.txt b/test/isodata/debian/debian8/debian-8.0.0-amd64-CD-1.iso.txt
new file mode 100644
index 0000000..4b2a03f
--- /dev/null
+++ b/test/isodata/debian/debian8/debian-8.0.0-amd64-CD-1.iso.txt
@@ -0,0 +1,29 @@
+CD-ROM is in ISO 9660 format
+System id: 
+Volume id: Debian 8.0.0 amd64 1
+Volume set id: 
+Publisher id: 
+Data preparer id: XORRISO-1.3.6 2014.04.08.180000, LIBISOBURN-1.3.6, LIBISOFS-1.3.6, LIBBURN-1.3.6
+Application id: 
+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: 321024
+El Torito VD version 1 found, boot catalog is in sector 2138
+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 92B 2347
-- 
2.3.6




More information about the Libosinfo mailing list