-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed the different python3-devel package names in RHEL8 and RHEL9 #2873
base: master
Are you sure you want to change the base?
Conversation
So handling the different package names available to be installed accordingly Signed-off-by: Pavaman Subramaniyam <[email protected]>
Below is the result of the MOFED ISO installation on RHEL8.10 OS. avocado run --max-parallel-tasks=1 mofed_install_test.py -m mofed_install_test.py.data/mofed_install_test.yaml Device #1:Device Type: ConnectX6DX Status: Up to date Log File: /tmp/PwI0h4No_O |
Below is the result of the MOFED ISO installation on RHEL9.2 OS. avocado run --max-parallel-tasks=1 mofed_install_test.py -m mofed_install_test.py.data/mofed_install_test.yaml |
"kernel-rpm-macros", "gdb-headless", "rpm-build", | ||
"gcc-gfortran", kernel_ver]) | ||
if detected_distro.version == "9": | ||
pkgs.extend(["make", "gcc", "python3-devel", "tcsh", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of duplicating all package names you can restrict the if else only for python3/python36 package
pkgs.extend(["make", "gcc", "tcsh",
"kernel-rpm-macros", "gdb-headless", "rpm-build",
"gcc-gfortran", kernel_ver])
if detected_distro.version == "9":
pkgs.extend(["python3-devel"])
elif detected_distro.version == "8":
pkgs.extend(["python36-devel"])
So handling the different package names available to be installed accordingly