It looks good. I have no way of testing it as I use Ubuntu and Fedora.

Have you tried to run setup.py and unit tests - './scripts/build check' - 
after on those distributions?

Waldek

On Wednesday, October 24, 2018 at 9:42:03 PM UTC-4, Jose Mathew Manimala 
wrote:
>
> - Update setup.py to support Centos 7.4 and 7.5 
> - Override Fedora base class install param removing allowerasing 
> Signed-off-by: Jose Mathew Manimala <[email protected] <javascript:>> 
> --- 
>  scripts/setup.py | 17 ++++++++++++++++- 
>  1 file changed, 16 insertions(+), 1 deletion(-) 
>
> diff --git a/scripts/setup.py b/scripts/setup.py 
> index 2cf0165..ace78a7 100755 
> --- a/scripts/setup.py 
> +++ b/scripts/setup.py 
> @@ -135,6 +135,7 @@ class Fedora(object): 
>   
>  class RHELbased(Fedora): 
>      name = ['Scientific Linux', 'NauLinux', 'CentOS Linux', 'Red Hat 
> Enterprise Linux', 'Oracle Linux'] 
> +    install = 'yum -y install ' 
>   
>      class RHELbased_70(object): 
>          packages = [] 
> @@ -164,7 +165,21 @@ class RHELbased(Fedora): 
>          ec2_post_install = None 
>          version = '7.3' 
>   
> -    versions = [RHELbased_70, RHELbased_71, RHELbased_72, RHELbased_73] 
> +    class RHELbased_74(object): 
> +        packages = [] 
> +        ec2_packages = [] 
> +        test_packages = [] 
> +        ec2_post_install = None 
> +        version = '7.4' 
> + 
> +    class RHELbased_75(object): 
> +        packages = [] 
> +        ec2_packages = [] 
> +        test_packages = [] 
> +        ec2_post_install = None 
> +        version = '7.5' 
> + 
> +    versions = [RHELbased_70, RHELbased_71, RHELbased_72, RHELbased_73, 
> RHELbased_74, RHELbased_75] 
>   
>  class Debian(object): 
>      name = 'debian' 
> -- 
> 1.8.3.1 
>
>

-- 
You received this message because you are subscribed to the Google Groups "OSv 
Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to