From 1f797fefe33e7232b17eab986cfe1512df0a286e Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Thu, 8 Mar 2018 18:49:10 +0100 Subject: [PATCH] Do not run the rpi-update step if we're building images --- install_yunohost | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/install_yunohost b/install_yunohost index 6cde7fb..754aa43 100755 --- a/install_yunohost +++ b/install_yunohost @@ -238,9 +238,10 @@ function upgrade_system() { -y --force-yes install rpi-update \ || return 3 - rpi-update >> $YUNOHOST_LOG 2>&1 \ - || return 4 - + if [[ "$BUILD_IMAGE" != "1" ]] ; then + rpi-update >> $YUNOHOST_LOG 2>&1 \ + || return 4 + fi fi }