diff options
Diffstat (limited to 'ci')
-rwxr-xr-x | ci/deploy.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ci/deploy.sh b/ci/deploy.sh index 97c4de0e3..787f7dee5 100755 --- a/ci/deploy.sh +++ b/ci/deploy.sh @@ -269,6 +269,14 @@ pushd "${DEPLOY_DIR}" > /dev/null [ -n "$(command -v yum)" ] && sudo yum install -y --skip-broken \ git make rsync genisoimage curl virt-install qemu-kvm util-linux +# For baremetal, python is indirectly required for PDF parsing +if [ "${DEPLOY_TYPE}" = 'baremetal' ]; then + [ -n "$(command -v apt-get)" ] && sudo apt-get install -y \ + python python-ipaddress python-jinja2 + [ -n "$(command -v yum)" ] && sudo yum install -y --skip-broken \ + python python-ipaddress python-jinja2 +fi + # Clone git submodules and apply our patches make -C "${REPO_ROOT_PATH}/mcp/patches" deepclean patches-import |