[Kimchi-devel] [PATCH] Fix SLES 11 reg exp to recognize SLE-11-SP4-SAP-DVD-ppc64-GM-DVD1.iso

Daniel Henrique Barboza danielhb at linux.vnet.ibm.com
Mon Aug 10 18:09:21 UTC 2015


Reviewed-by: Daniel Barboza <dhbarboza82 at gmail.com>

On 08/10/2015 10:17 AM, Ramon Medeiros wrote:
> Signed-off-by: Ramon Medeiros <ramonn at linux.vnet.ibm.com>
> ---
>   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 6fb0f38..58dddcd 100644
> --- a/src/kimchi/isoinfo.py
> +++ b/src/kimchi/isoinfo.py
> @@ -97,7 +97,7 @@ iso_dir = [
>            '|HRM_CENNA_X64FREV|HRM_CENNA_X64CHKV|HRM_CENA_X64FREV' +
>            '|HRM_CENA_X64CHKV|HRM_CPRA_X64FREV|HRM_CPRNA_X64FREV')),
>       ('sles', '10', 'SLES10|SUSE-Linux-Enterprise-Server.001'),
> -    ('sles', '11', 'SUSE_SLES-11-0-0'),
> +    ('sles', '11', 'SUSE_SLES-11-0-0|SLE-11'),
>       ('sles', '12', 'SLE-12'),
>       ('sles', lambda m: "11sp%s" % m.group(1), 'SLES-11-SP(\d+)'),
>       ('opensuse', lambda m: m.group(1), 'openSUSE[ -](\d+\.\d+)'),




More information about the Kimchi-devel mailing list