Merge bugfix/ubuntu-cpc-LP-2036195-auto-installed-packages-xenial into ubuntu/xenial [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.

MP: https://code.launchpad.net/~philroche/livecd-rootfs/+git/livecd-rootfs/+merge/454068
ubuntu/xenial
Philip Roche 1 year ago
commit 41ecdf5c74

9
debian/changelog vendored

@ -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 <phil.roche@canonical.com> Thu, 19 Oct 2023 18:26:20 +0100
livecd-rootfs (2.408.68) xenial; urgency=medium
[ Gauthier Jolly ]

@ -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

Loading…
Cancel
Save