[Kimchi-devel] [PATCH] bug fix: add rhel workstation to YUM_DISTROS
Aline Manera
alinefm at linux.vnet.ibm.com
Mon Feb 24 13:04:12 UTC 2014
On 02/24/2014 12:36 AM, shaohef at linux.vnet.ibm.com wrote:
> From: ShaoHe Feng <shaohef at linux.vnet.ibm.com>
>
> red hat enterprise linux workstation also use yum to manage package.
>
> Signed-off-by: ShaoHe Feng <shaohef at linux.vnet.ibm.com>
> ---
> src/kimchi/repositories.py | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/src/kimchi/repositories.py b/src/kimchi/repositories.py
> index 0ab0b1a..40ce266 100644
> --- a/src/kimchi/repositories.py
> +++ b/src/kimchi/repositories.py
> @@ -28,6 +28,7 @@ from kimchi.exception import InvalidOperation, InvalidParameter
> from kimchi.exception import OperationFailed, NotFoundError, MissingParameter
>
> YUM_DISTROS = ['fedora', 'red hat enterprise linux',
> + 'red hat enterprise linux workstation',
> 'red hat enterprise linux server', 'opensuse ',
Maybe it is better to match only "red hat" to avoid problems with
different Red Hat distributions
> 'suse linux enterprise server ']
> APT_DISTROS = ['debian', 'ubuntu']
More information about the Kimchi-devel
mailing list