Fix pacman v7.1.0 sandbox config

This commit is contained in:
Justin Kromlinger 2025-12-14 18:46:41 +01:00
parent 7bdde954b0
commit 60e4a6c9bb
No known key found for this signature in database
GPG Key ID: 69EF6D9E49A64EB8

View File

@ -18,9 +18,9 @@ cat pacman-conf.d-noextract.conf >> "$BUILDDIR/etc/pacman.conf"
sed 's/Include = /&rootfs/g' < "$BUILDDIR/etc/pacman.conf" > pacman.conf
sed -i '/#DisableSandbox/{c\
sed -i '/#DisableSandboxFilesystem/{c\
# No kernel landlock in containerd\
DisableSandbox
DisableSandboxFilesystem
}' "$BUILDDIR/etc/pacman.conf"
cp --recursive --preserve=timestamps rootfs/* "$BUILDDIR/"