[PATCH 3/3] fedora: Add generic entry for future releases

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

 



From: "Zeeshan Ali (Khattak)" <zeeshanak@xxxxxxxxx>

This is to ensure that we do recognise medias of future releases of
Fedora and therefore give apps some clue about what they are dealing
with and some rough estimate of required resources.
---
 data/oses/fedora.xml.in | 52 +++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 52 insertions(+)

diff --git a/data/oses/fedora.xml.in b/data/oses/fedora.xml.in
index 06abc85..aa0acf9 100644
--- a/data/oses/fedora.xml.in
+++ b/data/oses/fedora.xml.in
@@ -1532,4 +1532,56 @@
       <script id='http://fedoraproject.org/scripts/fedora/desktop'/>
     </installer>
   </os>
+
+  <!-- Generic entry for future Fedora releases. Please update the 'upgrades',
+       'derives-from', 'volume-id' and 'resources' nodes accordingly each time
+       you add a new (specific) entry for a new release. -->
+  <os id="http://fedoraproject.org/fedora/unknown";>
+    <short-id>fedora-unknown</short-id>
+    <_name>Fedora</_name>
+    <version>unknown</version>
+    <_vendor>Fedora Project</_vendor>
+    <family>linux</family>
+    <distro>fedora</distro>
+    <upgrades id="http://fedoraproject.org/fedora/20"/>
+    <derives-from id="http://fedoraproject.org/fedora/20"/>
+    <is-snapshot>true</is-snapshot>
+
+    <media arch="i686">
+      <iso>
+        <volume-id>Fedora ([2-9][1-9]|[0-9]{3,}).* i386</volume-id>
+        <system-id>LINUX</system-id>
+      </iso>
+    </media>
+    <media arch="x86_64">
+      <iso>
+        <volume-id>Fedora ([2-9][1-9]|[0-9]{3,}).* x86_64</volume-id>
+        <system-id>LINUX</system-id>
+      </iso>
+      <kernel>isolinux/vmlinuz</kernel>
+      <initrd>isolinux/initrd.img</initrd>
+    </media>
+
+    <media arch="i686" live="true">
+      <iso>
+        <volume-id>Fedora-Live-.*-i686-([2-9][1-9]|[0-9]{3,})</volume-id>
+        <system-id>LINUX</system-id>
+      </iso>
+    </media>
+    <media arch="x86_64" live="true">
+      <iso>
+        <volume-id>Fedora-Live-.*-x86_64-([2-9][1-9]|[0-9]{3,})</volume-id>
+        <system-id>LINUX</system-id>
+      </iso>
+    </media>
+
+    <resources arch="all">
+      <minimum>
+        <n-cpus>1</n-cpus>
+        <cpu>1000000000</cpu>
+        <ram>1073741824</ram>
+        <storage>10737418240</storage>
+      </minimum>
+    </resources>
+  </os>
 </libosinfo>
-- 
1.8.3.1

_______________________________________________
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