[ARVADOS-DEV] updated: e4dcd475e0b11a8e9fd10b5b32ec69787471fa6b

Git user git at public.arvados.org
Thu Jul 22 15:44:07 UTC 2021


Summary of changes:
 jenkins/packer-images/jenkins-image-common.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

       via  e4dcd475e0b11a8e9fd10b5b32ec69787471fa6b (commit)
      from  83deea5a2ab4aad439743e5bb4a88b4d64adee14 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit e4dcd475e0b11a8e9fd10b5b32ec69787471fa6b
Author: Javier Bértoli <jbertoli at curii.com>
Date:   Thu Jul 22 12:43:31 2021 -0300

    17535: Add missing Debian's pre-install command
    
    Arvados-DCO-1.1-Signed-off-by: Javier Bértoli <jbertoli at curii.com>

diff --git a/jenkins/packer-images/jenkins-image-common.sh b/jenkins/packer-images/jenkins-image-common.sh
index c7118d2..3dad7ab 100755
--- a/jenkins/packer-images/jenkins-image-common.sh
+++ b/jenkins/packer-images/jenkins-image-common.sh
@@ -22,11 +22,12 @@ case ${OS_ID} in
     POSTINSTALL_CMD="/bin/true"
     PKGS="git java-11-openjdk"
   "debian","ubuntu")
+    PREINSTALL_CMD="DEBIAN_FRONTEND=noninteractive apt update"
     INSTALL_CMD="DEBIAN_FRONTEND=noninteractive apt install -y"
+    POSTINSTALL_CMD="DEBIAN_FRONTEND=noninteractive apt autopurge -y"
     # SUFFIX packages with - to remove them
     # Remove unattended-upgrades so that it doesn't interfere with our nodes at startup
     PKGS="git default-jdk unattended-upgrades-"
-    POSTINSTALL_CMD="DEBIAN_FRONTEND=noninteractive apt autopurge -y"
 esac
 
 sudo su -c "${PREINSTALL_CMD}"

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list