File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed
.github/actions/container_task_prep Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change 1111 path : facts
1212 - name : Ensure wget is installed
1313 shell : bash
14+ env :
15+ PT__installdir : ${{ github.workspace }}
1416 run : |-
1517 source openvox_bootstrap/files/common.sh
18+
19+ # Ensure wget is installed.
1620 if exists 'apt'; then
1721 exec_and_capture apt update
1822 elif exists 'apt-get'; then
2832 exit 1
2933 fi
3034 install_package wget
35+
36+ # Deal with missing package dependencies in the containers.
37+ # ...possibly this should be moved into the
38+ # install_build_artifact task scripts.
39+ set_platform
40+ if [[ "${platform}" == 'Rocky' ]]; then
41+ # The Rocky9 container, at least, is missing openvox-agent's
42+ # systemd dependency...
43+ exec_and_capture dnf install -y systemd
44+ if [[ "${major_version}" == '8' ]]; then
45+ # ...and the Rocky8 container is missing findutils.
46+ exec_and_capture dnf install -y findutils
47+ fi
48+ fi
You can’t perform that action at this time.
0 commit comments