|
|
|
@ -99,6 +99,8 @@ setup_mountpoint() {
|
|
|
|
|
mount proc-live -t proc "$mountpoint/proc"
|
|
|
|
|
mount sysfs-live -t sysfs "$mountpoint/sys"
|
|
|
|
|
mount securityfs -t securityfs "$mountpoint/sys/kernel/security"
|
|
|
|
|
# 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 -t tmpfs none "$mountpoint/tmp"
|
|
|
|
|
mount -t tmpfs none "$mountpoint/var/lib/apt"
|
|
|
|
|
mount -t tmpfs none "$mountpoint/var/cache/apt"
|
|
|
|
|