[Libosinfo] [PATCH 1/2] opensuse: Recognize future versions
Lasse Schuirmann
lasse.schuirmann at gmail.com
Sun Aug 10 14:46:15 UTC 2014
2014-07-29 13:59 GMT+02:00 Giuseppe Scrivano <gscrivan at redhat.com>:
> Lasse Schuirmann <lasse.schuirmann at gmail.com> writes:
>
>> ---
>> data/oses/opensuse.xml.in | 45 +++++++++++++++++++++++++++++++++++++++++++++
>> 1 file changed, 45 insertions(+)
>>
>> diff --git a/data/oses/opensuse.xml.in b/data/oses/opensuse.xml.in
>> index c368d10..318019b 100644
>> --- a/data/oses/opensuse.xml.in
>> +++ b/data/oses/opensuse.xml.in
>> @@ -418,4 +418,49 @@
>> </resources>
>> </os>
>>
>> + <os id="http://opensuse.org/opensuse/unknown">
>> + <short-id>opensuse-unknown</short-id>
>> + <_name>openSUSE</_name>
>> + <version>unknown</version>
>> + <_vendor>openSUSE</_vendor>
>> + <family>linux</family>
>> + <distro>opensuse</distro>
>> + <upgrades id="http://opensuse.org/opensuse/13.1" />
>> + <derives-from id="http://opensuse.org/opensuse/13.1" />
>> +
>> + <media arch="i686">
>> + <iso>
>> + <volume-id>openSUSE-.*-DVD</volume-id>
>
> this will match any version, not only future releases.
>
> There are some other entries in data/oses/opensuse.xml.in that need the
> same fix, as the specified regex doesn't match only a single version.
>
> Regards,
> Giuseppe
I looked into the other entries that need this fix and downloaded a
few ISOs. Problem with those is that the volume ID is all the same
therefore it is impossible to fix those entries.
I'll upload an updated version of this patch shortly.
Greetings,
Lasse
More information about the Libosinfo
mailing list