Repository navigation
Fix ARM Snapper dependency and first-run keyboard service packaging - #341
scottjones wants to merge 1 commit into
Conversation
|
Review and follow-up qualification on an M1 Mac, including a booted disposable ARM VM. The Snapper dependency and conditional keyboard-unit packaging changes look correct. I found two separate integration issues in the surrounding recipes that matter for the Mac rollout. A proposed fix has been implemented and tested locally; no source changes have been pushed. The remote PR head was rechecked before this comment and remains Exact revisions and test scope
1. Existing Mac boot policy is removed by the ARM payload exclusionThe installed Comparing the effective configuration before and after that removal shows loss of The local proposal keeps both historical paths owned and adds them to Real pacman tests confirmed an important older-package case: the old archives have no backup hashes for these files. With backup protection introduced by the new package, existing stock and customized contents survive and the new defaults are staged as The proposed ARM defaults extend the native hook arrays rather than replacing the encryption/storage stack: preserve custom hooks/modules/files, add missing Asahi/Plymouth support, place keyboard support before autodetect, and retain the console-file policy for Latin-capable layouts. Non-Asahi ARM is left with its native policy. Unsupported Asahi layouts or missing required hooks fail generation before mutating the arrays. Thunderbolt is added only if the selected kernel provides the module. This is scoped boot-file preservation, not a claim that every user setting is covered. 2. The integrated development recipe assumes a newer plocate source fileOn the newer base, The local proposal uses the same existence guard already present in the stable recipe. Older source trees keep their existing locate setup leaf; newer trees still package the drop-in. The complete stable/dev source matrix passes with that guard. Completed validation of the local proposal
The first scratch initramfs attempt under fakeroot emitted a fakeroot diagnostic; both baseline and candidate were rerun successfully without fakeroot. Common firmware/consolefont/ARM microcode warnings were checked against the baseline, rather than attributed to the proposal. VM policy and remaining acceptance limitsThe VM booted a private copy of the RC Btrfs image with a generic ARM kernel, KVM and systemd. It had no network interface and only private guest disks. Its frozen-RC guard initially refused the package transaction as designed. To test the local unsigned packages, I archived only the disposable guest's The final stable test pair is labelled Physical Apple installation/boot/reboot, graphical unlock, real first-run session completion, keyboard idle/resume, lid/suspend, recovery and canary acceptance remain NOT TESTED for this proposal. Snapshot restore was explicitly SKIPPED. The reported keyboard idle symptom is not established as fixed by this PR: the relevant off/restore/wake helpers are unchanged. A successful generic ARM VM and scratch initramfs build cannot close those hardware gates. No candidate packages, migrations, Snapper configuration or boot-policy changes were applied to the host. Local implementation, archives and logs are retained for review. No source push, PR title/body edit, merge or publication was performed. Mac rollout remains HOLD pending an agreed shipped fix and the remaining acceptance checks. |
malik-na
left a comment
There was a problem hiding this comment.
The Snapper dependency and conditional keyboard-unit changes look correct. Please resolve these two surrounding packaging issues here or in an explicit prerequisite before using this package set for the Mac rollout:
- Preserve the historical ARM mkinitcpio drop-ins with native defaults and pacman backup protection. Upgrading from 4.0.2-2 currently removes package-owned boot policy, losing Plymouth/console configuration and changing keyboard ordering on the next initramfs rebuild. This exclusion predates this PR; an unbootable machine was not demonstrated.
- Guard the integrated development recipe's plocate drop-in installation, as stable already does. Its unconditional install fails against the tested Mac/older source trees where that file is absent. This is independent of the keyboard-unit addition.
Local fixes are implemented for fresh installs and upgrades, including customized-file preservation. Native ARM builds, real pacman lifecycle checks and disposable ARM VM tests passed; the boot-policy checks were rerun successfully. Physical Apple boot/recovery acceptance remains outstanding. No source changes have been pushed.
The PR head and current master still match the tested revisions. Full evidence and fix details: #341 (comment)
Summary
omarchy-brightness-keyboard-auto.serviceinto systemd's user-unit directory from both settings recipes when the source contains it. Current Mac first-run setup requires this unit; its omission prevents the completion marker and repeats the notification stack.Verification
git diff --checkpass.4.0.2-5and Snapper0.13.1-3, followed by a fresh encrypted M3 (j613) install: Snapper configuration and factory snapshot present, first-run marker complete, required user services enabled. Tester subsequently confirmed reboot and no repeated alerts.Related work