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:
@@ -77,8 +77,6 @@ do_on_exit graceful_umount $LOOPDIR/proc
|
|||||||
|
|
||||||
for service in $SERVICES
|
for service in $SERVICES
|
||||||
do
|
do
|
||||||
log_action "Stopping service $service"
|
|
||||||
execute_chroot "/etc/init.d/$service stop"
|
|
||||||
log_action "Disabling service $service"
|
log_action "Disabling service $service"
|
||||||
execute_chroot "update-rc.d -f $service remove"
|
execute_chroot "update-rc.d -f $service remove"
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user