[neon/neon/livecd-rootfs/Neon/release] /: Terrible workaround
Łukasz 'sil2100' Zemczak
null at kde.org
Wed Mar 1 10:57:29 GMT 2023
Git commit 5b99af28d06f7e85679056e505dc2e83f4736146 by Łukasz 'sil2100' Zemczak.
Committed on 22/02/2023 at 22:59.
Pushed by jriddell into branch 'Neon/release'.
Terrible workaround
M +7 -0 debian/changelog
M +12 -0 live-build/auto/build
https://invent.kde.org/neon/neon/livecd-rootfs/commit/5b99af28d06f7e85679056e505dc2e83f4736146
diff --git a/debian/changelog b/debian/changelog
index 0b2458be..67f4c79c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -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 at 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).
diff --git a/live-build/auto/build b/live-build/auto/build
index 4e385a50..ae2f0b4f 100755
--- a/live-build/auto/build
+++ b/live-build/auto/build
@@ -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
More information about the Neon-commits
mailing list