[systemd-devel] [PATCH] ldconfig: dont run it if ldconfig is not installed

Umut Tezduyar Lindskog umut at tezduyar.com
Wed Jul 30 00:27:24 PDT 2014


Hi,

On Wed, Jul 30, 2014 at 9:23 AM, Andrey Borzenkov <arvidjaar at gmail.com> wrote:
> On Wed, Jul 30, 2014 at 11:02 AM, Umut Tezduyar Lindskog
> <umut.tezduyar at axis.com> wrote:
>> ---
>>  units/ldconfig.service |    1 +
>>  1 file changed, 1 insertion(+)
>>
>> diff --git a/units/ldconfig.service b/units/ldconfig.service
>> index 43c145b..09a2b74 100644
>> --- a/units/ldconfig.service
>> +++ b/units/ldconfig.service
>> @@ -13,6 +13,7 @@ Conflicts=shutdown.target
>>  After=systemd-readahead-collect.service systemd-readahead-replay.service systemd-remount-fs.service
>>  Before=sysinit.target shutdown.target systemd-update-done.service
>>  ConditionNeedsUpdate=/etc
>> +ConditionFileIsExecutable=/sbin/ldconfig
>>
>
>
> Is it really possible on Linux?

I guess so since our embedded product doesn't have /sbin/ldconfig.
Umut

> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel


More information about the systemd-devel mailing list