|
|
|
@ -482,6 +482,18 @@ EOF
|
|
|
|
|
clean_debian_chroot
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
# XXX: Terrible last-minute hack to work-around issue LP: #2008082 !
|
|
|
|
|
# This basically needs to be done better, we simply need to make sure
|
|
|
|
|
# that we don't update the cache after lb cleans up. Since identifying
|
|
|
|
|
# that might take a moment, for now, for flavors that are generally
|
|
|
|
|
# affected by this, we manually clear out the archive-related Packages
|
|
|
|
|
# files in the cache.
|
|
|
|
|
case $PROJECT; in
|
|
|
|
|
ubuntu|xubuntu|kubuntu|ubuntu-budgie|ubuntukylin|ubuntu-mate)
|
|
|
|
|
rm -f /var/lib/apt/lists/*ubuntu.com*_Packages
|
|
|
|
|
;;
|
|
|
|
|
esac
|
|
|
|
|
|
|
|
|
|
if [ -n "${PASSES}" ]; then
|
|
|
|
|
PATH="config/:$PATH" lb binary_layered "$@"
|
|
|
|
|
else
|
|
|
|
|