From 02cdbc14874c8a56ad71b415a885f2b0f5e539b5 Mon Sep 17 00:00:00 2001 From: Alexandru Avadanii Date: Tue, 25 Feb 2020 18:48:15 +0100 Subject: [PATCH] ta: iso: Workaround kernel missing read rights libguestfs requires read access to the current running kernel, as described in [1]. While at it, install missing rename dependency. [1] https://bugs.launchpad.net/fuel/+bug/1467579 Change-Id: Ic0c9095e35dd740d48ddf83add530456a5cae92d Signed-off-by: Alexandru Avadanii --- jjb/akraino-templates/akraino-ta-common-macros.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jjb/akraino-templates/akraino-ta-common-macros.yaml b/jjb/akraino-templates/akraino-ta-common-macros.yaml index 1f6bcb3..a0d578c 100644 --- a/jjb/akraino-templates/akraino-ta-common-macros.yaml +++ b/jjb/akraino-templates/akraino-ta-common-macros.yaml @@ -290,9 +290,10 @@ - shell: |2- #!/bin/bash -ex if apt --version 2>1 >/dev/null; then + sudo chmod +r /boot/vmlinuz* if ! docker --version 2>1 >/dev/null; then sudo apt update - sudo apt install -y apt-transport-https ca-certificates curl software-properties-common + sudo apt install -y apt-transport-https ca-certificates curl software-properties-common rename curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - sudo add-apt-repository -y "deb http://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" sudo apt update -- 2.16.6