From 45bc407e1d6986bc6757f210919c03f07184982f Mon Sep 17 00:00:00 2001 From: Alexandru Avadanii Date: Tue, 1 Aug 2017 22:48:45 +0200 Subject: [PATCH] p/fuel: ci/deploy.sh: Fix vgabios missing link Creating vgabios's missing link in /usr/share/qemu requires sudo. Change-Id: I34dbd55facbccf361d94fa8341e99b76d5bf6276 Signed-off-by: Alexandru Avadanii --- patches/opnfv-fuel/0005-deploy-Allow-non-root-deploys.patch | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/patches/opnfv-fuel/0005-deploy-Allow-non-root-deploys.patch b/patches/opnfv-fuel/0005-deploy-Allow-non-root-deploys.patch index 3b50079f..1d86a17c 100644 --- a/patches/opnfv-fuel/0005-deploy-Allow-non-root-deploys.patch +++ b/patches/opnfv-fuel/0005-deploy-Allow-non-root-deploys.patch @@ -4,11 +4,11 @@ Subject: [PATCH] deploy: Allow non-root deploys Signed-off-by: Alexandru Avadanii --- - ci/deploy.sh | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) + ci/deploy.sh | 12 ++++++------ + 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ci/deploy.sh b/ci/deploy.sh -index aec8048..c1ec31b 100755 +index aec8048..d676b76 100755 --- a/ci/deploy.sh +++ b/ci/deploy.sh @@ -87,7 +87,7 @@ $(notify "Disabled input parameters (not yet supported with MCP):" 3) @@ -38,8 +38,9 @@ index aec8048..c1ec31b 100755 -[ -n "$(command -v apt-get)" ] && apt-get install -y \ +[ -n "$(command -v apt-get)" ] && sudo apt-get install -y \ git make rsync mkisofs curl virtinst cpu-checker qemu-kvm vgabios && \ - ln -sf /usr/share/vgabios/vgabios.bin /usr/share/qemu/vgabios-stdvga.bin +- ln -sf /usr/share/vgabios/vgabios.bin /usr/share/qemu/vgabios-stdvga.bin -[ -n "$(command -v yum)" ] && yum install -y \ ++ sudo ln -sf /usr/share/vgabios/vgabios.bin /usr/share/qemu/vgabios-stdvga.bin +[ -n "$(command -v yum)" ] && sudo yum install -y \ git make rsync genisoimage curl virt-install qemu-kvm vgabios -- 2.16.6