<div dir="ltr"><div><div>Hi Khem,<br><br></div>This series of patches have as an objective to improve systemd support in OE, specifically improve support for user services.<br><br></div>If you want more information, you can follow the discussion from last patch version I sent and also the yocto bug report:<br><a href="https://bugzilla.yoctoproject.org/show_bug.cgi?id=7801">https://bugzilla.yoctoproject.org/show_bug.cgi?id=7801</a><br><a href="http://patches.openembedded.org/patch/97291/">http://patches.openembedded.org/patch/97291/</a><br><br><br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature">Pau Espin Pedrol<br>mail/jabber: <a href="mailto:pespin.shar@gmail.com" target="_blank">pespin.shar@gmail.com</a><br><a href="http://blog.espeweb.net" target="_blank">http://blog.espeweb.net</a><br></div></div>
<br><div class="gmail_quote">2015-07-25 3:26 GMT+02:00 Khem Raj <span dir="ltr"><<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Fri, Jul 24, 2015 at 7:02 AM, Pau Espin Pedrol <<a href="mailto:pau.espin@aweurope.be">pau.espin@aweurope.be</a>> wrote:<br>
> Signed-off-by: Pau Espin Pedrol <<a href="mailto:pau.espin@aweurope.be">pau.espin@aweurope.be</a>><br>
> ---<br>
> meta/classes/systemd.bbclass | 9 ++++-----<br>
> 1 file changed, 4 insertions(+), 5 deletions(-)<br>
><br>
> diff --git a/meta/classes/systemd.bbclass b/meta/classes/systemd.bbclass<br>
> index cfe1eb5..46e72c7 100644<br>
> --- a/meta/classes/systemd.bbclass<br>
> +++ b/meta/classes/systemd.bbclass<br>
> @@ -136,8 +136,7 @@ python systemd_populate_packages() {<br>
> # Check service-files and call systemd_add_files_and_parse for each entry<br>
> def systemd_check_services():<br>
> searchpaths = [oe.path.join(d.getVar("sysconfdir", True), "systemd", "system"),]<br>
> - searchpaths.append(oe.path.join(d.getVar("nonarch_base_libdir", True), "systemd", "system"))<br>
> - searchpaths.append(oe.path.join(d.getVar("exec_prefix", True), d.getVar("nonarch_base_libdir", True), "systemd", "system"))<br>
> + searchpaths.append(d.getVar("systemd_system_unitdir", True))<br>
> systemd_packages = d.getVar('SYSTEMD_PACKAGES', True)<br>
><br>
> keys = 'Also'<br>
> @@ -185,10 +184,10 @@ python rm_sysvinit_initddir (){<br>
> if bb.utils.contains('DISTRO_FEATURES', 'systemd', True, False, d) and \<br>
> not bb.utils.contains('DISTRO_FEATURES', 'sysvinit', True, False, d) and \<br>
> os.path.exists(sysv_initddir):<br>
> - systemd_unitdir = oe.path.join(d.getVar("D", True), d.getVar('systemd_unitdir', True), "system")<br>
> + systemd_system_unitdir = oe.path.join(d.getVar("D", True), d.getVar('systemd_system_unitdir', True))<br>
><br>
> - # If systemd_unitdir contains anything, delete sysv_initddir<br>
> - if (os.path.exists(systemd_unitdir) and os.listdir(systemd_unitdir)):<br>
> + # If systemd_system_unitdir contains anything, delete sysv_initddir<br>
> + if (os.path.exists(systemd_system_unitdir) and os.listdir(systemd_system_unitdir)):<br>
> shutil.rmtree(sysv_initddir)<br>
> }<br>
> do_install[postfuncs] += "rm_sysvinit_initddir "<br>
<br>
</div></div>what does this patch solve ?<br>
<span class="HOEnZb"><font color="#888888">--<br>
_______________________________________________<br>
Openembedded-core mailing list<br>
<a href="mailto:Openembedded-core@lists.openembedded.org">Openembedded-core@lists.openembedded.org</a><br>
<a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer" target="_blank">http://lists.openembedded.org/mailman/listinfo/openembedded-core</a><br>
</font></span></blockquote></div><br></div>