Re: [gentoo-dev] [PATCH systemd.eclass] Introduce systemd_install_serviced().

2013-09-12 Thread Michał Górny
Dnia 2013-09-08, o godz. 13:12:26 Michał Górny napisał(a): > This function can be used to install service configuration templates. > Usage: > > systemd_install_serviced "${FILESDIR}"/foo.service.conf > > or: > > systemd_install_serviced "${FILESDIR}"/barbaz foo.service > > with the latter

Re: [gentoo-dev] [PATCH systemd.eclass] Introduce systemd_install_serviced().

2013-09-08 Thread Alexis Ballier
On Sun, 8 Sep 2013 17:46:28 +0200 Michał Górny wrote: > > > suffix" + > > > + local INSDESTTREE > > > > I guess this is a leftover ? > > Nope. 'insinto' sets INSDESTTREE. Due to lack of proper scoping > support in bash, we need to localize this variable to restore previous > 'insinto' scope afte

Re: [gentoo-dev] [PATCH systemd.eclass] Introduce systemd_install_serviced().

2013-09-08 Thread Michał Górny
Dnia 2013-09-08, o godz. 17:14:54 Gilles Dartiguelongue napisał(a): > Le dimanche 08 septembre 2013 à 13:12 +0200, Michał Górny a écrit : > > This function can be used to install service configuration templates. > > Usage: > > > > systemd_install_serviced "${FILESDIR}"/foo.service.conf > > >

Re: [gentoo-dev] [PATCH systemd.eclass] Introduce systemd_install_serviced().

2013-09-08 Thread Pacho Ramos
El dom, 08-09-2013 a las 17:14 +0200, Gilles Dartiguelongue escribió: > Le dimanche 08 septembre 2013 à 13:12 +0200, Michał Górny a écrit : > > This function can be used to install service configuration templates. > > Usage: > > > > systemd_install_serviced "${FILESDIR}"/foo.service.conf > > >

Re: [gentoo-dev] [PATCH systemd.eclass] Introduce systemd_install_serviced().

2013-09-08 Thread Gilles Dartiguelongue
Le dimanche 08 septembre 2013 à 13:12 +0200, Michał Górny a écrit : > This function can be used to install service configuration templates. > Usage: > > systemd_install_serviced "${FILESDIR}"/foo.service.conf > > or: > > systemd_install_serviced "${FILESDIR}"/barbaz foo.service > > with the

[gentoo-dev] [PATCH systemd.eclass] Introduce systemd_install_serviced().

2013-09-08 Thread Michał Górny
This function can be used to install service configuration templates. Usage: systemd_install_serviced "${FILESDIR}"/foo.service.conf or: systemd_install_serviced "${FILESDIR}"/barbaz foo.service with the latter specifying related service name explicitly, former expecting it to match ${basen