[systemd-devel] System units packaging and rpmlint

Andrey Borzenkov arvidjaar at gmail.com
Sun Jun 16 19:34:33 PDT 2013


В Sun, 16 Jun 2013 19:18:45 +0100
David Greaves <david at dgreaves.com> пишет:

> On 06/06/13 08:33, Lennart Poettering wrote:
> > On Sat, 18.05.13 23:44, Michael Scherer (misc at zarb.org) wrote:
> >> So I planned to warn if the unit are directly in /lib, but I know there
> >> is some distribution that didn't choose this path yet. So when /usr is
> >> not merged, what is the canonical location ( ie, for Opensuse, Mandriva,
> >> since they are both rpm based ) ?
> > 
> > I'd recommend adding a warning for all units that aren't located in
> > %_unitdir. 
> 
> Would it make sense to add:
> 
> %define _userunitdir %{_libdir}/systemd/user/
> 

_libdir is most likely /usr/lib64 on 64 bit systems.

> at this time?
> 
> David
> 



More information about the systemd-devel mailing list