|
|
@ -138,7 +138,7 @@ setup_mountpoint() {
|
|
|
|
# cgroup2 mount for LP: 1944004
|
|
|
|
# cgroup2 mount for LP: 1944004
|
|
|
|
mount -t cgroup2 none "$mountpoint/sys/fs/cgroup"
|
|
|
|
mount -t cgroup2 none "$mountpoint/sys/fs/cgroup"
|
|
|
|
mount -t tmpfs none "$mountpoint/tmp"
|
|
|
|
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"
|
|
|
|
mount -t tmpfs none "$mountpoint/var/cache/apt"
|
|
|
|
mv "$mountpoint/etc/resolv.conf" resolv.conf.tmp
|
|
|
|
mv "$mountpoint/etc/resolv.conf" resolv.conf.tmp
|
|
|
|
cp /etc/resolv.conf "$mountpoint/etc/resolv.conf"
|
|
|
|
cp /etc/resolv.conf "$mountpoint/etc/resolv.conf"
|
|
|
|