Builds in LP with the Xenial kernel were happy with the recursive mount of /sys inside the chroot while performing snap-preseeding but autopkgtests with the groovy kernel failed. With the groovy kernel the build was unable to unmount sys/kernel/slab/*/cgroup/* (Operation not permitted). This patch mounts /sys and /sys/kernel/security in the chroot in the same way we've added for binary hooks. This provides the paths under /sys needed for snap-preseed while avoiding issues unmounting other paths.raspi-desktop-1
parent
b22d7dc38c
commit
84397b5098
Loading…
Reference in new issue