Repository navigation
Backport the N1x rescue entry removal to 4.5.1 - #467
Merged
Merged
Conversation
Omarchy drops the N1x fallback UKI that served as the rescue entry (omacom/omarchy#18913): its every-module initramfs took about a minute on every install and kernel update, and release firmware boots the GPU. Boot validation still checks every N1x kernel entry for console=tty0 and acpi=nospcr, but no longer fails an install without the rescue entry. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> (cherry picked from commit 0d5736c)
The comment above the pre-built UKI choice still said validate_boot checks a fallback UKI as the N1x rescue entry. The backported #440 dropped that check, so validation now covers only the console on the panel in every entry. Comment only.
[Medium impact] This backport appears safe to merge. SummaryThis backport lets N1x installs pass boot checks without an installed rescue entry.
Acknowledged intent: emirb explicitly states that removing the rescue-entry requirement and its text-login checks is intentional because newer Omarchy versions no longer create that entry. Reviews (1) · Last reviewed commit: "Stop saying boot validation checks the N..." · Reviewed by Greptile |
Install test failure
Boots are loader, kernel and userspace, without the VM's firmware. Install phases, aarch64
|
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.
Problem
Every pull request into
v4-5-1fails itsaarch64: install it as an N1xjob. A pull request builds its aarch64 ISO from the edge channel, which installsomarchy-devfromquattro. Since omacom/omarchy#18913, that Omarchy no longer makes the N1x rescue entry, and this branch's installer still requires it:#464 failed this way today.
Fix
This backports #440 and #446 from
quattro, unchanged, with their author kept, and fixes one more comment:console=tty0andacpi=nospcr.N1X_REQUIRED_CMDLINEto match.quattrorewrote that comment in Pre-build an N1x UKI in the aarch64 image #442, which does not come to 4.5.1.Building aarch64 pull requests on this branch from rc instead was ruled out. The check would still fail any 4.5.1 ISO that installs an Omarchy without the entry.
Scope and risk
Only boot validation on an N1x changes, in
_validate_platform_boot_entries. An install that still makes the rescue entry, such as one of Omarchy 4.5.0, passes as before. The installer itself and every other platform are unchanged. To undo it, revert the three commits.Evidence
test_n1x_platform.pynow validates an N1x config without the rescue entry, a case that fails on the currentv4-5-1../test/all, run the wayunit-test.ymlruns it, passes. This pull request's ownaarch64: install it as an N1xjob is the end-to-end test: it installs today's edge Omarchy on an emulated N1x and boots it.Refs #440, #464