Fedora 24 Server for x86_64 arch was not being identified by
Kimchi. This patch fixes it by adding more specific patterns
for Server and Workstation flavors.
Signed-off-by: Lucio Correia <luciojhc(a)linux.vnet.ibm.com>
---
isoinfo.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/isoinfo.py b/isoinfo.py
index 5eb68ab..e5725e2 100644
--- a/isoinfo.py
+++ b/isoinfo.py
@@ -117,9 +117,10 @@ iso_dir = [
('rhel', lambda m: m.group(2), 'RHEL(-LE)?[_/-](\d+\.\d+)'),
('debian', lambda m: m.group(1), 'Debian (\d+\.\d+)'),
('ubuntu', lambda m: m.group(2), '[Uu]buntu(-Server)? (\d+\.\d+)'),
+ ('fedora', lambda m: m.group(1), 'Fedora-WS-[\D-]+-(\d+)'),
+ ('fedora', lambda m: m.group(1), 'Fedora-S-[\w-]+-(\d+)'),
('fedora', lambda m: m.group(1), 'Fedora[ -](\d+)'),
('fedora', lambda m: m.group(1), 'Fedora.*-(\d+)-'),
- ('fedora', lambda m: m.group(1), 'Fedora-[\D-]+-(\d+)'),
('gentoo', lambda m: m.group(1), 'Gentoo Linux \w+ (\d+)'),
('powerkvm', 'live_cd', 'POWERKVM_LIVECD'),
('arch', lambda m: m.group(1), 'ARCH_(\d+)'),
--
2.7.4
Show replies by date
Applied. Thanks.
Regards,
Aline Manera