Repository navigation
Pre-build Snapdragon UKI and include linux-omarchy-v4l2loopback on aarch64 - #588
Merged
Merged
Conversation
…rch64 - On --snapdragon builds, pre-build prebuilt-uki-qualcomm.efi with systemd-stub-omarchy, all Snapdragon DeviceTreeAuto DTBs, loadable Qualcomm early modules (excluding qcom_q6v5_pas), and Adreno X1/X2 microcode, and deploy it in finalize_limine_boot() when the installed board matches its HWID/module/file/hook gates (saving ~6.5s). - Stop excluding linux-omarchy-v4l2loopback in aarch64-package-filter.sh so aarch64 ISOs carry the prebuilt module in the offline mirror.
[Medium impact] The PR appears safe to merge, with no outstanding findings. SummaryPre-builds a Snapdragon UKI and lets supported installs copy it instead of rebuilding it.
Reviews (4) · Last reviewed commit: "Match bash readlink newline when hashing..." · Reviewed by Greptile |
Install test passed
Boots are loader, kernel and userspace, without the VM's firmware. Install phases, x86_64
Install phases, aarch64
|
outfoxxed
added a commit
that referenced
this pull request
Nov 28, 2026
This reverts commit 2f7cabf, keeping the layers comment a later commit reworded. The pre-built initramfs has no GPU drivers, and on an image with the boot splash no keyboard layout but US, so a password typed at install in a non-Latin layout could not be typed at the first boot's prompt. systemd-boot installs build their own on the machine again. _recorded_initramfs_inputs stays: the Snapdragon UKI (#588) reads its record with it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
outfoxxed
added a commit
that referenced
this pull request
Nov 28, 2026
This reverts commit 2f7cabf, keeping the layers comment a later commit reworded. The pre-built initramfs has no GPU drivers, and on an image with the boot splash no keyboard layout but US, so a password typed at install in a non-Latin layout could not be typed at the first boot's prompt. systemd-boot installs build their own on the machine again. _recorded_initramfs_inputs stays: the Snapdragon UKI (#588) reads its record with it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
outfoxxed
added a commit
that referenced
this pull request
Nov 28, 2026
This reverts commit 2f7cabf, keeping the layers comment a later commit reworded. The pre-built initramfs has no GPU drivers, and on an image with the boot splash no keyboard layout but US, so a password typed at install in a non-Latin layout could not be typed at the first boot's prompt. systemd-boot installs build their own on the machine again. _recorded_initramfs_inputs stays: the Snapdragon UKI (#588) reads its record with it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
outfoxxed
added a commit
that referenced
this pull request
Nov 28, 2026
This reverts commit 2f7cabf, keeping the layers comment a later commit reworded. The pre-built initramfs has no GPU drivers, and on an image with the boot splash no keyboard layout but US, so a password typed at install in a non-Latin layout could not be typed at the first boot's prompt. systemd-boot installs build their own on the machine again. _recorded_initramfs_inputs stays: the Snapdragon UKI (#588) reads its record with it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
outfoxxed
added a commit
that referenced
this pull request
Nov 28, 2026
This reverts commit 2f7cabf, keeping the layers comment a later commit reworded, and removes the parallel build of its initramfs that 61c8412 added. The pre-built initramfs has no GPU drivers, and on an image with the boot splash no keyboard layout but US, so a password typed at install in a non-Latin layout could not be typed at the first boot's prompt. systemd-boot installs build their own on the machine again. _recorded_initramfs_inputs stays: the Snapdragon UKI (#588) reads its record with it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
dhh
pushed a commit
that referenced
this pull request
Nov 28, 2026
* Install with greetd's login screen and Omarchy's boot splash configure_login points greetd's login screen at the install's user through the target's omarchy-system-login, with autologin on an encrypted install, in place of SDDM's state and autologin files. An image whose settings package carries the omarchy-splash hook gets no pre-built UKI: its systemd initramfs runs Plymouth, so every install builds the busybox initramfs the splash runs in, and shows the splash from its first boot. Nor does such an image ship omarchy-boot-systemd: the splash is untested with systemd-boot, so a build that would ship them together fails. prebuilt-uki-test.sh runs the pre-built UKI builds, in turn and in parallel, with and without the splash. Comments, docs and tests name the login screen and the splash where they named SDDM and Plymouth. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Log Try in with greetd and Omarchy's login screen The Try layer enables greetd and has omarchy-system-login log its user in at boot. After a logout the login screen asks for the user's empty password, and Enter logs back in. SDDM's Relogin goes, with the passwordless theme and the session wrapper that kept it working, and so does the udev settle drop-in: omarchy-system-wait-drm runs before greetd. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Revert "Boot systemd-boot installs from a pre-built initramfs (#529)" This reverts commit 2f7cabf, keeping the layers comment a later commit reworded, and removes the parallel build of its initramfs that 61c8412 added. The pre-built initramfs has no GPU drivers, and on an image with the boot splash no keyboard layout but US, so a password typed at install in a non-Latin layout could not be typed at the first boot's prompt. systemd-boot installs build their own on the machine again. _recorded_initramfs_inputs stays: the Snapdragon UKI (#588) reads its record with it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
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.
Summary
prebuilt-uki-qualcomm.efiduringOMARCHY_SNAPDRAGONISO builds usingsystemd-stub-omarchy, all SnapdragonDeviceTreeAutoDTBs, loadable Qualcomm modules (intentionally excludingqcom_q6v5_pasto keep USB-root installs safe), and Adreno X1/X2 microcode (gen70500,gen71500,gen80100)._qualcomm_prebuilt_uki()intofinalize_limine_boot()with strict fallback gates (Snapdragon platform, covered modules, no custom hooks beyondomarchy-quiet-efivars, noqcom-firmware.confor extra firmwareFILES, noqualcomm-adsp-nofw.conf, and a matching HWID JSON under/usr/lib/systemd/boot/hwids/aa64/) to skip the ~7.1slimine-mkinitcpiorebuild on supported Snapdragon laptops.linux-omarchy-v4l2loopbackfrom x86-only exclusions inbuilder/aarch64-package-filter.shso aarch64 ISOs ship the prebuilt module instead of compilingv4l2loopback-dkmsduring install.test/unit/test_qualcomm_prebuilt_uki.py.Related
Verification
bash -non modified shell scriptstest/unit/aarch64-build-test.shpytest test/unit/test_qualcomm_prebuilt_uki.py test/unit/test_n1x_platform.py test/unit/test_uki_cmdline.py test/unit/test_uki_vconsole.py test/unit/test_prebuilt_uki_keymap.py test/unit/test_prebuilt_uki_provisioning.py(78 passed)