Repository navigation
Converge Apple installation with shared Omarchy and package boot support - #503
Merged
Merged
Conversation
Adapt Marcelo runtime source d418ab7 (PRs 192, 199, 211, 217-220). Preserve candidate/channel separation and restore existing menu, defaults and UKIs on failed reactivation. Fresh-image integration remains separately gated.
Adapt Marcelo runtime source d418ab7, originating in PR 185. Authenticate owner-slot reuse, sync committed state, preserve firmware and refuse cross-kernel factory resets. Retain existing raw LUKS parent discovery.
Restore the exact prior EFI loader, GRUB targets, UKI, menu and hooks on failure. Install the mandatory deploy hook before committing activation, scope cleanup traps, and check required writes even when callers suppress errexit.
This was referenced Sep 23, 2026
Closed
scottjones
marked this pull request as draft
September 23, 2026 14:41
This was referenced Sep 25, 2026
This was referenced Sep 25, 2026
maralcbr
added a commit
that referenced
this pull request
Sep 25, 2026
docs: gap audit of #503 and quattro-upstream against mx-mac
maralcbr
added a commit
that referenced
this pull request
Sep 25, 2026
Brings in the password sync (#532), audio (#535), display (#533), Wi-Fi resume (#529) and battery charge limit (#525) work. omarchy-drive-password takes #532's version. It already carries what #503 added (no tracing, the new password over stdin), and it has no Apple branch. #503's drive-password-apple-test.sh asserted that the disk password never changes the login or root password, which ticket 19 replaced with a journaled LUKS-first sync for the system disk; drive-password-test.sh covers the shared behaviour, so the Apple copy goes.
maralcbr
added a commit
that referenced
this pull request
Sep 25, 2026
Land #503 with the review fixes and the gap-audit merge blockers
maralcbr
added a commit
that referenced
this pull request
Sep 27, 2026
… key slots Owner provisioning asks provision-prepare before the owner form, hands the staged unlock to provision-commit and provision-verify where the platform implements both, rebuilds stale boot entries through boot-rebuild where it exists, and records the kept LUKS slots through luks-slots before the staged key is destroyed. A platform that records the slots also gets a recovery key, shown once on the setup terminal and kept by the re-key journal; the disk password change records the owner's new slot the same way. On x86, Snapdragon and generic aarch64 every call is a no-op and first boot is unchanged. The recovery-key operations and their tests come from Scott Jones's extraction in #503. Co-authored-by: Scott Jones <[email protected]>
maralcbr
added a commit
that referenced
this pull request
Sep 28, 2026
… key slots Owner provisioning asks provision-prepare before the owner form, hands the staged unlock to provision-commit and provision-verify where the platform implements both, and records the kept LUKS slots through luks-slots before the staged key is destroyed. A platform that records the slots also gets a recovery key, shown once on the setup terminal and kept by the re-key journal; the disk password change records the owner's new slot the same way. On x86, Snapdragon and generic aarch64 every call is a no-op and first boot is unchanged. The recovery-key operations and their tests come from Scott Jones's extraction in #503. Co-authored-by: Scott Jones <[email protected]>
maralcbr
added a commit
that referenced
this pull request
Sep 28, 2026
… key slots Owner provisioning asks provision-prepare before the owner form, hands the staged unlock to provision-commit and provision-verify where the platform implements both, and records the kept LUKS slots through luks-slots before the staged key is destroyed. A platform that records the slots also gets a recovery key, shown once on the setup terminal and kept by the re-key journal; the disk password change records the owner's new slot the same way. On x86, Snapdragon and generic aarch64 every call is a no-op and first boot is unchanged. The recovery-key operations and their tests come from Scott Jones's extraction in #503. Co-authored-by: Scott Jones <[email protected]>
DanteCpp
pushed a commit
to DanteCpp/omarchy
that referenced
this pull request
Oct 16, 2026
Brings in omacom#503 (integrate/quattro-encryption-limine) with the owner's review fixes (fix/pr503-review-findings) on top of omacom#517. omacom#503 adopts omacom#517's journal: luks-recovery.sh drops its copies of luks_slot_for, luks_dump_slots, rekey_state_get and rekey_state_put and keeps only the recovery-passphrase and slot-reuse parts. Its rekey_state_put ran install -d -m 700 on the provisioning directory, which would stop the new user's setup reading the stashed Node tarball; omacom#517's write leaves the mode alone, and the Apple provisioning test now checks it. The non-Apple re-key is omacom#517's luks_rekey behind the Limine unlock callbacks, replacing omacom#503's rekey_luks_intel. Apple Silicon keeps omacom#503's encrypt.state re-key with the recovery slot until it moves behind the same callbacks.
AaryanSinghChauhan09
pushed a commit
to AaryanSinghChauhan09/SigmaOS-mac-pkgs
that referenced
this pull request
Nov 23, 2026
Brings in omacom/omarchy-mac#503 (integrate/quattro-encryption-limine) with the owner's review fixes (fix/pr503-review-findings) on top of #517. #503 adopts #517's journal: luks-recovery.sh drops its copies of luks_slot_for, luks_dump_slots, rekey_state_get and rekey_state_put and keeps only the recovery-passphrase and slot-reuse parts. Its rekey_state_put ran install -d -m 700 on the provisioning directory, which would stop the new user's setup reading the stashed Node tarball; #517's write leaves the mode alone, and the Apple provisioning test now checks it. The non-Apple re-key is #517's luks_rekey behind the Limine unlock callbacks, replacing #503's rekey_luks_intel. Apple Silicon keeps #503's encrypt.state re-key with the recovery slot until it moves behind the same callbacks.
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.
Bring the upstream Omarchy experience to Apple Silicon while keeping hardware and boot implementation in separately built packages. Target:
quattro-upstream. This PR is for review; do not merge before coordinated candidate and physical qualification.The integration retains the encrypted Limine installation work and its safeguards, removes Mac-specific account-password synchronization, and makes shared Limine refresh respect the configured ESP. Generic recovery-slot/journal operations remain core code for upstream contribution, with isolated non-Mac tests; this pass does not enable a new recovery policy on existing non-Mac installations.
Apple boot commands and boot-file operations now live under
packages/omarchy-mac/boot, delivered byomarchy-mac-boot. The kernel-neutral hardware package stays separate. Shared owner/reset UI, transaction ordering and Limine menu/hash helpers remain in core. Missing required Apple modules fail closed. Existing GRUB compatibility is preserved while fresh Limine installs are the qualification target.Review commits:
a5fc2b8ee: shared disk-password policy.6ed5edf65: generic recovery operations and non-Mac coverage.f37635508: configured ESP support.37da9a8cf: package-owned boot implementation.0d4070aea: migration assessment against actualquattroat90438bceab9601b0181e65bc47180d1fb1d34496.The migration assessment preserves an eventual in-place path, including existing ARM signing/update transaction behavior, configuration and migration history, file ownership and historical snapshots. No migration or channel enablement is shipped here.
Validation: focused provisioning/rekey/reset/recovery/provider/password/ESP suites and independent hardware/boot package fixtures pass. The first corrected-environment aggregate passed 300/302 files; the remaining Snapper-layout and lock-fixture assumptions were fixed and their focused tests pass. The new native candidate has not been built: the disposable toolchain needs additional test dependencies, and the host has only 8.2 GB free for image/VM work. Package transaction and VM qualification remain pending. No new physical qualification is claimed. The successful build-25 installation used the preserved baseline
e82fe3c8850b184dfa22eefd571646ad85446122.Coordinated reviews: installer and image builder #2, package recipes #65, VM harness #504.
Before merge: verify the complete candidate transaction and VM boots, then repeat M3 installation, encrypted reboot, recovery-key unlock and factory reset through a second owner setup. The small pilot remains explicitly frozen. No production publication or trust change is included.