]> git.ipfire.org Git - thirdparty/util-linux.git/commit
meson: do not generate fstrim.service if we do not have systemd
authorMartin Roukala (né Peres) <martin.roukala@mupuf.org>
Sun, 16 Jan 2022 11:25:35 +0000 (13:25 +0200)
committerMartin Roukala (né Peres) <martin.roukala@mupuf.org>
Sun, 16 Jan 2022 11:52:06 +0000 (13:52 +0200)
commit10490b33f7411c9fd358872c1969062b2a70f114
tree9d5fb792ac36861ba9470a1551c11439e28a525a
parent1e090fdc6e9729cd016867e44cdf8881fc3b7ede
meson: do not generate fstrim.service if we do not have systemd

When systemd is disabled, the variable `systemdsystemunitdir` is
missing, and thus we cannot install fstrim.service to it.

This commit simply disables installing this service if systemd is not
found or disabled.

Signed-off-by: Martin Roukala (né Peres) <martin.roukala@mupuf.org>
sys-utils/meson.build