From: Zbigniew Jędrzejewski-Szmek Date: Tue, 19 Mar 2024 08:11:45 +0000 (+0100) Subject: units: add one more equivalency of '-' in '_' on kernel cmdline X-Git-Tag: v256-rc1~477 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1f3cd7aaac01bf493e6cfd1e48dd10eaa31adb3;p=thirdparty%2Fsystemd.git 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. --- 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