Setup hibernation more efficiently to prevent needless limine rebuilds

This commit is contained in:
David Heinemeier Hansson
2026-05-02 13:10:47 +02:00
parent 7fdd7877fc
commit aee06e4320
5 changed files with 33 additions and 14 deletions
+1
View File
@@ -1,4 +1,5 @@
run_logged $OMARCHY_INSTALL/login/plymouth.sh
run_logged $OMARCHY_INSTALL/login/default-keyring.sh
run_logged $OMARCHY_INSTALL/login/sddm.sh
run_logged $OMARCHY_INSTALL/login/hibernation.sh
run_logged $OMARCHY_INSTALL/login/limine-snapper.sh
+6
View File
@@ -0,0 +1,6 @@
# Run before limine-snapper.sh so the resume hook + cmdline drop-ins are in
# place when `pacman -S limine-mkinitcpio-hook` triggers its single full UKI
# rebuild. The --no-rebuild flag tells the script to skip its own rebuild —
# limine-snapper's pacman install will produce a UKI that already includes
# hibernation.
omarchy-hibernation-setup --force --no-rebuild
-1
View File
@@ -1,4 +1,3 @@
run_logged $OMARCHY_INSTALL/post-install/hibernation.sh
run_logged $OMARCHY_INSTALL/post-install/pacman.sh
source $OMARCHY_INSTALL/post-install/allow-reboot.sh
source $OMARCHY_INSTALL/post-install/finished.sh
-2
View File
@@ -1,2 +0,0 @@
# Enable hibernation
omarchy-hibernation-setup --force