From d1f3cd7aaac01bf493e6cfd1e48dd10eaa31adb3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Tue, 19 Mar 2024 09:11:45 +0100 Subject: [PATCH] units: add one more equivalency of '-' in '_' on kernel cmdline c0aeff4b999318d4da48328fff0ea93c8c457ace added this in one unit file, but the same problem occurs here. (There are no other files where this would apply.) I think we should solve this systematically somehow, but it's not clear how to do that, so until we have that better solution, let's apply the manual solution so that our units work as expected. --- units/systemd-battery-check.service.in | 1 + 1 file changed, 1 insertion(+) diff --git a/units/systemd-battery-check.service.in b/units/systemd-battery-check.service.in index 0f826041078..ee87118a074 100644 --- a/units/systemd-battery-check.service.in +++ b/units/systemd-battery-check.service.in @@ -13,6 +13,7 @@ Documentation=man:systemd-battery-check.service(8) ConditionVirtualization=no ConditionDirectoryNotEmpty=/sys/class/power_supply/ ConditionKernelCommandLine=!systemd.battery_check=0 +ConditionKernelCommandLine=!systemd.battery-check=0 AssertPathExists=/etc/initrd-release DefaultDependencies=no After=plymouth-start.service -- 2.47.3