mirror of
https://github.com/strongswan/strongswan.git
synced 2025-12-07 00:00:13 -05:00
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:
parent
e0c59faa68
commit
c857621e70
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user