From 454a8d9d7b85e9e6b0f90cb8547b7f814a7ba428 Mon Sep 17 00:00:00 2001 From: Marc Hartmayer Date: Thu, 27 Jul 2023 12:31:10 +0200 Subject: [PATCH] systemd/cpi.service: add missing `Requires=sysinit.target` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `After=sysinit.target` configures only the order but not that the systemd unit is required and must be activated. Therefore add the missing `Requires=sysinit.target`. It probably does not fix anything because sysinit.target should always be activated anyway but it's cleaner to have it. See https://www.freedesktop.org/software/systemd/man/systemd.unit.html for details. Reviewed-by: Jan Höppner Signed-off-by: Marc Hartmayer Signed-off-by: Jan Höppner --- systemd/cpi.service.in | 1 + 1 file changed, 1 insertion(+) diff --git a/systemd/cpi.service.in b/systemd/cpi.service.in index f14e7e0d..3976f684 100644 --- a/systemd/cpi.service.in +++ b/systemd/cpi.service.in @@ -13,6 +13,7 @@ ConditionPathIsReadWrite=/sys/firmware/cpi Conflicts=shutdown.target DefaultDependencies=no Description=Apply Control Program Identification (CPI) +Requires=sysinit.target [Service] Type=oneshot