[Kimchi-devel] [PATCH] Add support to recognize RHEL-LE distro and version
Aline Manera
alinefm at linux.vnet.ibm.com
Fri Mar 20 13:37:21 UTC 2015
Reviewed-by: Aline Manera <alinefm at linux.vnet.ibm.com>
On 19/03/2015 17:33, Jose Ricardo Ziviani wrote:
> - When creating a new template, RHEL little-endian was not
> being reconized. This commit fixes the regex to support
> such distro.
> ---
> src/kimchi/isoinfo.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/kimchi/isoinfo.py b/src/kimchi/isoinfo.py
> index b5a1769..818ffe3 100644
> --- a/src/kimchi/isoinfo.py
> +++ b/src/kimchi/isoinfo.py
> @@ -110,7 +110,7 @@ iso_dir = [
> ('opensuse', '12.2',
> 'openSUSE-DVD-i586-Build0167|openSUSE-DVD-x86_640167'),
> ('rhel', '4.8', 'RHEL/4-U8'),
> - ('rhel', lambda m: m.group(1), 'RHEL[_/-](\d+\.\d+)'),
> + ('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[ -](\d+)'),
More information about the Kimchi-devel
mailing list