5808e7
From c7e65774a4ccc8a431f63c5a12ab776b24ee1190 Mon Sep 17 00:00:00 2001
5808e7
From: Lennart Poettering <lennart@poettering.net>
5808e7
Date: Wed, 8 Apr 2020 16:12:00 +0200
5808e7
Subject: [PATCH] units: pull in systemd-pstore.service from sysinit.target
5808e7
5808e7
sysinit.target is the target our early boot services are generally
5808e7
pulled in from, make systemd-pstore.service not an exception of that.
5808e7
5808e7
Effectively this doesn't mean much, either way our unit is part of the
5808e7
initial transaction.
5808e7
5808e7
(cherry picked from commit 167241912f51fbc0d7d0869b9af34c15b5ecc4b6)
5808e7
5808e7
Related: #2158832
5808e7
---
5808e7
 units/systemd-pstore.service.in | 3 ++-
5808e7
 1 file changed, 2 insertions(+), 1 deletion(-)
5808e7
5808e7
diff --git a/units/systemd-pstore.service.in b/units/systemd-pstore.service.in
5808e7
index 89f34afe34..37fcf878f0 100644
5808e7
--- a/units/systemd-pstore.service.in
5808e7
+++ b/units/systemd-pstore.service.in
5808e7
@@ -15,6 +15,7 @@ ConditionVirtualization=!container
5808e7
 DefaultDependencies=no
5808e7
 Wants=systemd-remount-fs.service
5808e7
 After=systemd-remount-fs.service
5808e7
+Before=sysinit.target
5808e7
 
5808e7
 [Service]
5808e7
 Type=oneshot
5808e7
@@ -23,4 +24,4 @@ RemainAfterExit=yes
5808e7
 StateDirectory=systemd/pstore
5808e7
 
5808e7
 [Install]
5808e7
-WantedBy=systemd-remount-fs.service
5808e7
+WantedBy=sysinit.target