Terrible workaround

quick-hack-for-apt-cache
Łukasz 'sil2100' Zemczak 2 years ago
parent 19fdc77c2f
commit 5b99af28d0

7
debian/changelog vendored

@ -1,3 +1,10 @@
livecd-rootfs (2.765.18) UNRELEASED; urgency=medium
* Terrible hack workaround for clearing out the non-offline apt cache for
desktop related images.
-- Łukasz 'sil2100' Zemczak <lukasz.zemczak@ubuntu.com> Wed, 22 Feb 2023 23:57:38 +0100
livecd-rootfs (2.765.17) jammy; urgency=medium
* Do not offer the hwe kernel for RISC-V server-live images (LP: #2007863).

@ -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

Loading…
Cancel
Save