Macro for path to system-preset?

Borislav Trifonov btrifonov at macroh.com
Thu Dec 3 22:17:17 UTC 2015


 Looks like my first attempt got sent as HTML instead of plain-text; trying again...
  
 There is %{_unitdir} which in the distros I've looked at points to /usr/lib/systemd/system, but what's the recommended/portable way to specify the path to the systemd presets directory?
 I considered %{_libdir}/systemd/system-preset, but on some x86-64 cases I've seen, %{_libdir} is /usr/lib64 while systemd is still in /usr/lib.
 Would %{_unitdir}/../system-preset? be a good way to do it?
  


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-list/attachments/20151203/795b6a1c/attachment.html>


More information about the Rpm-list mailing list