-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Start plymouth sooner and reload when gadget is available
- Loading branch information
1 parent
ce2bbf2
commit 8231c50
Showing
4 changed files
with
56 additions
and
44 deletions.
There are no files selected for viewing
This file contains 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
4 changes: 1 addition & 3 deletions
4
factory/usr/lib/systemd/system/plymouth-start.service.d/core-override.conf
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
[Unit] | ||
After=snap-initramfs-mounts.service | ||
|
||
[Service] | ||
ExecStart= | ||
ExecStart=/usr/sbin/plymouthd --mode=boot --pid-file=/run/plymouth/pid --attach-to-session --ignore-serial-consoles | ||
ExecReload=-/usr/sbin/plymouth reload |
11 changes: 11 additions & 0 deletions
11
factory/usr/lib/systemd/system/plymouth-start.service.d/plymouth-reload.service
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[Unit] | ||
Description=Reload Plymouth theme | ||
DefaultDependencies=no | ||
ConditionPathExists=/run/plymouth/pid | ||
ConditionPathExists=/run/mnt/gadget/splash/plymouth/themes | ||
After=snap-initramfs-mounts.service | ||
Before=plymouth-switch-root.service | ||
|
||
[Service] | ||
Type=oneshot | ||
ExecStart=/usr/bin/systemctl reload plymouth-start.service |
1 change: 1 addition & 0 deletions
1
factory/usr/lib/systemd/system/sysinit.target.wants/plymouth-reload.service
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../plymouth-reload.service |