[PATCH] Add CentOS 7.1 data

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



CentOS is no longer using .minor version numbers, so the long name still
is CentOS 7, it's just the version which is now 1504. The 7.0/7.1
numbering is kept in the shortids though.
The ISO label is not different either between 7.0 and 7.1, so I checked
the ISO size to make the difference.
---
 data/oses/centos.xml.in                            | 42 ++++++++++++++++++++++
 .../centos7.1/CentOS-7-x86_64-DVD-1503-01.iso.txt  | 29 +++++++++++++++
 2 files changed, 71 insertions(+)
 create mode 100644 test/isodata/centos/centos7.1/CentOS-7-x86_64-DVD-1503-01.iso.txt

diff --git a/data/oses/centos.xml.in b/data/oses/centos.xml.in
index 3c79918..0b8caeb 100644
--- a/data/oses/centos.xml.in
+++ b/data/oses/centos.xml.in
@@ -317,4 +317,46 @@
     </installer>
   </os>
 
+  <os id="http://centos.org/centos/7.1";>
+    <short-id>centos7.1</short-id>
+    <_name>CentOS 7</_name>
+    <version>1504</version>
+    <_vendor>CentOS</_vendor>
+    <family>linux</family>
+    <distro>centos</distro>
+    <upgrades id="http://centos.org/centos/7.0"/>
+    <clones id="http://redhat.com/rhel/7.1"/>
+
+    <media arch="x86_64">
+      <iso>
+        <system-id>LINUX</system-id>
+        <volume-id>.*CentOS 7 x86_64.*</volume-id>
+        <volume-size>4310345728</volume-size>
+      </iso>
+      <kernel>isolinux/vmlinuz</kernel>
+      <initrd>isolinux/initrd.img</initrd>
+    </media>
+
+    <resources arch="all">
+      <minimum>
+        <n-cpus>1</n-cpus>
+        <cpu>1000000000</cpu>
+        <ram>1073741824</ram>
+        <storage>10737418240</storage>
+      </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/centos7.1/CentOS-7-x86_64-DVD-1503-01.iso.txt b/test/isodata/centos/centos7.1/CentOS-7-x86_64-DVD-1503-01.iso.txt
new file mode 100644
index 0000000..4ba7803
--- /dev/null
+++ b/test/isodata/centos/centos7.1/CentOS-7-x86_64-DVD-1503-01.iso.txt
@@ -0,0 +1,29 @@
+CD-ROM is in ISO 9660 format
+System id: LINUX
+Volume id: CentOS 7 x86_64
+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: 2104661
+El Torito VD version 1 found, boot catalog is in sector 536
+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 E9A 3738
-- 
2.4.3

_______________________________________________
Libosinfo mailing list
Libosinfo@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libosinfo



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux