Repository navigation
Show first-boot progress on the Mac splash - #568
Merged
Merged
Conversation
…encryption The Omarchy Plymouth theme gains a generic system-update mode: plymouth system-update --progress moves its bar and display-message text sits centered under it. The Mac encrypt unit drives it from cryptsetup's JSON progress, and first boot carries it on until account setup, which plymouth-quit now waits for. On a Limine Mac the encryption no longer runs GRUB or a separate mkinitcpio -P: the UKI build is the one initramfs build.
On a working image the hardware setup is first boot's longest stage, so the bar gives it most of its width and moves as omarchy-provision-hardware drains the queue, easing toward the next step while a long one runs.
… the percentage In system-update mode the bar and its line now follow the installer's progress screen, relative to the logo: 34/81 of its width, one tenth of its height, and text one row high. The encryption line names the step without a percentage, which disagreed with a bar that spans the whole first boot.
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.
Ticket 72. The Apple first boot sat on a static Omarchy logo for ~50 s between Limine and the account form. It now shows a progress bar with a short status line under it, in the theme's own bar assets, until account setup or SDDM takes over.
What changed
plymouth system-update --progress=Nshows the bar at N% andplymouth display-messagetext sits centered under it. Bar and text are sized like the installer's progress screen, relative to the logo (which stands for its 81x10-cell text logo): bar 34/81 of the logo's width and a tenth of its height, text one such row high and one row under the bar. Nothing changes unless a caller sends system-update: normal boots, plain messages and the password prompt render exactly as before.cryptsetup reencrypt --progress-jsonunder "Encrypting your drive...", then "Preparing your Mac for first boot..." while the boot files are rebuilt, with the bar easing forward while that step runs. The line names the step and the bar carries the progress, as in the installer: a step percentage in the text disagreed with a bar that spans the whole first boot.plymouth-quitandplymouth-quit-waitnow wait for first boot; before, the splash quit ~0.1 s after first boot started and the screen went blank.BOOTAA64.EFIuntil the UKI step put Limine back) and no separatemkinitcpio -P: the UKI build is the one initramfs build.omarchy-mac-boot-updategainsOMARCHY_MAC_BOOT_UPDATE_GRUB=0for this. GRUB Macs keep update-grub +mkinitcpio -P.quiet/loglevel=0), cryptsetup's JSON stays out of the journal, and the progress helpers print nothing without a splash.Still open (not in this PR): the image ships
grubexplicitly, so the real-root Limine activation (setup/limine-boot.sh) still runs update-grub, and the real root builds the UKI twice more (that activation, then omarchy-provision-hardware's final rebuild after a hardware step addsapple_hid_modules.conf).Testing
packages/omarchy-mac/boot/test/allas non-root in an Arch container: 148 ok. The loop-device encryption run (privileged container) passes, including the progress sequence and a Limine conversion that runs onlyomarchy-mac-boot-updatewith GRUB off; a GRUB Mac case covers update-grub +mkinitcpio -P.test/shell.dtests pass (image-deferred-hardware, mac-boot-*, mac-first-boot, mac-provision, plymouth-set, image-target-platform).systemd-analyze verifyclean for the encrypt, first-boot, plymouth-quit and plymouth-quit-wait units (M2 scratch root); first boot is not ordered after either plymouth-quit unit, so the new ordering has no cycle.Second review: no blockers; its one medium point (hardware setup sitting at a static 97%) is fixed by following the hardware queue, and its re-check of that change was clean.