diff options
Diffstat (limited to 'meta/recipes-core/psplash/files')
-rw-r--r-- | meta/recipes-core/psplash/files/fb.rules | 1 | ||||
-rw-r--r--[-rwxr-xr-x] | meta/recipes-core/psplash/files/psplash-init | 0 | ||||
-rw-r--r-- | meta/recipes-core/psplash/files/psplash-start@.service (renamed from meta/recipes-core/psplash/files/psplash-start.service) | 5 | ||||
-rw-r--r-- | meta/recipes-core/psplash/files/psplash-systemd.service | 11 |
4 files changed, 8 insertions, 9 deletions
diff --git a/meta/recipes-core/psplash/files/fb.rules b/meta/recipes-core/psplash/files/fb.rules new file mode 100644 index 0000000000..accdb8386c --- /dev/null +++ b/meta/recipes-core/psplash/files/fb.rules | |||
@@ -0,0 +1 @@ | |||
SUBSYSTEM=="graphics", KERNEL=="fb[0-9]*", TAG+="systemd", ENV{SYSTEMD_WANTS}+="psplash-start@%k.service psplash-systemd.service" | |||
diff --git a/meta/recipes-core/psplash/files/psplash-init b/meta/recipes-core/psplash/files/psplash-init index e0f80bcdc0..e0f80bcdc0 100755..100644 --- a/meta/recipes-core/psplash/files/psplash-init +++ b/meta/recipes-core/psplash/files/psplash-init | |||
diff --git a/meta/recipes-core/psplash/files/psplash-start.service b/meta/recipes-core/psplash/files/psplash-start@.service index bec9368427..1bc3642fc2 100644 --- a/meta/recipes-core/psplash/files/psplash-start.service +++ b/meta/recipes-core/psplash/files/psplash-start@.service | |||
@@ -3,11 +3,10 @@ Description=Start psplash boot splash screen | |||
3 | DefaultDependencies=no | 3 | DefaultDependencies=no |
4 | RequiresMountsFor=/run | 4 | RequiresMountsFor=/run |
5 | ConditionFileIsExecutable=/usr/bin/psplash | 5 | ConditionFileIsExecutable=/usr/bin/psplash |
6 | After=dev-%i.device | ||
7 | Wants=dev-%i.device | ||
6 | 8 | ||
7 | [Service] | 9 | [Service] |
8 | Type=notify | 10 | Type=notify |
9 | ExecStart=/usr/bin/psplash | 11 | ExecStart=/usr/bin/psplash |
10 | RemainAfterExit=yes | 12 | RemainAfterExit=yes |
11 | |||
12 | [Install] | ||
13 | WantedBy=sysinit.target | ||
diff --git a/meta/recipes-core/psplash/files/psplash-systemd.service b/meta/recipes-core/psplash/files/psplash-systemd.service index e93e3deb35..15a894d577 100644 --- a/meta/recipes-core/psplash/files/psplash-systemd.service +++ b/meta/recipes-core/psplash/files/psplash-systemd.service | |||
@@ -1,14 +1,13 @@ | |||
1 | [Unit] | 1 | [Unit] |
2 | Description=Start psplash-systemd progress communication helper | 2 | Description=Start psplash-systemd progress communication helper |
3 | DefaultDependencies=no | 3 | DefaultDependencies=no |
4 | After=psplash-start.service | 4 | After=psplash-start@fb0.service |
5 | Requires=psplash-start.service | 5 | Requires=psplash-start@fb0.service |
6 | RequiresMountsFor=/run | 6 | RequiresMountsFor=/run |
7 | ConditionFileIsExecutable=/usr/bin/psplash | 7 | ConditionFileIsExecutable=/usr/bin/psplash |
8 | ConditionFileIsExecutable=/usr/bin/psplash-systemd | ||
9 | ConditionPathExists=/run/psplash_fifo | ||
8 | 10 | ||
9 | [Service] | 11 | [Service] |
10 | ExecStart=/usr/bin/psplash-systemd | 12 | ExecStart=-/usr/bin/psplash-systemd |
11 | RemainAfterExit=yes | 13 | RemainAfterExit=yes |
12 | |||
13 | [Install] | ||
14 | WantedBy=sysinit.target | ||