[Libosinfo] [PATCH libosinfo] oses: Add Fedora21

Cole Robinson crobinso at redhat.com
Tue Sep 23 13:52:06 UTC 2014


On 09/23/2014 03:39 AM, Christophe Fergeau wrote:
> Hi,
> 
> On Mon, Sep 22, 2014 at 01:50:51PM -0400, Cole Robinson wrote:
>> This just adds a plain Fedora21 entry. F21 is going to have different
>> versions like 'Workstation' and 'Server' but we don't seem to distinguish
>> for other distros so I just stuck with the pattern here.
> 
> I think this is done for some Windows ISOs, but that's about it.
> 
>>
>> This currently doesn't work for detecting Workstation media, since their
>> volume IDs are truncated. Bug tracking that:
>>
>> https://bugzilla.redhat.com/show_bug.cgi?id=1145264
>> Signed-off-by: Cole Robinson <crobinso at redhat.com>
>> ---
>>  data/oses/fedora.xml.in                            | 86 ++++++++++++++++++++++
>>  .../Fedora-Server-DVD-x86_64-21_Alpha_TC7.iso.txt  | 29 ++++++++
>>  2 files changed, 115 insertions(+)
>>  create mode 100644 test/isodata/fedora/fedora21/Fedora-Server-DVD-x86_64-21_Alpha_TC7.iso.txt
>>
>> diff --git a/data/oses/fedora.xml.in b/data/oses/fedora.xml.in
>> index 27cdd4a..1848a78 100644
>> --- a/data/oses/fedora.xml.in
>> +++ b/data/oses/fedora.xml.in
>> @@ -1584,4 +1584,90 @@
>>        </minimum>
>>      </resources>
>>    </os>
>> +
>> +  <os id="http://fedoraproject.org/fedora/21">
>> +    <short-id>fedora21</short-id>
>> +    <_name>Fedora 21</_name>
>> +    <version>21</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"/>
> 
> I would add a <release-status>prerelease</release-status> tag for now,
> looks good otherwise
> 

I also realize I forgot to update fedora-unknown, so I'll send a V2

Thanks,
Cole




More information about the Libosinfo mailing list