From 959fa525084a8c071dda89a09bbe76677752a5d0 Mon Sep 17 00:00:00 2001 From: Spencer Bull Date: Thu, 10 Sep 2026 08:32:08 -0500 Subject: [PATCH] Keep every Cowork optdepend and shim x86_64-only virtiofsd sat in the common optdepends, so aarch64 still advertised one third of a Cowork stack the package deliberately promises nothing else of there. It joins qemu and the firmware in optdepends_x86_64, and the virtiofsd shim moves under the same branch, so an aarch64 package carries no Cowork pieces at all. Co-Authored-By: Claude Fable 5 Co-Authored-By: Codex XHigh --- pkgbuilds/claude-desktop/PKGBUILD | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgbuilds/claude-desktop/PKGBUILD b/pkgbuilds/claude-desktop/PKGBUILD index 810d106..a886c9b 100644 --- a/pkgbuilds/claude-desktop/PKGBUILD +++ b/pkgbuilds/claude-desktop/PKGBUILD @@ -36,14 +36,14 @@ optdepends=( 'gnome-keyring: store credentials in a system keyring' 'bubblewrap: Claude Code sandboxing' 'socat: Claude Code sandboxing' - 'virtiofsd: file sharing with the Cowork virtual machine' ) +# Cowork is x86_64-only here: Arch Linux ARM ships no UEFI firmware package, +# so on aarch64 the app's /usr/share/AAVMF probe has nothing to resolve to. optdepends_x86_64=( 'qemu-system-x86: run Cowork tasks in a local virtual machine' 'edk2-ovmf: UEFI firmware for the Cowork virtual machine' + 'virtiofsd: file sharing with the Cowork virtual machine' ) -# No Cowork optdepends on aarch64: Arch Linux ARM ships no UEFI firmware -# package, so the app's /usr/share/AAVMF probe has nothing to resolve to. makedepends=('libarchive') options=('!debug' '!strip') @@ -85,9 +85,9 @@ package() { # Cowork probes Debian's paths for its VM stack; map them onto Arch's. # The links dangle harmlessly until the matching optdepends are installed. - install -d "${pkgdir}/usr/libexec" - ln -s ../lib/virtiofsd "${pkgdir}/usr/libexec/virtiofsd" if [[ "${CARCH}" == x86_64 ]]; then + install -d "${pkgdir}/usr/libexec" + ln -s ../lib/virtiofsd "${pkgdir}/usr/libexec/virtiofsd" # The app derives the VARS path from the CODE path, so both need a link. install -d "${pkgdir}/usr/share/edk2" ln -s x64/OVMF_CODE.4m.fd "${pkgdir}/usr/share/edk2/OVMF_CODE_4M.fd"