[ARVADOS] updated: 2.1.0-1747-g9ae161e84

Git user git at public.arvados.org
Mon Dec 20 15:23:53 UTC 2021


Summary of changes:
 tools/compute-images/scripts/base.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

       via  9ae161e844e602b5e02503f7acd47d33e907bd66 (commit)
      from  454613a6eb904bb9035eb3b2df0b665adfcd3a67 (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 9ae161e844e602b5e02503f7acd47d33e907bd66
Author: Ward Vandewege <ward at curii.com>
Date:   Mon Dec 20 10:22:54 2021 -0500

    18325: The nvidia apt repo link generation information at
           https://nvidia.github.io/libnvidia-container/ is wrong for
           Ubuntu, the dot needs to be stripped from the version number.
    
    Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward at curii.com>

diff --git a/tools/compute-images/scripts/base.sh b/tools/compute-images/scripts/base.sh
index e70eccd0c..2ad9818d0 100644
--- a/tools/compute-images/scripts/base.sh
+++ b/tools/compute-images/scripts/base.sh
@@ -151,7 +151,7 @@ $SUDO mv /tmp/etc-cloud-cloud.cfg.d-07_compute_arvados_dispatch_cloud.cfg /etc/c
 $SUDO chown root:root /etc/cloud/cloud.cfg.d/07_compute_arvados_dispatch_cloud.cfg
 
 if [ "$NVIDIA_GPU_SUPPORT" == "1" ]; then
-  DIST=$(. /etc/os-release; echo $ID$VERSION_ID)
+  DIST=$(. /etc/os-release; echo $ID$VERSION_ID | tr -d '.')
   # We need a kernel and matching headers
   $SUDO apt-get -y install linux-image-cloud-amd64 linux-headers-cloud-amd64
 

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list