mirror of
https://github.com/systemd/systemd.git
synced 2024-12-03 23:33:38 +08:00
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.
This commit is contained in:
parent
ea846e45c1
commit
2671fbefce
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user