Skip to content

ENT-12600: detect-environment: Document and refactor #1737

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

Open
wants to merge 26 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
9e62056
detect-environment: Fixed shellcheck issues
larsewi Jun 6, 2025
5dd5779
detect-environment: Refactored cross target detection
larsewi Jun 6, 2025
4525c4b
detect-environment: Consistent identation in detect_os
larsewi Jun 6, 2025
972bc83
detect-environment: Fix indentation in "functions" sourced check
larsewi Jun 9, 2025
dcaee37
detect-environment: Document detect_os function
larsewi Jun 9, 2025
c468644
detect-environment: Put ;; on separate line
larsewi Jun 9, 2025
b85559c
detect-environment: Removed version substitution of code-names
larsewi Jun 9, 2025
58af4d6
detect-environment: Don't look for a 1-digit major release number
larsewi Jun 9, 2025
b9236cd
detect-environment: Document the detect_distribution
larsewi Jun 9, 2025
ede6c72
detect-environment: Simplified RHEL distro detection
larsewi Jun 9, 2025
eec2842
detect-environment: Remove parsing of /etc/SuSE-release
larsewi Jun 10, 2025
d1cdd42
detect-environment: changed two if's to if/elif
larsewi Jun 10, 2025
846657e
detect-environment: Put ;; on separate line
larsewi Jun 10, 2025
b8a4716
detect-environment: Document detect_packaging function
larsewi Jun 10, 2025
db2d94a
detect-environment: Put ;; on separate line
larsewi Jun 10, 2025
669311b
detect-environment: Moved version detection to detect_os
larsewi Jun 10, 2025
a503829
detect-environment: Document the detect_arch function
larsewi Jun 10, 2025
f69964f
detect-environment: Removed RPMBUILD_CMD environment variable
larsewi Jun 10, 2025
5e87c9d
Maybe we need this after all?
larsewi Jun 16, 2025
652e383
detect-environment: Remove call to function fatal
larsewi Jun 10, 2025
20005aa
detect-environment: Document the detect_tools function
larsewi Jun 10, 2025
2cc69b5
detect-environment: Put ;; on separate line
larsewi Jun 10, 2025
1f0a1ac
detect-environment: Document the detect_cores function
larsewi Jun 10, 2025
2e67550
detect-environment: Filter the output of env
larsewi Jun 10, 2025
d02fbb9
detect-environment: Added some log messages
larsewi Jun 10, 2025
5c636f1
configure: replace reference to $VER with $OS_VERSION
larsewi Jun 18, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build-scripts/configure
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ case "$WITH_SYSTEMD" in
esac

# RHEL 8 requires an SELinux policy
if [ "x$OS" = "xrhel" ] && [ "${VER%\.*}" -gt "7" ]; then
if [ "x$OS" = "xrhel" ] && [ "${OS_VERSION%\.*}" -gt "7" ]; then
var_append ARGS "--with-selinux-policy"
fi

Expand Down
Loading
Loading