Fix duplicate deconfiguration of apt, upstart, and sysv-rc if build-with-chroot is false (Closes: #627406).

This commit is contained in:
Colin Watson 2011-05-21 10:50:09 +02:00 committed by Daniel Baumann
parent 26ad091b3e
commit 3f36f6ba4b
1 changed files with 3 additions and 3 deletions

View File

@ -93,15 +93,15 @@ if [ "${LB_BUILD_WITH_CHROOT}" = "true" ]
then
# Deconfiguring chroot
rm -f .stage/chroot_sources
lb chroot_apt remove ${*}
lb chroot_upstart remove ${*}
lb chroot_sysv-rc remove ${*}
lb chroot_hostname remove ${*}
lb chroot_resolv remove ${*}
lb chroot_hosts remove ${*}
fi
lb chroot_apt remove ${*}
lb chroot_sysv-rc remove ${*}
lb chroot_sysfs remove ${*}
lb chroot_upstart remove ${*}
lb chroot_selinuxfs remove ${*}
lb chroot_proc remove ${*}
lb chroot_devpts remove ${*}