From 7bdde954b0e096cd16f488d38ae69035783e5862 Mon Sep 17 00:00:00 2001 From: Justin Kromlinger Date: Sat, 13 Dec 2025 18:37:22 +0100 Subject: [PATCH] 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 --- scripts/make-rootfs.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/make-rootfs.sh b/scripts/make-rootfs.sh index a92bd71..2bfc8a2 100755 --- a/scripts/make-rootfs.sh +++ b/scripts/make-rootfs.sh @@ -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 \