Repository navigation
Fix zram, DNS, and keyring gaps in the Apple Silicon install - #229
Conversation
scottjones
left a comment
There was a problem hiding this comment.
Summary
The zram fix matches issue #218: zram-generator is in Arch Linux ARM extra (so not an unavailable-list candidate), lives only in omarchy-other.packages today, and is not consumed by the Mac installer, while install.sh installs omarchy-base.packages before system setup. Fresh installs stamp every migration via omarchy-provision-user --first-install without running them — this machine's 1773113401.sh marker is a 0-byte stamp — so a new migration is the right repair for existing installs. omarchy-pkg-missing / omarchy-pkg-add plus sudo systemctl matches sibling migrations and the privilege-escalation rule (migrate has a TTY). [email protected] is the correct unit: after daemon-reload the generator drop-in BindsTo=dev-zram0.swap, so starting setup also activates swap. The network.sh change is a separate live-install DNS fix (later hardware leaves such as apple/audio.sh call omarchy-pkg-add); it is justified, but the NetworkManager fallback is written to disk and never retargeted at the resolved stub on reboot.
Issue counts by severity
- bugs: 0
- suggestions: 2
- nits: 1
|
Beta-test result on Apple Silicon host: the pushed fix (354086b) was exercised in a disposable UTM QEMU ARM64 VM (6 vCPU, 12 GB RAM, 64 GB disk) using an Arch ARM boot image. After the base Arch ARM builder keyring prerequisite was initialized, the installer refreshed the omarchy-aarch64 and asahi-alarm sources without the missing-database failure, installed the Omarchy package set, booted from the installed disk, rendered the Omarchy desktop, and opened the launcher with Super+Space. The guest remains running for further testing. |
|
Thanks for the VM run — finding the keyring gap by actually installing from scratch is the kind of testing that catches what review can't. Two things before this lands. The title now undersells it. Four commits in, this fixes zram, DNS during the live install, and Asahi keyring trust — and someone grepping the history for keyring work would never find it under "missing zram". I checked the fingerprint you import,
Splitting the keyring and DNS commits into their own PR would work too, and would let the zram half merge now rather than waiting on review of package-trust changes. Your call — either is fine, but the current title isn't. The ordering assertion. The migration itself is correct: Also still open from the earlier pass: One smaller thing on the new commit: |
malik-na
left a comment
There was a problem hiding this comment.
The zram half is the #218 fix and is ready: zram-generator belongs in omarchy-base.packages (the Mac installer never reads omarchy-other.packages), and the migration is the right repair because --first-install stamps migrations without running them.
Agree with Scott's remaining notes — none of them are “wrong code”, they are “this PR is now three fixes”:
- Title. This also bootstraps the Asahi Alarm keyring (fingerprint
12CE6799A94A3F1B5DDFFE88F576553597FB8FEBis the right master key, full fingerprint not a short id) and stops the live-install DNS outage. Rename to something like “Fix zram, DNS, and keyring gaps in the Apple Silicon install”, or split the keyring/DNS commits. The current title hides the trust change. - Test ordering.
zram-package-test.shgrepsdaemon-reloadandstartindependently, so a swap still passes. Pin the line numbers in$callsthe waysddm-autologin-migration-test.shdoes. Starting the unit before the generator drop-in is loaded is a real bug. - Migration shebang.
agents/skills/migrations.mdsays migrations start with theecho; the runner is alreadybash -euo pipefail. Drop#!/bin/bashfrom1787669934.sh.
354086b to
2130200
Compare
|
Addressed the review notes in the updated branch:
Focused zram, installer, and network tests pass. |
Summary
zram-generatorto the default package set consumed by the fresh Mac installerFixes #218
Validation