Skip to content

Build Snapdragon boot images with systemd-stub-omarchy, whose header holds every device tree - #19139

Merged
birkskyum merged 2 commits into
omacom:quattrofrom
birkskyum:qualcomm-uki-stub
Nov 16, 2026
Merged

birkskyum merged 2 commits into
omacom:quattrofrom
birkskyum:qualcomm-uki-stub

Conversation

@birkskyum

@birkskyum birkskyum commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Since linux-omarchy-dtbs 7.3-42 an installed Snapdragon machine's boot image lists 125 trees as DeviceTreeAuto, one PE section each, and Arch Linux ARM's systemd stub has header room for about 119, so ukify stops with "Not enough header space" on the next boot image build. omacom/omarchy-pkgs#2912 adds systemd-stub-omarchy, the same systemd release's stub with room for 1024 sections.

  • install/omarchy-aarch64-qualcomm.packages installs it on Snapdragon machines.
  • omarchy-update-qualcomm-device-trees writes Stub=/usr/lib/systemd-stub-omarchy/linuxaa64.efi.stub into its managed [UKI] block when the stub is installed, and leaves systemd's own otherwise.
  • A migration installs it on existing Snapdragon installs whose uki.conf has that block and rebuilds the boot image, since the last kernel update's build may have failed. It records the rebuild as owed first, so a retry still rebuilds.

snapdragon-hardware-test.sh checks the block names the stub when it is installed and not otherwise; the new case fails on the current command and passes in an Arch Linux ARM container. omacom/omarchy-pkgs#2912 is live. omacom/omarchy-pkgs#2913 makes linux-omarchy-dtbs depend on the stub, so it arrives with the trees in the package update, before any migration rebuilds the image; merge that first.

@greptile-apps

greptile-apps Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge after the stated companion dependency change lands.

Summary

Snapdragon boot images use systemd-stub-omarchy when installed, giving their device trees more header space.

  • Snapdragon boot images use a stub that fits every device tree.

Reviews (2) · Last reviewed commit: "Run the Snapdragon test without the inst..." · Reviewed by Greptile

Comment thread migrations/1794844505.sh Resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant