From 597f6b0eb8857ca045f938963c02cd0cf61df467 Mon Sep 17 00:00:00 2001 From: Alexandre Fayolle Date: Fri, 26 Nov 2021 15:36:45 +0100 Subject: [PATCH] [FIX] debian package dependencies not available the Debian package dependencies where only installed during the initialization phase, not the deployement -> install them at that point. closes: #23 --- src/runboat/kubefiles/runboat-clone-and-install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/runboat/kubefiles/runboat-clone-and-install.sh b/src/runboat/kubefiles/runboat-clone-and-install.sh index d8fda37..80f1911 100755 --- a/src/runboat/kubefiles/runboat-clone-and-install.sh +++ b/src/runboat/kubefiles/runboat-clone-and-install.sh @@ -5,12 +5,12 @@ set -ex # If it exists, copy the previously initialized venv. if [ -f /mnt/data/initialized ] ; then - #rsync -a --delete /mnt/data/odoo-venv/ /opt/odoo-venv pip list - # issue#23: install debian package dependencies (hack oca_install_addons to only - # install deb) + # Install 'deb' external dependencies of all Odoo addons found in path. + DEBIAN_FRONTEND=noninteractive apt-get install -qq --no-install-recommends $(oca_list_external_dependencies deb) exit 0 fi + DEBIAN_FRONTEND=noninteractive apt-get -yqq install rsync # Remove addons dir, in case we are reinitializing after a previously