Skip to content

Commit

Permalink
[WIP] handle libxcrypt dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
dafyddcrosby committed Apr 23, 2024
1 parent d94cbe6 commit 816dd74
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
1 change: 1 addition & 0 deletions cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -634,6 +634,7 @@
"LGRPID",
"LHND",
"libselinux",
"libxcrypt",
"linuxbrew",
"linuxmint",
"LISTBOX",
Expand Down
11 changes: 10 additions & 1 deletion omnibus/config/projects/chef.rb
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,13 @@
skip_packager true
end

runtime_dependency "coreutils" if rhel?
if rhel?
runtime_dependency "coreutils"
if platform_version.satisfies?("< 8")
# Don't touch older platforms
elsif platform_version.satisfies?("< 9")
runtime_dependency "libxcrypt-compat"
else
runtime_dependency "libxcrypt"
end
end

0 comments on commit 816dd74

Please sign in to comment.