Merge bugfix/ubuntu-cpc-LP-2036195-auto-installed-packages-lunar into ubuntu/lunar [a=philroche] [r=andrew-cloke,vorlon]

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 1deccc2edd)

MP: https://code.launchpad.net/~philroche/livecd-rootfs/+git/livecd-rootfs/+merge/454058
ubuntu/lunar
Philip Roche 1 year ago
commit df428ae77a

9
debian/changelog vendored

@ -1,3 +1,12 @@
livecd-rootfs (2.828.2) lunar; 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 <phil.roche@canonical.com> Thu, 19 Oct 2023 17:30:20 +0100
livecd-rootfs (2.828.1) lunar; urgency=medium
* Fix unminimize to correctly list packages. (LP: #1996489)

@ -143,7 +143,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"

Loading…
Cancel
Save