On Thu, May 21, 2020 at 11:39:32AM -0000, GitLab Bridge on behalf of prarit 
wrote:
> From: Prarit Bhargava <pra...@redhat.com>
> 
> When building on a python2 system the following warning is displayed:
> 
> Processing 
> /data/working-repos/kernel-ark/redhat/configs/kernel-x86_64-fedora.config ... 
> done
> Processing 
> /data/working-repos/kernel-ark/redhat/configs/kernel-x86_64-rhel.config ... 
> done
> Processed config files are in /data/working-repos/kernel-ark/redhat/configs
> ERROR: your build environment is not compatible with RHEL8.
> To fix this, run:
> ln -s /usr/bin/python3 /usr/libexec/platform-python
> 
> Change the message to be distribution agnostic.

Acked-by: Don Zickus <dzic...@redhat.com>

> 
> Signed-off-by: Prarit Bhargava <pra...@redhat.com>
> ---
>  redhat/Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/redhat/Makefile b/redhat/Makefile
> index 1465469cab95..fc787adf9acc 100644
> --- a/redhat/Makefile
> +++ b/redhat/Makefile
> @@ -65,7 +65,7 @@ dist-python-check:
>                       echo "ERROR: Python 3 is needed." ; \
>                       exit 1; \
>               fi; \
> -             echo "ERROR: your build environment is not compatible with 
> RHEL8."; \
> +             echo "ERROR: your build environment is not compatible with this 
> distribution."; \
>               echo "To fix this, run:"; \
>               echo "ln -s `which python3` /usr/libexec/platform-python"; \
>               exit 1; \
> -- 
> 2.26.2
> _______________________________________________
> kernel mailing list -- kernel@lists.fedoraproject.org
> To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
> Fedora Code of Conduct: 
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: 
> https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org
_______________________________________________
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org

Reply via email to