Skip to content

Commit

Permalink
Add a specific error message for when the TuneD submodule folder is n…
Browse files Browse the repository at this point in the history
…ot initialized
  • Loading branch information
fontivan committed Aug 26, 2024
1 parent d3cc082 commit 9702ceb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions hack/dockerfile_install_support.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ INSTALL_PKGS="nmap-ncat procps-ng pciutils"
cp -r /root/assets/bin/* /usr/local/bin
mkdir -p /etc/grub.d/ /boot /run/ocp-tuned

# Verify TuneD submodule is not empty
if [[ -z $(ls /root/assets/tuned/tuned) ]]; then
echo "TuneD submodule is an empty folder. Consider initializing the module: 'git submodule update --init --recursive'"
exit 1
fi

source /etc/os-release
if [[ "${ID}" == "centos" ]]; then

Expand Down

0 comments on commit 9702ceb

Please sign in to comment.