testing: Don't attempt to stop services when building base image

Unlike `apt-get install` in a chroot debootstrap does not seem to start
the services but stopping them might cause problems if they were running
outside the chroot.
This commit is contained in:
Tobias Brunner 2015-11-20 17:42:55 +01:00
parent e0c59faa68
commit c857621e70

View File

@ -77,8 +77,6 @@ do_on_exit graceful_umount $LOOPDIR/proc
for service in $SERVICES
do
log_action "Stopping service $service"
execute_chroot "/etc/init.d/$service stop"
log_action "Disabling service $service"
execute_chroot "update-rc.d -f $service remove"
done