Fix fakechroot build with pacman v7.1.0

Every `pacman -Sy*` call executed with fakeroot will fail with the new pacman release.
Until we have an alternative we need to add `--disable-sandbox-filesystem`.

See https://gitlab.archlinux.org/archlinux/archlinux-wsl/-/merge_requests/77
This commit is contained in:
Justin Kromlinger 2025-12-13 18:37:22 +01:00
parent d886fb482e
commit 7bdde954b0
No known key found for this signature in database
GPG Key ID: 69EF6D9E49A64EB8

View File

@ -28,6 +28,7 @@ ln -fs /usr/lib/os-release "$BUILDDIR/etc/os-release"
$WRAPPER -- \
pacman -Sy -r "$BUILDDIR" \
--disable-sandbox-filesystem \
--noconfirm --dbpath "$BUILDDIR/var/lib/pacman" \
--config pacman.conf \
--noscriptlet \