[Libosinfo] [PATCH 04/11] centos, test: Add OS info/testcase for CentOS 6.1

Christophe Fergeau cfergeau at redhat.com
Mon Mar 25 08:52:19 UTC 2013


ACK, though see my question from patch 02/11
On Sat, Mar 23, 2013 at 03:09:27PM +0100, Fabiano Fidêncio wrote:
> ---
>  data/oses/centos.xml.in                            | 35 ++++++++++++++++++++++
>  .../centos6.1/CentOS-6.1-i386-bin-DVD1.iso.txt     | 29 ++++++++++++++++++
>  .../centos6.1/CentOS-6.1-x86_64-bin-DVD1.iso.txt   | 29 ++++++++++++++++++
>  3 files changed, 93 insertions(+)
>  create mode 100644 test/isodata/centos/centos6.1/CentOS-6.1-i386-bin-DVD1.iso.txt
>  create mode 100644 test/isodata/centos/centos6.1/CentOS-6.1-x86_64-bin-DVD1.iso.txt
> 
> diff --git a/data/oses/centos.xml.in b/data/oses/centos.xml.in
> index bb8e570..333e77f 100644
> --- a/data/oses/centos.xml.in
> +++ b/data/oses/centos.xml.in
> @@ -56,6 +56,41 @@
>      <distro>centos</distro>
>      <upgrades id="http://centos.org/centos/6.0"/>
>      <clones id="http://redhat.com/rhel/6.1"/>
> +
> +    <media arch="i686">
> +      <iso>
> +        <system-id>LINUX</system-id>
> +        <volume-id>CentOS_6.1_Final</volume-id>
> +      </iso>
> +      <kernel>isolinux/vmlinuz</kernel>
> +      <initrd>isolinux/initrd.img</initrd>
> +    </media>
> +    <media arch="x86_64">
> +      <iso>
> +        <system-id>LINUX</system-id>
> +        <volume-id>CentOS_6.1_Final</volume-id>
> +      </iso>
> +      <kernel>isolinux/vmlinuz</kernel>
> +      <initrd>isolinux/initrd.img</initrd>
> +    </media>
> +
> +    <resources arch="all">
> +      <minimum>
> +        <n-cpus>1</n-cpus>
> +        <ram>536870912</ram>
> +      </minimum>
> +
> +      <recommended>
> +        <cpu>400000000</cpu>
> +        <ram>1073741824</ram>
> +        <storage>9663676416</storage>
> +      </recommended>
> +    </resources>
> +
> +    <installer>
> +      <script id='http://redhat.com/scripts/rhel/jeos'/>
> +      <script id='http://redhat.com/scripts/rhel/desktop'/>
> +    </installer>
>    </os>
>  
>  </libosinfo>
> diff --git a/test/isodata/centos/centos6.1/CentOS-6.1-i386-bin-DVD1.iso.txt b/test/isodata/centos/centos6.1/CentOS-6.1-i386-bin-DVD1.iso.txt
> new file mode 100644
> index 0000000..e82512d
> --- /dev/null
> +++ b/test/isodata/centos/centos6.1/CentOS-6.1-i386-bin-DVD1.iso.txt
> @@ -0,0 +1,29 @@
> +CD-ROM is in ISO 9660 format
> +System id: LINUX
> +Volume id: CentOS_6.1_Final
> +Volume set id: 
> +Publisher id: CentOS Project
> +Data preparer id: CentOS
> +Application id: CentOS_6.1_Final
> +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: 1866306
> +El Torito VD version 1 found, boot catalog is in sector 445
> +Joliet with UCS level 3 found
> +Rock Ridge signatures version 1 found
> +Eltorito validation header:
> +    Hid 1
> +    Arch 0 (x86)
> +    ID 'CentOS Project'
> +    Key 55 AA
> +    Eltorito defaultboot header:
> +        Bootid 88 (bootable)
> +        Boot media 0 (No Emulation Boot)
> +        Load segment 0
> +        Sys type 0
> +        Nsect 4
> +        Bootoff 1BE 446
> diff --git a/test/isodata/centos/centos6.1/CentOS-6.1-x86_64-bin-DVD1.iso.txt b/test/isodata/centos/centos6.1/CentOS-6.1-x86_64-bin-DVD1.iso.txt
> new file mode 100644
> index 0000000..27b41f1
> --- /dev/null
> +++ b/test/isodata/centos/centos6.1/CentOS-6.1-x86_64-bin-DVD1.iso.txt
> @@ -0,0 +1,29 @@
> +CD-ROM is in ISO 9660 format
> +System id: LINUX
> +Volume id: CentOS_6.1_Final
> +Volume set id: 
> +Publisher id: CentOS Project
> +Data preparer id: CentOS
> +Application id: CentOS_6.1_Final
> +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: 2145392
> +El Torito VD version 1 found, boot catalog is in sector 557
> +Joliet with UCS level 3 found
> +Rock Ridge signatures version 1 found
> +Eltorito validation header:
> +    Hid 1
> +    Arch 0 (x86)
> +    ID 'CentOS Project'
> +    Key 55 AA
> +    Eltorito defaultboot header:
> +        Bootid 88 (bootable)
> +        Boot media 0 (No Emulation Boot)
> +        Load segment 0
> +        Sys type 0
> +        Nsect 4
> +        Bootoff 22E 558
> -- 
> 1.8.1.4
> 
> _______________________________________________
> Libosinfo mailing list
> Libosinfo at redhat.com
> https://www.redhat.com/mailman/listinfo/libosinfo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libosinfo/attachments/20130325/2879676c/attachment.sig>


More information about the Libosinfo mailing list