units: add initrd directory to list of conditions for systemd-confext
authorLuca Boccassi <luca.boccassi@gmail.com>
Tue, 19 Nov 2024 23:34:00 +0000 (23:34 +0000)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 28 Nov 2024 14:06:21 +0000 (15:06 +0100)
systemd-sysext has the same check, but it was forgotten for confexts.
Needed to activate confexts from the ESP in the initrd.

(cherry picked from commit fe077a1a582a43a6378ff29452a373cc7d393764)

units/systemd-confext.service

index 3b46ecae08bec55e7f46e466f142c171e05c1441..cd5e0f295f4838701788f55b7e739863d8809eee 100644 (file)
@@ -16,6 +16,7 @@ ConditionDirectoryNotEmpty=|/run/confexts
 ConditionDirectoryNotEmpty=|/var/lib/confexts
 ConditionDirectoryNotEmpty=|/usr/local/lib/confexts
 ConditionDirectoryNotEmpty=|/usr/lib/confexts
+ConditionDirectoryNotEmpty=|/.extra/confext
 
 DefaultDependencies=no
 After=local-fs.target