Skip to content

Commit 5737c03

Browse files
committed
f dependencies
1 parent d86672c commit 5737c03

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/actions/container_task_prep/action.yaml

Lines changed: 15 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
@@ -27,4 +31,15 @@ runs:
2731
echo "No package manager found."
2832
exit 1
2933
fi
34+
35+
# Deal with missing package dependencies in the containers.
36+
# ...possibly this should be moved into the
37+
# install_build_artifact task scripts.
38+
set_platform
39+
if [[ "${platform}" == 'Rocky' ]]; then
40+
# The Rocky9 container, at least, is missing openvox-agent's
41+
# systemd dependency...
42+
exec_and_capture dnf install -y systemd
43+
fi
44+
3045
install_package wget

0 commit comments

Comments
 (0)