diff options
author | Lennart Poettering <lennart@poettering.net> | 2021-04-07 11:22:21 +0200 |
---|---|---|
committer | Luca Boccassi <luca.boccassi@gmail.com> | 2021-04-21 12:23:31 +0100 |
commit | 2671fbefcec9f31817ea75aab32531305952876f (patch) | |
tree | 7d8576a4a33c3d3dab80366dc4810d5032329406 /units | |
parent | ea846e45c18883dab2f58e2f0d23fd0577b58c8e (diff) | |
download | systemd-2671fbefcec9f31817ea75aab32531305952876f.tar.gz |
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.
Diffstat (limited to 'units')
-rw-r--r-- | units/systemd-repart.service.in | 5 |
1 files changed, 5 insertions, 0 deletions
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 |