-
Notifications
You must be signed in to change notification settings - Fork 478
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
xrtdeps : fix and update Fedora package list #8633
base: master
Are you sure you want to change the base?
Conversation
Can one of the admins verify this patch? |
Byvirven - is not a collaborator |
2 similar comments
Byvirven - is not a collaborator |
Byvirven - is not a collaborator |
Signed-off-by: Marco Dos Santos Oliveira <[email protected]>
- Added logic to detect Fedora version from /etc/os-release. - Introduced conditional inclusion of openssl-static, protobuf-static, and python2-sphinx based on Fedora version: - openssl-static for Fedora ≤ 35 - protobuf-static for Fedora ≤ 38 - python2-sphinx for Fedora < 32, otherwise python3-sphinx for Fedora ≥ 32 - Cleaned up redundant entries in the package list (FD_LIST). - Improved error handling for unavailable packages with --skip-broken option in dnf. - Ensured compatibility with Fedora's evolving package ecosystem by addressing deprecated packages. Signed-off-by: Marco Dos Santos Oliveira <[email protected]>
f682ae4
to
dba89d9
Compare
Byvirven - is not a collaborator |
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.
Why is aiebu submodule changed?
Problem solved by the commit
This commit updates the xrtdeps.sh script to fix the Fedora package installation list, ensuring compatibility with newer Fedora versions. Specifically, it addresses the absence of some packages and adapts the list dynamically based on the Fedora version.
Bug / issue (if any) fixed, which PR introduced the bug, how it was discovered
No specific PR introduced the issue. The problem was identified while attempting to execute the xrtdeps.sh script on Fedora 41, where several packages were missing or incompatible with the current package list. Probably not the first time.
How problem was solved, alternative solutions (if any) and why they were rejected
The problem was solved by:
Adding logic to detect the Fedora version dynamically from /etc/os-release.
Introducing conditional logic to include specific packages only for supported Fedora versions:
Alternative solutions, such as manually installing missing packages or ignoring unavailable ones, were rejected as they would not ensure compatibility across Fedora versions and could cause issues in automated environments.
Risks (if any) associated the changes in the commit
The risks are minimal, but possible issues include:
What has been tested and how, request additional testing if necessary
The updated script was tested on Fedora 41 to ensure:
Additional testing could include running the script on other Fedora versions (e.g., 35, 38) to confirm conditional logic behaves as expected.
Documentation impact (if any)
The documentation for the xrtdeps.sh script, if it exists, may need an update to reflect: