Build changes for Arm64 to produce binaries that will run on Linux on a Chromebook (2026)#2933
Open
chrismaeda wants to merge 1 commit into
Open
Build changes for Arm64 to produce binaries that will run on Linux on a Chromebook (2026)#2933chrismaeda wants to merge 1 commit into
chrismaeda wants to merge 1 commit into
Conversation
…book. - Build machine: EC2 Arm64 (t4g instance type) + Ubuntu 24 - Chromebook: ASUS CM1402FM2 + ChromeOS 149 + Linux Penguin 6.6 Tests: - Build on EC2 Arm64 VM (using steps in scripts/package.sh) - SFTP AppImage to Linux on Chromebook - Install libnss3 on Chromebook - Run AppImage, Connect ESP32 board (delegate USB to Linux), Upload Sketch
a980c95 to
7ab2fd6
Compare
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.
Tests:
Motivation
Enable Arduino IDE Linux builds for Arm64 systems; in particular Chromebook Linux environments running on Arm64 hardware.
Note that Arm64 Chromebook is the standard hardware platform for K-12 education.
Change description
Updated the Electron packaging flow to support Linux Arm64 AppImage and ZIP generation. The packaging script now prepares the required Linux packaging tools, ensures app-builder-bin is executable, adds the bundled 7zip binary to PATH, and forces maximum compression so AppImage creation uses a compression format supported by the Arm64 mksquashfs payload.
Added workspace dependency linking before packaging so electron-builder can correctly validate dependencies when Yarn workspaces have linked or hoisted packages outside the Electron app directory. This includes linking the local arduino-ide-extension workspace package and creating package-local links for hoisted production dependencies discovered by app-builder-bin.
Added a prebuild helper for the Electron app that builds arduino-ide-extension when the expected compiled extension entry point is missing, ensuring the Electron build has the extension artifacts it needs. Also pinned app-builder-bin through the root package resolutions to keep packaging behavior consistent.
Other information
The Linux-specific packaging changes are gated to Linux builds. The dependency-linking and extension prebuild safeguards run across platforms to keep workspace packaging consistent, so the primary compatibility risk is symlink behavior on Windows; existing CI should validate that path.
Reviewer checklist