diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b69f085 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/libosinfo-0.2.11.tar.gz diff --git a/.libosinfo.metadata b/.libosinfo.metadata new file mode 100644 index 0000000..7f0ca42 --- /dev/null +++ b/.libosinfo.metadata @@ -0,0 +1 @@ +5123247ce495136df8cae6bf889b70c43ab33f17 SOURCES/libosinfo-0.2.11.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SOURCES/0004-oses-Detect-RHEL-Server-for-AArch64-as-RHEL-7.0.patch b/SOURCES/0004-oses-Detect-RHEL-Server-for-AArch64-as-RHEL-7.0.patch new file mode 100644 index 0000000..a9e8484 --- /dev/null +++ b/SOURCES/0004-oses-Detect-RHEL-Server-for-AArch64-as-RHEL-7.0.patch @@ -0,0 +1,81 @@ +From: Cole Robinson +Date: Tue, 2 Dec 2014 11:22:06 -0500 +Subject: [PATCH libosinfo] oses: Detect RHEL Server for AArch64 as RHEL 7.0 + +RHELSA will be it's own release for a short while, but long term it's +expected to just be another RHEL architecture. So piggyback on the rhel7.0 +entry for now. If needed we can add a toplevel rhelsa entry later. +--- + data/oses/rhel.xml.in | 9 +++++++ + data/schemas/libosinfo.rng | 1 + + ...ELSA-1.5-20141017.1-Server-aarch64-dvd1.iso.txt | 29 ++++++++++++++++++++++ + 3 files changed, 39 insertions(+) + create mode 100644 test/isodata/rhel/rhel7.0/RHELSA-1.5-20141017.1-Server-aarch64-dvd1.iso.txt + +diff --git a/data/oses/rhel.xml.in b/data/oses/rhel.xml.in +index 791d470..23cc0f2 100644 +--- a/data/oses/rhel.xml.in ++++ b/data/oses/rhel.xml.in +@@ -1135,6 +1135,15 @@ + isolinux/initrd.img + + ++ ++ ++ LINUX ++ RHELSA-.* Server\.aarch64 ++ ++ isolinux/vmlinuz ++ isolinux/initrd.img ++ ++ + + + 1 +diff --git a/data/schemas/libosinfo.rng b/data/schemas/libosinfo.rng +index 1580d9a..f8ca4d4 100644 +--- a/data/schemas/libosinfo.rng ++++ b/data/schemas/libosinfo.rng +@@ -695,6 +695,7 @@ + + + ++ aarch64 + alpha + armv7l + cris +diff --git a/test/isodata/rhel/rhel7.0/RHELSA-1.5-20141017.1-Server-aarch64-dvd1.iso.txt b/test/isodata/rhel/rhel7.0/RHELSA-1.5-20141017.1-Server-aarch64-dvd1.iso.txt +new file mode 100644 +index 0000000..6f017e9 +--- /dev/null ++++ b/test/isodata/rhel/rhel7.0/RHELSA-1.5-20141017.1-Server-aarch64-dvd1.iso.txt +@@ -0,0 +1,29 @@ ++CD-ROM is in ISO 9660 format ++System id: LINUX ++Volume id: RHELSA-1.5 Server.aarch64 ++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: 1417692 ++El Torito VD version 1 found, boot catalog is in sector 523 ++Joliet with UCS level 3 found ++Rock Ridge signatures version 1 found ++Eltorito validation header: ++ Hid 1 ++ Arch 239 (Unknown Arch) ++ ID '' ++ Key 55 AA ++ Eltorito defaultboot header: ++ Bootid 88 (bootable) ++ Boot media 0 (No Emulation Boot) ++ Load segment 0 ++ Sys type 0 ++ Nsect 29E8 ++ Bootoff 1DED2 122578 diff --git a/SOURCES/add-rhel-5.9.11-and-rhel-6.6-info.patch b/SOURCES/add-rhel-5.9.11-and-rhel-6.6-info.patch new file mode 100644 index 0000000..f3c2a07 --- /dev/null +++ b/SOURCES/add-rhel-5.9.11-and-rhel-6.6-info.patch @@ -0,0 +1,385 @@ +From 3dcfa43b221b9e5a04878a37f91727696deadd57 Mon Sep 17 00:00:00 2001 +From: Satoru Satoh +Date: Thu, 6 Nov 2014 15:33:27 +0100 +Subject: [PATCH] Add rhel-5.9..11 and rhel-6.6 info + +--- + data/oses/rhel.xml.in | 133 +++++++++++++++++++++ + .../rhel5.10/rhel-server-5.10-i386-dvd.iso.txt | 29 +++++ + .../rhel5.10/rhel-server-5.10-x86_64-dvd.iso.txt | 29 +++++ + .../rhel5.11/rhel-server-5.11-x86_64-dvd.iso.txt | 29 +++++ + .../rhel/rhel5.9/rhel-server-5.9-i386-dvd.iso.txt | 29 +++++ + .../rhel5.9/rhel-server-5.9-x86_64-dvd.iso.txt | 29 +++++ + .../rhel6.6/rhel-server-6.6-x86_64-dvd.iso.txt | 29 +++++ + 7 files changed, 307 insertions(+) + create mode 100644 test/isodata/rhel/rhel5.10/rhel-server-5.10-i386-dvd.iso.txt + create mode 100644 test/isodata/rhel/rhel5.10/rhel-server-5.10-x86_64-dvd.iso.txt + create mode 100644 test/isodata/rhel/rhel5.11/rhel-server-5.11-x86_64-dvd.iso.txt + create mode 100644 test/isodata/rhel/rhel5.9/rhel-server-5.9-i386-dvd.iso.txt + create mode 100644 test/isodata/rhel/rhel5.9/rhel-server-5.9-x86_64-dvd.iso.txt + create mode 100644 test/isodata/rhel/rhel6.6/rhel-server-6.6-x86_64-dvd.iso.txt + +diff --git a/data/oses/rhel.xml.in b/data/oses/rhel.xml.in +index 9b5f6bb..921396a 100644 +--- a/data/oses/rhel.xml.in ++++ b/data/oses/rhel.xml.in +@@ -658,6 +658,89 @@ + + + ++ ++ rhel5.9 ++ <_name>Red Hat Enterprise Linux 5.9 ++ 5.9 ++ <_vendor>Red Hat, Inc ++ linux ++ rhel ++ Tikanga ++ ++ ++ ++ 2013-01-07 ++ 2020-03-31 ++ ++ ++ ++ LINUX ++ .*RHEL/5.9 i386.* ++ ++ ++ ++ ++ LINUX ++ .*RHEL/5.9 x86_64.* ++ ++ ++ ++ ++ ++ rhel5.10 ++ <_name>Red Hat Enterprise Linux 5.10 ++ 5.10 ++ <_vendor>Red Hat, Inc ++ linux ++ rhel ++ Tikanga ++ ++ ++ ++ 2013-10-01 ++ 2020-03-31 ++ ++ ++ ++ LINUX ++ .*RHEL/5.10 i386.* ++ ++ ++ ++ ++ LINUX ++ .*RHEL/5.10 x86_64.* ++ ++ ++ ++ ++ ++ rhel5.11 ++ <_name>Red Hat Enterprise Linux 5.11 ++ 5.11 ++ <_vendor>Red Hat, Inc ++ linux ++ rhel ++ Tikanga ++ ++ ++ ++ 2014-09-16 ++ 2020-03-31 ++ ++ ++ ++ LINUX ++ .*RHEL/5.11 i386.* ++ ++ ++ ++ ++ LINUX ++ .*RHEL/5.11 x86_64.* ++ ++ ++ + + + +@@ -965,6 +1048,56 @@ + + + ++ ++ rhel6.6 ++ <_name>Red Hat Enterprise Linux 6.6 ++ 6.6 ++ <_vendor>Red Hat, Inc ++ linux ++ rhel ++ Santiago ++ ++ ++ ++ 2014-10-14 ++ 2023-11-30 ++ ++ ++ ++ LINUX ++ RHEL-6.6 .*.i386.* ++ ++ isolinux/vmlinuz ++ isolinux/initrd.img ++ ++ ++ ++ LINUX ++ .*RHEL-6.6 .*.x86_64.* ++ ++ isolinux/vmlinuz ++ isolinux/initrd.img ++ ++ ++ ++ ++ 1 ++ 536870912 ++ ++ ++ ++ 400000000 ++ 1073741824 ++ 9663676416 ++ ++ ++ ++ ++