[Libosinfo] [libosinfo] Add openSUSE data

Fabiano Fidêncio fabiano at fidencio.org
Fri Mar 22 11:33:30 UTC 2013


On Fri, Mar 22, 2013 at 12:04 PM, Christophe Fergeau <cfergeau at redhat.com>wrote:

> ISO information by courtesy of Frédéric Crozat <fcrozat at suse.com>
>

ACK!


> ---
>  data/oses/opensuse.xml.in                          | 47
> ++++++++++++++++++++++
>  .../opensuse12.2/openSUSE-12.2-DVD-i586.iso.txt    | 29 +++++++++++++
>  .../opensuse12.2/openSUSE-12.2-DVD-x86_64.iso.txt  | 29 +++++++++++++
>  .../opensuse12.3/openSUSE-12.3-DVD-i586.iso.txt    | 29 +++++++++++++
>  .../opensuse12.3/openSUSE-12.3-DVD-x86_64.iso.txt  | 29 +++++++++++++
>  test/test-isodetect.c                              |  6 +++
>  6 files changed, 169 insertions(+)
>  create mode 100644
> test/isodata/opensuse/opensuse12.2/openSUSE-12.2-DVD-i586.iso.txt
>  create mode 100644
> test/isodata/opensuse/opensuse12.2/openSUSE-12.2-DVD-x86_64.iso.txt
>  create mode 100644
> test/isodata/opensuse/opensuse12.3/openSUSE-12.3-DVD-i586.iso.txt
>  create mode 100644
> test/isodata/opensuse/opensuse12.3/openSUSE-12.3-DVD-x86_64.iso.txt
>
> diff --git a/data/oses/opensuse.xml.in b/data/oses/opensuse.xml.in
> index 48cc98a..53e7f78 100644
> --- a/data/oses/opensuse.xml.in
> +++ b/data/oses/opensuse.xml.in
> @@ -324,4 +324,51 @@
>      </resources>
>    </os>
>
> +  <os id="http://opensuse.org/opensuse/12.3">
> +    <short-id>opensuse12.3</short-id>
> +    <_name>openSUSE 12.3</_name>
> +    <version>12.3</version>
> +    <_vendor>openSUSE</_vendor>
> +    <family>linux</family>
> +    <distro>opensuse</distro>
> +    <upgrades id="http://opensuse.org/opensuse/12.2" />
> +    <derives-from id="http://opensuse.org/opensuse/12.2" />
> +
> +    <media arch="i686">
> +      <url>
> http://download.opensuse.org/distribution/12.3/iso/openSUSE-12.3-DVD-i586.iso
> </url>
> +      <iso>
> +        <volume-id>openSUSE-12.3-DVD</volume-id>
> +        <system-id>LINUX</system-id>
> +        <publisher-id>SUSE LINUX GmbH</publisher-id>
> +      </iso>
> +      <kernel>boot/i386/loader/linux</kernel>
> +      <initrd>boot/i386/loader/initrd</initrd>
> +    </media>
> +    <media arch="x86_64">
> +      <url>
> http://download.opensuse.org/distribution/12.3/iso/openSUSE-12.3-DVD-x86_64.iso
> </url>
> +      <iso>
> +        <volume-id>openSUSE-12.3-DVD-x86_64</volume-id>
> +        <system-id>LINUX</system-id>
> +        <publisher-id>SUSE LINUX GmbH</publisher-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>
> +        <cpu>500000000</cpu>
> +        <n-cpus>1</n-cpus>
> +        <ram>1073741824</ram>
> +        <storage>3221225472</storage>
> +      </minimum>
> +      <recommended>
> +        <cpu>2400000000</cpu>
> +        <ram>2147483648</ram>
> +        <storage>5368709120</storage>
> +      </recommended>
> +    </resources>
> +  </os>
> +
>  </libosinfo>
> diff --git
> a/test/isodata/opensuse/opensuse12.2/openSUSE-12.2-DVD-i586.iso.txt
> b/test/isodata/opensuse/opensuse12.2/openSUSE-12.2-DVD-i586.iso.txt
> new file mode 100644
> index 0000000..2c20a97
> --- /dev/null
> +++ b/test/isodata/opensuse/opensuse12.2/openSUSE-12.2-DVD-i586.iso.txt
> @@ -0,0 +1,29 @@
> +CD-ROM is in ISO 9660 format
> +System id: LINUX
> +Volume id: openSUSE-DVD-i586-Build0167
> +Volume set id:
> +Publisher id: SUSE LINUX Products GmbH
> +Data preparer id: KIWI - http://kiwi.berlios.de
> +Application id: openSUSE-DVD-i586-Build0167-Media
> +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: 2171870
> +El Torito VD version 1 found, boot catalog is in sector 20
> +Joliet with UCS level 3 found
> +Rock Ridge signatures version 1 found
> +Eltorito validation header:
> +    Hid 1
> +    Arch 0 (x86)
> +    ID 'SUSE LINUX Products Gmb'
> +    Key 55 AA
> +    Eltorito defaultboot header:
> +        Bootid 88 (bootable)
> +        Boot media 0 (No Emulation Boot)
> +        Load segment 0
> +        Sys type 0
> +        Nsect 4
> +        Bootoff 35D 861
> diff --git
> a/test/isodata/opensuse/opensuse12.2/openSUSE-12.2-DVD-x86_64.iso.txt
> b/test/isodata/opensuse/opensuse12.2/openSUSE-12.2-DVD-x86_64.iso.txt
> new file mode 100644
> index 0000000..622afd5
> --- /dev/null
> +++ b/test/isodata/opensuse/opensuse12.2/openSUSE-12.2-DVD-x86_64.iso.txt
> @@ -0,0 +1,29 @@
> +CD-ROM is in ISO 9660 format
> +System id: LINUX
> +Volume id: openSUSE-DVD-x86_640167
> +Volume set id:
> +Publisher id: SUSE LINUX Products GmbH
> +Data preparer id: KIWI - http://kiwi.berlios.de
> +Application id: openSUSE-DVD-x86_64-Build0167-Media
> +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: 2279576
> +El Torito VD version 1 found, boot catalog is in sector 20
> +Joliet with UCS level 3 found
> +Rock Ridge signatures version 1 found
> +Eltorito validation header:
> +    Hid 1
> +    Arch 0 (x86)
> +    ID 'SUSE LINUX Products Gmb'
> +    Key 55 AA
> +    Eltorito defaultboot header:
> +        Bootid 88 (bootable)
> +        Boot media 0 (No Emulation Boot)
> +        Load segment 0
> +        Sys type 0
> +        Nsect 4
> +        Bootoff 39C 924
> diff --git
> a/test/isodata/opensuse/opensuse12.3/openSUSE-12.3-DVD-i586.iso.txt
> b/test/isodata/opensuse/opensuse12.3/openSUSE-12.3-DVD-i586.iso.txt
> new file mode 100644
> index 0000000..952e1e8
> --- /dev/null
> +++ b/test/isodata/opensuse/opensuse12.3/openSUSE-12.3-DVD-i586.iso.txt
> @@ -0,0 +1,29 @@
> +CD-ROM is in ISO 9660 format
> +System id: LINUX
> +Volume id: openSUSE-12.3-DVD-i5860110
> +Volume set id:
> +Publisher id: SUSE LINUX GmbH
> +Data preparer id: KIWI - http://opensuse.github.com/kiwi
> +Application id: openSUSE-12.3-DVD-i586-Build0110-Media
> +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: 2213779
> +El Torito VD version 1 found, boot catalog is in sector 20
> +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 3CE 974
> diff --git
> a/test/isodata/opensuse/opensuse12.3/openSUSE-12.3-DVD-x86_64.iso.txt
> b/test/isodata/opensuse/opensuse12.3/openSUSE-12.3-DVD-x86_64.iso.txt
> new file mode 100644
> index 0000000..b0e0e28
> --- /dev/null
> +++ b/test/isodata/opensuse/opensuse12.3/openSUSE-12.3-DVD-x86_64.iso.txt
> @@ -0,0 +1,29 @@
> +CD-ROM is in ISO 9660 format
> +System id: LINUX
> +Volume id: openSUSE-12.3-DVD-x86_640110
> +Volume set id:
> +Publisher id: SUSE LINUX GmbH
> +Data preparer id: KIWI - http://opensuse.github.com/kiwi
> +Application id: openSUSE-12.3-DVD-x86_64-Build0110-Media
> +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: 2290498
> +El Torito VD version 1 found, boot catalog is in sector 20
> +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 184E 6222
> diff --git a/test/test-isodetect.c b/test/test-isodetect.c
> index efbc56a..7a1fb06 100644
> --- a/test/test-isodetect.c
> +++ b/test/test-isodetect.c
> @@ -378,6 +378,11 @@ START_TEST(test_openbsd)
>  }
>  END_TEST
>
> +START_TEST(test_opensuse)
> +{
> +    test_one("opensuse");
> +}
> +END_TEST
>
>
>  static Suite *
> @@ -393,6 +398,7 @@ list_suite(void)
>      tcase_add_test(tc, test_debian);
>      tcase_add_test(tc, test_windows);
>      tcase_add_test(tc, test_openbsd);
> +    tcase_add_test(tc, test_opensuse);
>      suite_add_tcase(s, tc);
>      return s;
>  }
> --
> 1.8.1.4
>
> _______________________________________________
> Libosinfo mailing list
> Libosinfo at redhat.com
> https://www.redhat.com/mailman/listinfo/libosinfo
>



-- 
Fabiano Fidêncio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libosinfo/attachments/20130322/086a7e0f/attachment.htm>


More information about the Libosinfo mailing list