Repository navigation
Conversation
[Medium impact] The PR appears safe to merge; no actionable issues were found. SummarySerbian Latin now follows the existing US unlock policy for legacy Plymouth pre-built UKIs.
No actionable issues found. Tests were not run during this review. Reviews (1) · Last reviewed commit: "Keep Serbian Latin on US in legacy pre-b..." · Reviewed by Greptile |
Install test passed
OS boots sum Install phases, x86_64
3 phases under 0.05 s on both branches omitted. Install phases, x86_64 (encrypted)
3 phases under 0.05 s on both branches omitted. Install phases, aarch64
2 phases under 0.05 s on both branches omitted. |
|
Closing: keeping |
Problem
vconsole_is_nonlatinexempted Serbian Latin (XKBLAYOUT=rs,XKBVARIANT=latin), whileomarchy_hooks.conf,omarchy_vconsole.conf,default/splash/layouts, andkmscon.shonquattro(#20404) all include everyrsvariant in the US-prompt list. On a legacy Plymouth image, the installer and rebuilt initramfs both start in US while the pre-built UKI embedsrs(latin)(QWERTZ, swappingy/zand remapping punctuation), locking out encrypted Serbian installs.Confirmed bare-metal on an encrypted
sr-latininstall where physical US keysomarchyz/1enrolledomarchzy-1underrs(latin)and were rejected (cryptsetup --test-passphrase, rc=2) against a US-first unlock prompt.Fix
Remove the
rs+latin*exemption and its now-unusedXKBVARIANTparsing fromvconsole_is_nonlatininuki_vconsole.py, and update the legacy Plymouth log lines inphases_impl.pyso they accurately describe the US unlock layout.Making
rs(latin)native everywhere instead was ruled out becauseomarchy_hooks.confandomarchy_vconsole.confhave excludedrssince #6229; switching them to bundlers(latin)would silently flip existing encrypted Serbian installs from QWERTY to QWERTZ on their next kernel update.Scope and risk
Only legacy Plymouth pre-built UKI handling (
vconsole_is_nonlatinand its log lines infinalize_limine_boot) changes. Splash images onquattrouse_splash_layout_matchesand are unaffected. All Latin layouts outsideNON_LATIN_LAYOUTSstay unchanged; Serbian Latin installs now reuse a US-baked pre-built UKI without rebuilding.Evidence
python3 -m unittest discover -s test/unit -p 'test_uki_vconsole.py'— failed red onsr-latinbefore the fix, 15 tests green after.python3 -m unittest discover -s test/unit -p 'test_prebuilt_uki_keymap.py'— failed red onsr-latinbefore the fix, 18 tests green after.python3 -m unittest discover -s test/unit— 856 tests OK.