Skip to content

Commit b907b05

Browse files
committed
f dependencies
1 parent d86672c commit b907b05

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/actions/container_task_prep/action.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,12 @@ runs:
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
@@ -28,3 +32,17 @@ runs:
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

0 commit comments

Comments
 (0)