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. --- I'd like to add similar entries for other OSs too but first I wanted to get some feedback on this approach. I think this will help us/users running pre-release ISOs. data/oses/fedora.xml.in | 51 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/data/oses/fedora.xml.in b/data/oses/fedora.xml.in index 06abc85..b34c10b 100644 --- a/data/oses/fedora.xml.in +++ b/data/oses/fedora.xml.in @@ -1532,4 +1532,55 @@ <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"/> + + <media arch="i686"> + <iso> + <volume-id>Fedora [2][1-9]|[0-9]{3,}.* i386</volume-id> + <system-id>LINUX</system-id> + </iso> + </media> + <media arch="x86_64"> + <iso> + <volume-id>Fedora [2][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][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][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