[ARVADOS-DEV] updated: dfbe77a34380363ec5af45ef10bcce058467a9de
Git user
git at public.arvados.org
Thu Aug 5 17:08:36 UTC 2021
Summary of changes:
jenkins/packer-images/jenkins-image-common.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
via dfbe77a34380363ec5af45ef10bcce058467a9de (commit)
from ce121896e6022b04520f9ecfcc2fdd41bced4c7d (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 dfbe77a34380363ec5af45ef10bcce058467a9de
Author: Javier Bértoli <jbertoli at curii.com>
Date: Thu Aug 5 14:07:12 2021 -0300
Debian/Ubuntu: os-release has an extra string to remove
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 62de53e..bccf1d7 100755
--- a/jenkins/packer-images/jenkins-image-common.sh
+++ b/jenkins/packer-images/jenkins-image-common.sh
@@ -12,7 +12,7 @@ sudo su -c "echo ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDH8swFWEfEfHhA+C5ezV8SXO/
# Install a few dependency packages
# First, let's figure out the OS we're working on
-OS_ID=$(grep ^ID= /etc/os-release |cut -f 2 -d \")
+OS_ID=$(grep ^ID= /etc/os-release |cut -f 2 -d \" | cut -f 2 -d = )
echo "Detected distro: ${OS_ID}"
case ${OS_ID} in
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list