From: Michal Sekletar Date: Wed, 23 Sep 2015 17:23:21 +0000 (+0200) Subject: units: run ldconfig also when cache is unpopulated X-Git-Tag: v227~82^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1363%2Fhead;p=thirdparty%2Fsystemd.git units: run ldconfig also when cache is unpopulated --- diff --git a/units/ldconfig.service b/units/ldconfig.service index f9691e2f2d0..994edd9908d 100644 --- a/units/ldconfig.service +++ b/units/ldconfig.service @@ -12,7 +12,8 @@ DefaultDependencies=no Conflicts=shutdown.target After=systemd-remount-fs.service Before=sysinit.target shutdown.target systemd-update-done.service -ConditionNeedsUpdate=/etc +ConditionNeedsUpdate=|/etc +ConditionFileNotEmpty=|!/etc/ld.so.cache [Service] Type=oneshot