Imported 2.741

No reason for CPC update specified.
impish
CloudBuilder 3 years ago
parent f15ab7433b
commit 4e5e3f3f7a

7
debian/changelog vendored

@ -1,3 +1,10 @@
livecd-rootfs (2.741) impish; urgency=medium
[ John Chittum ]
* mount cgroup2 type for snapd LP:#1944004
-- Steve Langasek <steve.langasek@ubuntu.com> Wed, 29 Sep 2021 11:25:24 -0700
livecd-rootfs (2.740) impish; urgency=medium livecd-rootfs (2.740) impish; urgency=medium
[ Thomas Bechtold ] [ Thomas Bechtold ]

@ -138,6 +138,8 @@ setup_mountpoint() {
# Provide more up to date apparmor features, matching target kernel # Provide more up to date apparmor features, matching target kernel
mount -o bind /usr/share/livecd-rootfs/live-build/apparmor/generic "$mountpoint/sys/kernel/security/apparmor/features/" mount -o bind /usr/share/livecd-rootfs/live-build/apparmor/generic "$mountpoint/sys/kernel/security/apparmor/features/"
mount -o bind /usr/share/livecd-rootfs/live-build/seccomp/generic.actions_avail "$mountpoint/proc/sys/kernel/seccomp/actions_avail" mount -o bind /usr/share/livecd-rootfs/live-build/seccomp/generic.actions_avail "$mountpoint/proc/sys/kernel/seccomp/actions_avail"
# cgroup2 mount for LP: 1944004
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"
mount -t tmpfs none "$mountpoint/var/cache/apt" mount -t tmpfs none "$mountpoint/var/cache/apt"

Loading…
Cancel
Save