[Kimchi-devel] [PATCH] Add DESTDIR to make install

Frederic Bonnard frediz at linux.vnet.ibm.com
Fri May 29 16:43:28 UTC 2015


> > man systemd.unit says in "Table 1" that this is for local
> >    configuration and that installed packages should go in $(systemdsystemunitdir)/lib/systemd/system
> >    So no need of /etc/systemd/system part I'd say.
> HI Frederic,
> 
> i put on /etc/systemd/system because debian8 does not have a 
> /usr/lib/systemd/system directory. Should i created it?

The equivalent of /usr/lib/systemd/system on debian/ubuntu is
/lib/systemd/system. The latter should already exist.
If you use $(systemdsystemunitdir)/lib/systemd/system it should be all good.
You should have $(systemdsystemunitdir)/lib/systemd/system resolving to
- /usr/lib/systemd/system on fedora-like systems
- /lib/systemd/system on debian-like systems

That means that your initial section should be enough on all systems. And
the section with /etc can be removed.

If I have time I can rework your patch and send it to you so that you can
check/review it.

F.

> 
> -- 
> 
> Ramon Nunes Medeiros
> Kimchi Developer
> Linux Technology Center Brazil
> IBM Systems & Technology Group
> Phone : +55 19 2132 7878
> ramonn at br.ibm.com
> 




More information about the Kimchi-devel mailing list