Skip to content

Commit

Permalink
update library whitelists for OmniOS
Browse files Browse the repository at this point in the history
  • Loading branch information
jsime authored and tas50 committed Oct 20, 2020
1 parent 222d66e commit 8504044
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/omnibus/health_check.rb
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,8 @@ def check_for_bad_library(bad_libs, current_library, name, linked)
ARCH_WHITELIST_LIBS
when "mac_os_x"
MAC_WHITELIST_LIBS
when "omnios"
OMNIOS_WHITELIST_LIBS
when "solaris2"
SOLARIS_WHITELIST_LIBS
when "smartos"
Expand Down
10 changes: 10 additions & 0 deletions lib/omnibus/whitelist.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,16 @@
/unix$/,
].freeze

OMNIOS_WHITELIST_LIBS = [
/libge/,
/libgen\.so\.1/,
/libmd\.so\.1/,
/libmp\.so\.2/,
/libsocket\.so\.1/,
/lib\/libssp\.s/,
/lib\/libssp\.so\.0/,
].freeze

SOLARIS_WHITELIST_LIBS = [
/libaio\.so/,
/libavl\.so/,
Expand Down

0 comments on commit 8504044

Please sign in to comment.