[Libosinfo] [osinfo-db PATCH 1/4] fedora: Split rawhide from unknown

Fabiano Fidêncio fidencio at redhat.com
Tue Mar 26 12:00:36 UTC 2019


Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>
---
 .../fedoraproject.org/fedora-rawhide.xml.in   | 63 +++++++++++++++++++
 .../fedoraproject.org/fedora-unknown.xml.in   |  4 +-
 2 files changed, 65 insertions(+), 2 deletions(-)
 create mode 100644 data/os/fedoraproject.org/fedora-rawhide.xml.in

diff --git a/data/os/fedoraproject.org/fedora-rawhide.xml.in b/data/os/fedoraproject.org/fedora-rawhide.xml.in
new file mode 100644
index 0000000..ca866d8
--- /dev/null
+++ b/data/os/fedoraproject.org/fedora-rawhide.xml.in
@@ -0,0 +1,63 @@
+<libosinfo version="0.0.1">
+<!-- Licensed under the GNU General Public License version 2 or later.
+     See http://www.gnu.org/licenses/ for a copy of the license text -->
+  <os id="http://fedoraproject.org/fedora/rawhide">
+    <short-id>rawhide</short-id>
+    <_name>Fedora Rawhide</_name>
+    <version>Rawhide</version>
+    <_vendor>Fedora Project</_vendor>
+    <family>linux</family>
+    <distro>fedora</distro>
+    <upgrades id="http://fedoraproject.org/fedora/29"/>
+    <derives-from id="http://fedoraproject.org/fedora/29"/>
+    <release-status>prerelease</release-status>
+
+    <media arch="x86_64">
+      <iso>
+        <volume-id>Fedora-.*-dvd-x86_64-rawh</volume-id>
+      </iso>
+      <kernel>isolinux/vmlinuz</kernel>
+      <initrd>isolinux/initrd.img</initrd>
+    </media>
+
+    <media arch="x86_64" live="true">
+      <iso>
+        <volume-id>Fedora-.*-Live-rawh.*</volume-id>
+      </iso>
+    </media>
+
+    <tree arch="x86_64">
+      <url>https://download.fedoraproject.org/pub/fedora/linux/development/rawhide/Workstation/x86_64/os</url>
+      <treeinfo>
+        <family>Fedora</family>
+        <version>Rawhide</version>
+        <arch>x86_64</arch>
+        <variant>Workstation</variant>
+      </treeinfo>
+    </tree>
+
+    <tree arch="x86_64">
+      <url>https://download.fedoraproject.org/pub/fedora/linux/development/rawhide/Server/x86_64/os</url>
+      <treeinfo>
+        <family>Fedora</family>
+        <version>Rawhide</version>
+        <arch>x86_64</arch>
+        <variant>Server</variant>
+      </treeinfo>
+    </tree>
+
+    <resources arch="all">
+      <minimum>
+        <n-cpus>1</n-cpus>
+        <cpu>1000000000</cpu>
+        <ram>1073741824</ram>
+        <storage>10737418240</storage>
+      </minimum>
+
+      <recommended>
+        <ram>2147483648</ram>
+        <storage>21474836480</storage>
+      </recommended>
+    </resources>
+  </os>
+</libosinfo>
diff --git a/data/os/fedoraproject.org/fedora-unknown.xml.in b/data/os/fedoraproject.org/fedora-unknown.xml.in
index 3e084a1..a5f4eb7 100644
--- a/data/os/fedoraproject.org/fedora-unknown.xml.in
+++ b/data/os/fedoraproject.org/fedora-unknown.xml.in
@@ -14,7 +14,7 @@
 
     <media arch="x86_64">
       <iso>
-        <volume-id>Fedora-.*-dvd-x86_64-([3-9][0-9]|rawh)</volume-id>
+        <volume-id>Fedora-.*-dvd-x86_64-[3-9][0-9]</volume-id>
         <system-id>LINUX</system-id>
       </iso>
       <kernel>isolinux/vmlinuz</kernel>
@@ -23,7 +23,7 @@
 
     <media arch="x86_64" live="true">
       <iso>
-        <volume-id>Fedora-.*-Live-([3-9][0-9]|Rawhide).*</volume-id>
+        <volume-id>Fedora-.*-Live-[3-9][0-9].*</volume-id>
         <system-id>LINUX</system-id>
       </iso>
     </media>
-- 
2.20.1




More information about the Libosinfo mailing list