mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-02-10 12:47:30 +00:00
live-build/ubuntu-cpc/functions: call apt-get update in the chroot
after mounting a blank /var/lib/apt, so that further operations work as expected.
This commit is contained in:
parent
b81173b1b5
commit
11a92795fe
8
debian/changelog
vendored
8
debian/changelog
vendored
@ -1,3 +1,11 @@
|
||||
livecd-rootfs (2.408.16) UNRELEASED; urgency=medium
|
||||
|
||||
* live-build/ubuntu-cpc/functions: call apt-get update in the chroot
|
||||
after mounting a blank /var/lib/apt, so that further operations work
|
||||
as expected.
|
||||
|
||||
-- Steve Langasek <steve.langasek@ubuntu.com> Tue, 12 Sep 2017 13:24:27 -0700
|
||||
|
||||
livecd-rootfs (2.408.15) xenial; urgency=medium
|
||||
|
||||
[ Mathieu Trudel-Lapierre ]
|
||||
|
@ -90,6 +90,7 @@ setup_mountpoint() {
|
||||
mount -t tmpfs none "$mountpoint/var/cache/apt"
|
||||
mv "$mountpoint/etc/resolv.conf" resolv.conf.tmp
|
||||
cp /etc/resolv.conf "$mountpoint/etc/resolv.conf"
|
||||
chroot "$mountpoint" apt-get update
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user