skip restart services when building image

This commit is contained in:
HgO 2023-08-26 14:38:27 +02:00
parent dfdb4ee2a5
commit cdcfb91ea5
3 changed files with 12 additions and 3 deletions

View file

@ -109,7 +109,10 @@ function main()
step register_debconf || die "Unable to insert new values into debconf database"
step workarounds_because_sysadmin_sucks || die "Unable to run stupid workarounds"
step install_yunohost_packages || die "Installation of Yunohost packages failed"
step restart_services || die "Error caught during services restart"
if [[ "$BUILD_IMAGE" == "0" ]] ; then
step restart_services || die "Error caught during services restart"
fi
if is_raspbian ; then
step del_user_pi || die "Unable to delete user pi"

View file

@ -109,7 +109,10 @@ function main()
step register_debconf || die "Unable to insert new values into debconf database"
step workarounds_because_sysadmin_sucks || die "Unable to run stupid workarounds"
step install_yunohost_packages || die "Installation of Yunohost packages failed"
step restart_services || die "Error caught during services restart"
if [[ "$BUILD_IMAGE" == "0" ]] ; then
step restart_services || die "Error caught during services restart"
fi
if is_raspbian ; then
step del_user_pi || die "Unable to delete user pi"

5
buster
View file

@ -109,7 +109,10 @@ function main()
step register_debconf || die "Unable to insert new values into debconf database"
step workarounds_because_sysadmin_sucks || die "Unable to run stupid workarounds"
step install_yunohost_packages || die "Installation of Yunohost packages failed"
step restart_services || die "Error caught during services restart"
if [[ "$BUILD_IMAGE" == "0" ]] ; then
step restart_services || die "Error caught during services restart"
fi
if is_raspbian ; then
step del_user_pi || die "Unable to delete user pi"