Skip to content
Open
Changes from all commits
Commits
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
9 changes: 8 additions & 1 deletion releases/latest/kernel-slim/helpers/build/features.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#!/bin/bash

if [[ "$FEATURES_VERBOSE" == "true" && "$VERBOSE" != "true" ]]; then
echo "WARNING: 'FEATURES_VERBOSE' is 'true' but 'VERBOSE' is 'false'. featureUtility verbose output will be suppressed"
fi

. /opt/ol/helpers/build/internal/logger.sh

set -Eeox pipefail
Expand Down Expand Up @@ -28,6 +32,9 @@ if [ "$SSL" == "true" ] || [ "$TLS" == "true" ]; then
fi

# Install necessary features using featureUtility
featureUtility installServerFeatures --acceptLicense defaultServer --noCache
if [ "$FEATURES_VERBOSE" == "true" ]; then
verbose="--verbose"
fi
featureUtility installServerFeatures --acceptLicense defaultServer --noCache $verbose
find /opt/ol/wlp/lib /opt/ol/wlp/bin ! -perm -g=rw -print0 | xargs -0 -r chmod g+rw