[ARVADOS-DEV] updated: 6d4bb5299952547cbbc452624f8293ebf67d0208
Git user
git at public.arvados.org
Thu Aug 5 17:38:49 UTC 2021
Summary of changes:
jenkins/packer-images/jenkins-image-common.sh | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
via 6d4bb5299952547cbbc452624f8293ebf67d0208 (commit)
from dfbe77a34380363ec5af45ef10bcce058467a9de (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 6d4bb5299952547cbbc452624f8293ebf67d0208
Author: Javier Bértoli <jbertoli at curii.com>
Date: Thu Aug 5 14:38:11 2021 -0300
Only add Debian's backport in Debian images
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 bccf1d7..905cc11 100755
--- a/jenkins/packer-images/jenkins-image-common.sh
+++ b/jenkins/packer-images/jenkins-image-common.sh
@@ -23,8 +23,9 @@ case ${OS_ID} in
PKGS="git nmap-ncat java-11-openjdk"
;;
debian|ubuntu)
- echo "deb http://deb.debian.org/debian buster-backports main" | sudo tee /etc/apt/sources.list.d/buster-backports.list
-
+ 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"
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list