From 6e9e7754b6cf7191692874ee25757e4afdf37ad4 Mon Sep 17 00:00:00 2001 From: Steve Langasek Date: Sat, 16 Sep 2023 17:27:45 -0700 Subject: [PATCH] The chroot tmpfs mount should only be /var/lib/apt/lists, not /var/lib/apt; the latter breaks changes to /var/lib/apt/extended_states. LP: #2036195. (cherry picked from commit 1deccc2edd7f139b84a6cb3d0a4dfe5ebaff50c7) # Conflicts: # debian/changelog --- debian/changelog | 9 +++++++++ live-build/functions | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index c4a4aa6c..ebdc42f7 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,12 @@ +livecd-rootfs (2.408.69) xenial; urgency=medium + + [Steve Langasek] + * The chroot tmpfs mount should only be /var/lib/apt/lists, not + /var/lib/apt; the latter breaks changes to /var/lib/apt/extended_states. + LP: #2036195. + + -- Phil Roche Thu, 19 Oct 2023 18:26:20 +0100 + livecd-rootfs (2.408.68) xenial; urgency=medium [ Gauthier Jolly ] diff --git a/live-build/functions b/live-build/functions index 7758667e..2c5d3ba6 100644 --- a/live-build/functions +++ b/live-build/functions @@ -106,7 +106,7 @@ setup_mountpoint() { mount proc-live -t proc "$mountpoint/proc" mount sysfs-live -t sysfs "$mountpoint/sys" mount -t tmpfs none "$mountpoint/tmp" - mount -t tmpfs none "$mountpoint/var/lib/apt" + mount -t tmpfs none "$mountpoint/var/lib/apt/lists" mount -t tmpfs none "$mountpoint/var/cache/apt" setup_resolvconf "${mountpoint}" chroot "$mountpoint" apt-get update