From 2671fbefcec9f31817ea75aab32531305952876f Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 7 Apr 2021 11:22:21 +0200 Subject: units: fix repart conditions to run if definitions exist in /sysroot + /sysusr The systemd-repart code was already smart enough to look for definitions there, but the unit file conditions made that pointless. Let's fix that. --- units/systemd-repart.service.in | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'units/systemd-repart.service.in') diff --git a/units/systemd-repart.service.in b/units/systemd-repart.service.in index 60dc7783b3..4634d983c1 100644 --- a/units/systemd-repart.service.in +++ b/units/systemd-repart.service.in @@ -19,6 +19,11 @@ ConditionDirectoryNotEmpty=|/usr/lib/repart.d ConditionDirectoryNotEmpty=|/usr/local/lib/repart.d ConditionDirectoryNotEmpty=|/etc/repart.d ConditionDirectoryNotEmpty=|/run/repart.d +ConditionDirectoryNotEmpty=|/sysroot/usr/lib/repart.d +ConditionDirectoryNotEmpty=|/sysroot/usr/local/lib/repart.d +ConditionDirectoryNotEmpty=|/sysroot/etc/repart.d +ConditionDirectoryNotEmpty=|/sysusr/usr/lib/repart.d +ConditionDirectoryNotEmpty=|/sysusr/usr/local/lib/repart.d [Service] Type=oneshot -- cgit v1.2.1