On Sat, 2018-05-19 at 15:08 +0000, Zbigniew Jędrzejewski-Szmek wrote: > On Sat, May 19, 2018 at 02:38:13PM +0100, Sérgio Basto wrote: > > On Fri, 2018-05-18 at 17:54 -0500, Jason L Tibbitts III wrote: > > > > > > > > "ES" == Eric Smith <spacewar@xxxxxxxxx> writes: > > > > > > ES> What macro(s) should I use in an RPM spec to refer to a > > > directory > > > ES> like /usr/lib/modules-load.d, which is under /usr/lib even if > > > libdir > > > ES> is /usr/lib64? Is there something better than > > > ES> %{_usr}/lib/modules-load.d? > > > > > > It seems that there isn't. I would just use /usr/lib/modules- > > > load.d > > > directly. > > > > > > You will get an rpmlint complaint about direct use of /usr/lib, I > > > suppose. Not much to be done about that. Technically a macro > > > for > > > this > > > could be added, but only a few packages need to do this so I > > > suspect > > > it > > > wouldn't be worth it. > > > > from VirtualBox.spec we use : > > > > %{_prefix}/lib/modules-load.d/ > > https://github.com/systemd/systemd/pull/9036 Quote: " %_environmnentdir /usr/lib/environment.d %_modulesloaddir /usr/lib/modules-load.d %_modprobedir /usr/lib/modprobe.d This makes installing files there more convenient because people don't need to construct the path from %_prefix/lib/… . See https://lists.fedoraproject.org/archives/list/devel@lists.fedorapro ject.org/thread/GBF5WJLTQVSXMHGYGBF3723ZYCWFBR7C/. " hum , when this systemd will be availble on Fedora 28 ? BTW about loadmodules [1], fedora-loadmodules.service is in initscripts package[2] and have some files related files [3] but is not used by any package [4] , this is really necessary ? have this second location. Shouldn't fedora-loadmodules.service be remove from initscripts ? Thanks, [1] systemctl list-unit-files | grep modules fedora-loadmodules.service static systemd-modules-load.service static [2] rpm -qf /usr/lib/systemd/system/fedora-loadmodules.service -i [3] rpm -qf /usr/lib/systemd/system/fedora-loadmodules.service -l | grep modules /etc/sysconfig/modules /usr/lib/systemd/fedora-loadmodules /usr/lib/systemd/system/basic.target.wants/fedora-loadmodules.service /usr/lib/systemd/system/fedora-loadmodules.service [4] dnf repoquery -f "/usr/lib/systemd/fedora-loadmodules/*" -- Sérgio M. B. _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx/message/HHSKQIZNJJ4AAQKTUYIOQN32KBL53TDC/