Build cursor-bin for aarch64 using the vendor Debian package - #449
Open
scottjones wants to merge 2 commits into
Open
scottjones wants to merge 2 commits into
scottjones wants to merge 2 commits into
Conversation
scottjones
marked this pull request as ready for review
September 15, 2026 13:30
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds aarch64 support to
cursor-binusing Cursor's official ARM Debian package. Both architectures use the same extraction flow; x86_64 continues to use system Electron, while ARM retains the vendor's bundled Electron and native helpers becauseelectron42is unavailable in Arch Linux ARM.The ARM package keeps the vendor launcher, desktop entries and icon at their original paths. Packaging adds the CLI symlink and moves zsh completions to Arch's directory. Architecture-specific dependencies cover the bundled runtime. Debian AppArmor/sysctl settings are excluded from the ARM payload, and
chrome-sandboxis installed as 0755 to use the unprivileged namespace sandbox.Validation
OMARCHY_SKIP_BUILDER_IMAGE=1 bin/build --arch aarch64 --package cursor-bin, with a fresh package container from the existing upstream builder image. The pinned ARM Debian archive's SHA-512 passed.desktop-file-validatewith vendor category hints only.--nodeps. All 20,608 payload entries match the previous x86 package in contents, modes, ownership and symlink targets; its dependency set is unchanged. This is packaging validation, not native x86 runtime testing.lddreports no missing libraries,cursor --versionreports 3.20.21 / arm64, and the bundled Node reports v24.18.1.--no-sandboxonly in the test invocation. The packaged launchers do not disable sandboxing. Normal desktop sandboxing, GPU/Wayland rendering, authentication, editing and migration from manually installed files remain untested here.git diff --checkpassed.Related: #370 (updater policy).