mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-05-16 13:21:33 +00:00
Backport hack from jammy for fixing offline installs.
This commit is contained in:
parent
0c08fc269d
commit
9d18e5d2e3
7
debian/changelog
vendored
7
debian/changelog
vendored
@ -1,3 +1,10 @@
|
|||||||
|
livecd-rootfs (2.664.46) UNRELEASED; urgency=medium
|
||||||
|
|
||||||
|
* Terrible hack workaround for clearing out the non-offline apt cache for
|
||||||
|
desktop related images. Backported from jammy.
|
||||||
|
|
||||||
|
-- Łukasz 'sil2100' Zemczak <lukasz.zemczak@ubuntu.com> Thu, 16 Mar 2023 14:03:18 +0100
|
||||||
|
|
||||||
livecd-rootfs (2.664.45) focal; urgency=medium
|
livecd-rootfs (2.664.45) focal; urgency=medium
|
||||||
|
|
||||||
[ Samir Akarioh ]
|
[ Samir Akarioh ]
|
||||||
|
@ -478,6 +478,18 @@ EOF
|
|||||||
clean_debian_chroot
|
clean_debian_chroot
|
||||||
fi
|
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|ubuntustudio)
|
||||||
|
rm -f chroot/var/lib/apt/lists/*ubuntu.com*_Packages
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
if [ -n "${PASSES}" ]; then
|
if [ -n "${PASSES}" ]; then
|
||||||
PATH="config/:$PATH" lb binary_layered "$@"
|
PATH="config/:$PATH" lb binary_layered "$@"
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user