[systemd-devel] System units packaging and rpmlint
Lennart Poettering
lennart at poettering.net
Mon Jun 17 09:38:08 PDT 2013
On Sun, 16.06.13 19:18, David Greaves (david at dgreaves.com) wrote:
>
> 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/
>
> at this time?
I added this now to the macros.systemd file we ship upstream.
Lennart
--
Lennart Poettering - Red Hat, Inc.
More information about the systemd-devel
mailing list