[Libosinfo] [PATCH] Add openSUSE 13.1 Live detection
Christophe Fergeau
cfergeau at redhat.com
Mon Aug 18 15:51:12 UTC 2014
It's relying on the iso application id data to differentiate between 32
and 64 bit versions. However, this means the detection is only partial
as the GNOME and KDE images have different application ids.
---
data/oses/opensuse.xml.in | 23 +++++++++++++++++
.../openSUSE-13.1-GNOME-Live-i686.iso.txt | 29 ++++++++++++++++++++++
.../openSUSE-13.1-GNOME-Live-x86_64.iso.txt | 29 ++++++++++++++++++++++
3 files changed, 81 insertions(+)
create mode 100644 test/isodata/opensuse/opensuse13.1/openSUSE-13.1-GNOME-Live-i686.iso.txt
create mode 100644 test/isodata/opensuse/opensuse13.1/openSUSE-13.1-GNOME-Live-x86_64.iso.txt
diff --git a/data/oses/opensuse.xml.in b/data/oses/opensuse.xml.in
index c368d10..b919623 100644
--- a/data/oses/opensuse.xml.in
+++ b/data/oses/opensuse.xml.in
@@ -402,6 +402,29 @@
<initrd>boot/x86_64/loader/initrd</initrd>
</media>
+ <media arch="i686" live="true">
+ <url>http://download.opensuse.org/distribution/13.1/iso/openSUSE-13.1-GNOME-Live-i686.iso</url>
+ <iso>
+ <volume-id>openSUSE 13.1 .* Live</volume-id>
+ <system-id>LINUX</system-id>
+ <publisher-id>SUSE LINUX GmbH</publisher-id>
+ <application-id>0x3a19c523</application-id>
+ </iso>
+ <kernel>boot/i386/loader/linux</kernel>
+ <initrd>boot/i386/loader/initrd</initrd>
+ </media>
+ <media arch="x86_64" live="true">
+ <url>http://download.opensuse.org/distribution/13.1/iso/openSUSE-13.1-GNOME-Live-x86_64.iso</url>
+ <iso>
+ <volume-id>openSUSE 13.1 .* Live</volume-id>
+ <system-id>LINUX</system-id>
+ <publisher-id>SUSE LINUX GmbH</publisher-id>
+ <application-id>0x601bf7b2</application-id>
+ </iso>
+ <kernel>boot/x86_64/loader/linux</kernel>
+ <initrd>boot/x86_64/loader/initrd</initrd>
+ </media>
+
<resources arch="all">
<!-- http://en.opensuse.org/Hardware_requirements -->
<minimum>
diff --git a/test/isodata/opensuse/opensuse13.1/openSUSE-13.1-GNOME-Live-i686.iso.txt b/test/isodata/opensuse/opensuse13.1/openSUSE-13.1-GNOME-Live-i686.iso.txt
new file mode 100644
index 0000000..ebf05e8
--- /dev/null
+++ b/test/isodata/opensuse/opensuse13.1/openSUSE-13.1-GNOME-Live-i686.iso.txt
@@ -0,0 +1,29 @@
+CD-ROM is in ISO 9660 format
+System id: LINUX
+Volume id: openSUSE 13.1 GNOME Live
+Volume set id:
+Publisher id: SUSE LINUX GmbH
+Data preparer id: KIWI - http://opensuse.github.com/kiwi
+Application id: 0x3a19c523
+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: 466051
+El Torito VD version 1 found, boot catalog is in sector 23
+Joliet with UCS level 3 found
+Rock Ridge signatures version 1 found
+Eltorito validation header:
+ Hid 1
+ Arch 0 (x86)
+ ID 'SUSE LINUX GmbH'
+ Key 55 AA
+ Eltorito defaultboot header:
+ Bootid 88 (bootable)
+ Boot media 0 (No Emulation Boot)
+ Load segment 0
+ Sys type 0
+ Nsect 4
+ Bootoff 336 822
diff --git a/test/isodata/opensuse/opensuse13.1/openSUSE-13.1-GNOME-Live-x86_64.iso.txt b/test/isodata/opensuse/opensuse13.1/openSUSE-13.1-GNOME-Live-x86_64.iso.txt
new file mode 100644
index 0000000..882605a
--- /dev/null
+++ b/test/isodata/opensuse/opensuse13.1/openSUSE-13.1-GNOME-Live-x86_64.iso.txt
@@ -0,0 +1,29 @@
+CD-ROM is in ISO 9660 format
+System id: LINUX
+Volume id: openSUSE 13.1 GNOME Live
+Volume set id:
+Publisher id: SUSE LINUX GmbH
+Data preparer id: KIWI - http://opensuse.github.com/kiwi
+Application id: 0x601bf7b2
+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: 484413
+El Torito VD version 1 found, boot catalog is in sector 23
+Joliet with UCS level 3 found
+Rock Ridge signatures version 1 found
+Eltorito validation header:
+ Hid 1
+ Arch 0 (x86)
+ ID 'SUSE LINUX GmbH'
+ Key 55 AA
+ Eltorito defaultboot header:
+ Bootid 88 (bootable)
+ Boot media 0 (No Emulation Boot)
+ Load segment 0
+ Sys type 0
+ Nsect 4
+ Bootoff 17FC 6140
--
1.9.3
More information about the Libosinfo
mailing list