Completing the restoring of the outer chroot when building in chrooted to not taint subsequent rebuilds of the binary stage with leftovers from the initial lb_binary_rootfs (Closes: #620953).

This commit is contained in:
Daniel Baumann 2011-09-07 14:48:25 +02:00
parent dfaa4a67b5
commit ed5212022c
1 changed files with 4 additions and 2 deletions

View File

@ -94,11 +94,13 @@ then
# Deconfiguring chroot
rm -f .stage/chroot_archives
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 ${*}
lb chroot_upstart remove ${*}
lb chroot_sysv-rc remove ${*}
lb chroot_dpkg remove ${*}
lb chroot_debianchroot remove ${*}
fi
lb chroot_sysfs remove ${*}