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