<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On 22 October 2015 at 15:00, Andrew Shadura <span dir="ltr">&lt;<a href="mailto:andrew.shadura@collabora.co.uk" target="_blank">andrew.shadura@collabora.co.uk</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="overflow:hidden">Add PACKAGECONFIG for systemd, enable it when systemd is enabled<br>
in DISTRO_FEATURES. Pass the correct path to systemd units,<br>
ensure they&#39;re installed into the package.<br>
<br>
Drop custom systemd unit files, use those shipped by the upstream<br>
instead.</div></blockquote></div><div class="gmail_extra"><br></div>Sorry for the delay in looking at this.  buildhistory-diff reports this:</div><div class="gmail_extra"><br></div><div class="gmail_extra">packages/corei7-64-poky-linux/cups/cups: FILELIST: removed &quot;/etc/rc2.d/S81cups /lib/systemd/system/cups.service /etc/rc5.d/S81cups /etc/rc5.d/K36cups /etc/rc0.d/K36cups /etc/rc2.d/K36cups /etc/rc3.d/S81cups /etc/rc3.d/K36cups /lib/systemd/system/cups.socket /lib/systemd/system/cups.path /etc/init.d/cups&quot; added &quot;/lib/systemd/system/org.cups.cupsd.socket /lib/systemd/system/org.cups.cupsd.service /lib/systemd/system/org.cups.cups-lpd@.service /lib/systemd/system/org.cups.cupsd.path /lib/systemd/system/org.cups.cups-lpd.socket&quot;<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">Looks like if systemd is enabled it removes the sysvinit files, but we still need those installed if sysvinit is in DISTRO_FEATURES.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Also the configure script checks for libsystemd-daemon which we don&#39;t build by default, so we&#39;ll either need to enable compat in systemd or patch configure to look for the new library name.  To be honest so much is silently breaking that I think we should enable compat in systemd...</div><div class="gmail_extra"><br></div><div class="gmail_extra">Ross</div></div>