diff --git a/mantle/platform/qemu.go b/mantle/platform/qemu.go index a9841597c9..55bd5f1382 100644 --- a/mantle/platform/qemu.go +++ b/mantle/platform/qemu.go @@ -1626,6 +1626,8 @@ func createVirtiofsCmd(directory, socketPath string) exec.Cmd { // We don't need seccomp filtering; we trust our workloads. This incidentally // works around issues like https://gitlab.com/virtio-fs/virtiofsd/-/merge_requests/200. args = append(args, "--seccomp=none") + // OSTree composes use xattrs + args = append(args, "--xattr") cmd := exec.Command("/usr/libexec/virtiofsd", args...) // This sets things up so that the `.` we passed in the arguments is the target directory cmd.Dir = directory diff --git a/src/cmdlib.sh b/src/cmdlib.sh index 8d28610ef5..3cbad3e06b 100755 --- a/src/cmdlib.sh +++ b/src/cmdlib.sh @@ -563,7 +563,7 @@ runcompose_tree() { (umask 0022 && sudo -E "$@") sudo chown -R -h "${USER}":"${USER}" "${tmprepo}" else - runvm_with_cache -- "$@" --repo "${repo}" --write-composejson-to "${composejson}" + runvm -- "$@" --repo "${repo}" --write-composejson-to "${composejson}" fi } @@ -587,7 +587,7 @@ runcompose_extensions() { (umask 0022 && sudo -E "$@") sudo chown -R -h "${USER}":"${USER}" "${outputdir}" else - runvm_with_cache -- "$@" + runvm -- "$@" fi }