]> git.pld-linux.org Git - packages/plymouth.git/blobdiff - plymouth-restore-suspend.patch
- point meson as /sbin and /bin to make it embed correct paths in systemd units,...
[packages/plymouth.git] / plymouth-restore-suspend.patch
index 17bd8a2f746656479269b309709ad3b077f60f77..7e9437a9b9b6a2b9a630f9c361f3990eb9f38c06 100644 (file)
@@ -17,19 +17,19 @@ Conflicts:
 --- plymouth-0.9.2/src/libply-splash-core/ply-boot-splash-plugin.h.orig        2015-05-24 21:36:57.996946648 +0200
 +++ plymouth-0.9.2/src/libply-splash-core/ply-boot-splash-plugin.h     2015-05-24 21:40:09.206938626 +0200
 @@ -38,6 +38,8 @@
- {
          PLY_BOOT_SPLASH_MODE_BOOT_UP,
          PLY_BOOT_SPLASH_MODE_SHUTDOWN,
+         PLY_BOOT_SPLASH_MODE_REBOOT,
 +        PLY_BOOT_SPLASH_MODE_SUSPEND,
 +        PLY_BOOT_SPLASH_MODE_RESUME,
          PLY_BOOT_SPLASH_MODE_UPDATES,
-         PLY_BOOT_SPLASH_MODE_INVALID
- } ply_boot_splash_mode_t;
---- plymouth-0.9.2/src/plugins/splash/script/script-lib-plymouth.c.orig        2015-05-24 21:36:57.996946648 +0200
-+++ plymouth-0.9.2/src/plugins/splash/script/script-lib-plymouth.c     2015-05-24 21:41:42.316934720 +0200
-@@ -70,6 +70,12 @@
-         case PLY_BOOT_SPLASH_MODE_SHUTDOWN:
-                 obj = script_obj_new_string ("shutdown");
+         PLY_BOOT_SPLASH_MODE_SYSTEM_UPGRADE,
+         PLY_BOOT_SPLASH_MODE_FIRMWARE_UPGRADE,
+--- plymouth-22.02.122/src/plugins/splash/script/script-lib-plymouth.c.orig    2022-08-27 20:59:50.679508419 +0200
++++ plymouth-22.02.122/src/plugins/splash/script/script-lib-plymouth.c 2022-08-27 21:01:12.459065382 +0200
+@@ -73,6 +73,12 @@ static script_return_t plymouth_get_mode
+         case PLY_BOOT_SPLASH_MODE_REBOOT:
+                 obj = script_obj_new_string ("reboot");
                  break;
 +        case PLY_BOOT_SPLASH_MODE_SUSPEND:
 +                obj = script_obj_new_string ("suspend");
This page took 0.129186 seconds and 4 git commands to generate.