From 1deccc2edd7f139b84a6cb3d0a4dfe5ebaff50c7 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. --- debian/changelog | 8 ++++++++ live-build/functions | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 0732ef1d..0c50a495 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +livecd-rootfs (23.10.38) UNRELEASED; urgency=medium + + * 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. + + -- Steve Langasek Sat, 16 Sep 2023 17:25:22 -0700 + livecd-rootfs (23.10.37) mantic; urgency=medium * fix: ensure minimize-manual script uses passed in argument for all commands (LP: #2036198) diff --git a/live-build/functions b/live-build/functions index 84e062c9..b9ac85ec 100644 --- a/live-build/functions +++ b/live-build/functions @@ -138,7 +138,7 @@ setup_mountpoint() { # cgroup2 mount for LP: 1944004 mount -t cgroup2 none "$mountpoint/sys/fs/cgroup" 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" mv "$mountpoint/etc/resolv.conf" resolv.conf.tmp cp /etc/resolv.conf "$mountpoint/etc/resolv.conf"