Skip to content

Package coordinated Apple encryption, Limine and boot helpers - #65

Draft
scottjones wants to merge 17 commits into
mainfrom
integrate/quattro-encryption-limine
Draft

scottjones wants to merge 17 commits into
mainfrom
integrate/quattro-encryption-limine

Conversation

@scottjones

@scottjones scottjones commented Sep 23, 2026 •

Copy link
Copy Markdown
Collaborator

Package the coordinated Apple encryption/Limine stack and transfer boot helpers out of the desktop into omarchy-mac-boot. The kernel-neutral omarchy-mac hardware package remains separate.

The boot recipe now stages helper source from a pinned runtime revision, increases its release to 10 and declares its core/Limine dependencies. Schema-4 candidates require the exact matching desktop version and source revision, and verify exclusive ownership of every transferred command/module. Split-runtime source is rejected by the incomplete schema-3 profile; schema 3 remains the default for compatible baseline sources. Existing replacement metadata, configuration backups and first-boot marker handling are preserved.

Validation: candidate provenance/ownership/profile tests and the complete offline boot-source suite pass. All 13 candidate signing checks also pass with disposable keys at 617a907f. Hosted self-tests and the default nine-package candidate CI build pass at that commit; this does not qualify the new 13-package Limine candidate. The new native candidate is blocked pending a complete disposable toolchain and more build storage; source tests do not establish installed-package or physical-boot qualification. No workflow enables schema 4 by default, publishes packages or changes repository trust.

Companions: runtime #503, installer and image builder #2. Existing-quattro migration is assessed separately in the runtime PR and is not implemented here.

Review only: do not merge before the coordinated package transaction, VM checks and M3 end-to-end qualification. The existing build-25 source and artifacts remain available.

Adapt Marcelo package source 68a61cef1aba768c6aae20a0feda2a42e19de6e8. Exclude the embedded repository key, image-finalization commands and legacy GRUB menu hook. Keep existing target trust and invoke the distilled Limine leaf. Boot-source fixtures never start disposable block tests.
Adapt Marcelo package source 68a61cef1aba768c6aae20a0feda2a42e19de6e8 (PRs 182, 185 and 186). Keep source checksums, ARM64 UKI patch and activation gate. No publishing workflow selects these recipes.
Preserve the schema-3 nine-package default. Schema 4 requires thirteen same-source candidate packages, single payload ownership and the ARM64 settings template. Preserve recipe symlinks and existing signing policy; image assembly remains separately gated.
@scottjones scottjones changed the title Add opt-in ARM64 Limine and encrypted installer boot packages Package coordinated Apple encryption, Limine and boot helpers Sep 23, 2026
@scottjones
scottjones marked this pull request as draft September 23, 2026 14:41
DanteCpp pushed a commit to DanteCpp/omarchy that referenced this pull request Oct 16, 2026
The initramfs, in-place encryption and first-boot payload lived only in the
boot recipe paired with omacom#503 (omarchy-mac/omarchy-pkgs-aarch64#65), so the
package could not be built from a pinned quattro-upstream commit. It moves to
packages/omarchy-mac/boot/files at its installed paths, and install DESTDIR
stages it with the commands, modules and license. The recipe keeps only
packaging metadata and the pacman scriptlet.

The payload is brought to omarchy-mac-boot 20260921-10 (maralcbr/omarchy-pkgs
omacom#202): 94-omarchy-mac-vconsole.conf gives the disk passphrase prompt the
owner's keyboard layout, keeping non-Latin layouts out as upstream does;
92-omarchy-mac-hid.conf early-loads thunderbolt and thunderbolt_apple so a
dock keyboard types at the prompt; the ALPM hook rebuilds the initramfs when
the new drop-in changes.

The payload tests move with it and run offline in test/all; with
OMARCHY_DISPOSABLE_BOOT_TESTS=1 they also build real images and convert
loop-device disks in privileged containers. A staging test checks every
payload path, mode and symlink, and that the ALPM hook matches every shipped
drop-in.
AaryanSinghChauhan09 pushed a commit to AaryanSinghChauhan09/SigmaOS-mac-pkgs that referenced this pull request Nov 23, 2026
The initramfs, in-place encryption and first-boot payload lived only in the
boot recipe paired with #503 (omarchy-mac/omarchy-pkgs-aarch64#65), so the
package could not be built from a pinned quattro-upstream commit. It moves to
packages/omarchy-mac/boot/files at its installed paths, and install DESTDIR
stages it with the commands, modules and license. The recipe keeps only
packaging metadata and the pacman scriptlet.

The payload is brought to omarchy-mac-boot 20260921-10 (maralcbr/omarchy-pkgs
#202): 94-omarchy-mac-vconsole.conf gives the disk passphrase prompt the
owner's keyboard layout, keeping non-Latin layouts out as upstream does;
92-omarchy-mac-hid.conf early-loads thunderbolt and thunderbolt_apple so a
dock keyboard types at the prompt; the ALPM hook rebuilds the initramfs when
the new drop-in changes.

The payload tests move with it and run offline in test/all; with
OMARCHY_DISPOSABLE_BOOT_TESTS=1 they also build real images and convert
loop-device disks in privileged containers. A staging test checks every
payload path, mode and symlink, and that the ALPM hook matches every shipped
drop-in.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant