Merge "Fix broken ARM64 REC build"
authorEric Ball <eball@linuxfoundation.org>
Fri, 12 Feb 2021 18:02:20 +0000 (18:02 +0000)
committerGerrit Code Review <gerrit@akraino.org>
Fri, 12 Feb 2021 18:02:20 +0000 (18:02 +0000)
jjb/akraino-templates/akraino-ta-common-macros.yaml
jjb/shell/ta-iso-deploy.sh

index ef068d8..58f92cd 100644 (file)
           if apt --version 2>1 >/dev/null; then
               if ! createrepo --version 2>1 >/dev/null; then
                   sudo apt update
-                  sudo apt install -y createrepo libguestfs-tools jq
+                  sudo apt install -y createrepo libguestfs-tools jq libvirt-daemon-system
               fi
           else
               sudo yum -y install createrepo libguestfs-tools-c jq
index e40eeba..1614b73 100644 (file)
@@ -29,9 +29,10 @@ nexus_repo_url="$NEXUS_URL/content/repositories/$NEXUS_REPO"
 mkdir -p "$upload_dir1"
 mkdir -p "$upload_dir2"
 
+sudo apt install -y rename # "rename" disappeared in Ubuntu 18.04
 platform_arch=$(uname -m)
 if [ "${platform_arch}" != 'x86_64' ]; then
-    # On non-x86 architecture, rename the artifacts appropiately
+    # On non-x86 architecture, rename the artifacts appropriately
     pushd "$WORKSPACE/work/results/images/"
     rename "s/\./.${platform_arch}./" *.*
     sed -i "s/\./.${platform_arch}./" *."${platform_arch}".iso.*