[ARVADOS-DEV] updated: 7b53343dacbe982c3f513203786234d1a600aa1c

Git user git at public.arvados.org
Thu Aug 5 19:09:45 UTC 2021


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

       via  7b53343dacbe982c3f513203786234d1a600aa1c (commit)
      from  6d4bb5299952547cbbc452624f8293ebf67d0208 (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 7b53343dacbe982c3f513203786234d1a600aa1c
Author: Javier Bértoli <jbertoli at curii.com>
Date:   Thu Aug 5 15:08:51 2021 -0300

    Use apt-get instead of apt so debian/ubuntu don't complain
    
    refs #17535
    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 905cc11..6f83c38 100755
--- a/jenkins/packer-images/jenkins-image-common.sh
+++ b/jenkins/packer-images/jenkins-image-common.sh
@@ -26,9 +26,9 @@ case ${OS_ID} in
     if [ ${OS_ID} = "debian" ]; then
       echo "deb http://deb.debian.org/debian buster-backports main" | sudo tee /etc/apt/sources.list.d/buster-backports.list
     fi
-    PREINSTALL_CMD="DEBIAN_FRONTEND=noninteractive apt update"
-    INSTALL_CMD="DEBIAN_FRONTEND=noninteractive apt install -y"
-    POSTINSTALL_CMD="DEBIAN_FRONTEND=noninteractive apt autopurge -y"
+    PREINSTALL_CMD="DEBIAN_FRONTEND=noninteractive apt-get update"
+    INSTALL_CMD="DEBIAN_FRONTEND=noninteractive apt-get install -y"
+    POSTINSTALL_CMD="DEBIAN_FRONTEND=noninteractive apt-get purge --autoremove -y"
     # SUFFIX packages with - to remove them
     # Remove unattended-upgrades so that it doesn't interfere with our nodes at startup
     PKGS="git netcat-traditional default-jdk unattended-upgrades-"

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list