From: Prarit Bhargava <[email protected]>

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.

Signed-off-by: Prarit Bhargava <[email protected]>
---
 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 -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]

Reply via email to