Merge bugfix/ubuntu-cpc-LP-2036195-auto-installed-packages-bionic into ubuntu/bionic [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/454067
ubuntu/bionic
Philip Roche 1 year ago
commit b47b1b47be

9
debian/changelog vendored

@ -1,3 +1,12 @@
livecd-rootfs (2.525.62) bionic; 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:20:20 +0100
livecd-rootfs (2.525.61) bionic; urgency=medium
[ Samir Akarioh ]

@ -95,7 +95,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"
mv "$mountpoint/etc/resolv.conf" resolv.conf.tmp
cp /etc/resolv.conf "$mountpoint/etc/resolv.conf"

Loading…
Cancel
Save