|
|
@ -259,9 +259,6 @@ EOF
|
|
|
|
apt-get -y --purge autoremove"
|
|
|
|
apt-get -y --purge autoremove"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
# remove crufty files that shouldn't be left in an image
|
|
|
|
|
|
|
|
rm -f chroot/var/cache/debconf/*-old chroot/var/lib/dpkg/*-old
|
|
|
|
|
|
|
|
Chroot chroot apt clean
|
|
|
|
|
|
|
|
if [ "${PROJECT}:${SUBPROJECT:-}" = "ubuntu-base:minimized" ]; then
|
|
|
|
if [ "${PROJECT}:${SUBPROJECT:-}" = "ubuntu-base:minimized" ]; then
|
|
|
|
# Save even more size by removing apt lists (that are currently removed
|
|
|
|
# Save even more size by removing apt lists (that are currently removed
|
|
|
|
# downstream anyway)
|
|
|
|
# downstream anyway)
|
|
|
@ -452,6 +449,10 @@ EOF
|
|
|
|
|
|
|
|
|
|
|
|
/usr/share/livecd-rootfs/minimize-manual chroot
|
|
|
|
/usr/share/livecd-rootfs/minimize-manual chroot
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# remove crufty files that shouldn't be left in an image
|
|
|
|
|
|
|
|
rm -f chroot/var/cache/debconf/*-old chroot/var/lib/dpkg/*-old
|
|
|
|
|
|
|
|
Chroot chroot apt clean
|
|
|
|
|
|
|
|
|
|
|
|
lb binary "$@"
|
|
|
|
lb binary "$@"
|
|
|
|
touch binary.success
|
|
|
|
touch binary.success
|
|
|
|
) 2>&1 | tee binary.log
|
|
|
|
) 2>&1 | tee binary.log
|
|
|
|