<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/meta/classes/systemd.bbclass, branch 1.5_M3.rc1</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=1.5_M3.rc1</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=1.5_M3.rc1'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2013-07-31T05:59:56+00:00</updated>
<entry>
<title>systemd: Remove init.d dir if systemd unit file is present and sysvinit not a distro feature</title>
<updated>2013-07-31T05:59:56+00:00</updated>
<author>
<name>Muhammad Shakeel</name>
<email>muhammad_shakeel@mentor.com</email>
</author>
<published>2013-07-29T08:09:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=3b9b8d571da6bb3652427e8ccc7948cbcec0e517'/>
<id>urn:sha1:3b9b8d571da6bb3652427e8ccc7948cbcec0e517</id>
<content type='text'>
If systemd is supported DISTRO_FEATURE and sysvinit is not and also if
systemd_unitdir contains anything then no need to keep init.d scripts
for sysvinit compatibility.

(From OE-Core rev: 823c90ad344ca2205f3055e2dcae08c6616f29b7)

Signed-off-by: Muhammad Shakeel &lt;muhammad_shakeel@mentor.com&gt;
Signed-off-by: Saul Wold &lt;sgw@linux.intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>systemd: Remove systemd_unitdir if systemd is not in distro features</title>
<updated>2013-07-24T10:35:39+00:00</updated>
<author>
<name>Muhammad Shakeel</name>
<email>muhammad_shakeel@mentor.com</email>
</author>
<published>2013-07-19T11:53:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=67864ca79da08df752487a3a4e1a975546da123d'/>
<id>urn:sha1:67864ca79da08df752487a3a4e1a975546da123d</id>
<content type='text'>
If systemd is not supported DISTRO_FEATURE than there is no need to
package related service files.

(From OE-Core rev: ac5d20f4adac69ea1702694fb50849c9e465b443)

Signed-off-by: Muhammad Shakeel &lt;muhammad_shakeel@mentor.com&gt;
Signed-off-by: Saul Wold &lt;sgw@linux.intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>systemd: Don't enable systemd services when native.</title>
<updated>2013-07-10T08:41:51+00:00</updated>
<author>
<name>Randy Witt</name>
<email>rewitt@lpdev.prtdev.lexmark.com</email>
</author>
<published>2013-06-26T17:33:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=ce1638c50dc44c69717c67049dcc76a1cb5b7e75'/>
<id>urn:sha1:ce1638c50dc44c69717c67049dcc76a1cb5b7e75</id>
<content type='text'>
It shouldn't be desired that systemd enable services when using
class native. Blanking out the SYSTEMD_PACKAGES when native seems
like the most straightforward way to fix this problem.

(From OE-Core rev: e0ce07010d2e818dc43ffdff6f3cdd94f18d7af5)

Signed-off-by: Randy Witt &lt;rewitt@declaratino.com&gt;
Signed-off-by: Saul Wold &lt;sgw@linux.intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>classes: Use modern exception raising syntax</title>
<updated>2013-05-09T13:06:50+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2013-05-07T12:55:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=db8217f6b89be11a17e9f3cba7d98be64d8aded1'/>
<id>urn:sha1:db8217f6b89be11a17e9f3cba7d98be64d8aded1</id>
<content type='text'>
Modern expection rasing syntax is function call format, convert to this
to keep python 3 happy and model correct coding style in the core.

(From OE-Core rev: f4b382754603d3f1caa13824bcc8d06b568bbc59)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>systemd.bbclass: restart service in postinst, not start</title>
<updated>2013-04-09T17:09:14+00:00</updated>
<author>
<name>Ross Burton</name>
<email>ross.burton@intel.com</email>
</author>
<published>2013-04-09T15:48:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=f6ae87e838685bd28c44512b3fd97bc5ad8127a7'/>
<id>urn:sha1:f6ae87e838685bd28c44512b3fd97bc5ad8127a7</id>
<content type='text'>
When upgrading packages it's possible that the service is already running
because opkg doesn't actually execute the prerm hooks on upgrades, which is
where the service should be stopped.

Handle this case by restarting in postinst instead of starting.  If the service
isn't already running then this doesn't make a difference, but if it is running
then the service will be restarted.

[ YOCTO #4213 ]

(From OE-Core rev: 319ef0df4ae7ed0372eff90e11244123eccb023c)

Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>update-rc.d, systemd: redirect also stderr from type</title>
<updated>2013-04-02T17:16:24+00:00</updated>
<author>
<name>Martin Jansa</name>
<email>martin.jansa@gmail.com</email>
</author>
<published>2013-03-28T14:28:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=c0910f26ea0d692c6d22f2e3f87cf710b31fdf0a'/>
<id>urn:sha1:c0910f26ea0d692c6d22f2e3f87cf710b31fdf0a</id>
<content type='text'>
* different shells different behavior?
  bash prints 'type: update-rc.d: not found' on stderr
  busybox's sh on stdout

(From OE-Core rev: 45e22312c48b23480bd6dff98702b0691a48f7d1)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>update-rc.d/systemd: change communication variable name</title>
<updated>2013-03-26T22:43:03+00:00</updated>
<author>
<name>Ross Burton</name>
<email>ross.burton@intel.com</email>
</author>
<published>2013-03-06T15:11:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=d82e303921f24b811b2fea9a5eb846736d997975'/>
<id>urn:sha1:d82e303921f24b811b2fea9a5eb846736d997975</id>
<content type='text'>
Rename SYSTEMD_BBCLASS_ENABLED to INHIBIT_UPDATERCD_BBCLASS to reflect the
action, for clarity.

(From OE-Core rev: cf43320c343437659aee94acd005bf7712f273cd)

Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>systemd: check for systemctl first, and don't force systemd to be installed.</title>
<updated>2013-03-26T22:43:03+00:00</updated>
<author>
<name>Ross Burton</name>
<email>ross.burton@intel.com</email>
</author>
<published>2013-03-05T14:12:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=7bb060ebd0fd803710c20df3559fdd5a66e4d58e'/>
<id>urn:sha1:7bb060ebd0fd803710c20df3559fdd5a66e4d58e</id>
<content type='text'>
With both sysvinit and systemd features enabled these postinsts may actually run
on a target without systemd, so check that systemctl is present before using it.

(From OE-Core rev: ac00e56cb9daacef17a6fdebe7b8ca1667b7e1c4)

Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>systemd.bbclass: fix bb.error</title>
<updated>2013-03-01T13:03:26+00:00</updated>
<author>
<name>Martin Jansa</name>
<email>martin.jansa@gmail.com</email>
</author>
<published>2013-02-27T17:46:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=0ca565d70c9803b7386996c9fb0c843078ad62f6'/>
<id>urn:sha1:0ca565d70c9803b7386996c9fb0c843078ad62f6</id>
<content type='text'>
NOTE: recipe avahi-ui-0.6.31-r7.0: task do_package: Started
ERROR: %s does not appear in package list, please add it avahi-ui-daemon
ERROR: %s does not appear in package list, please add it avahi-ui-dnsconfd

(From OE-Core rev: 36a2bae816b1abf776d0f1a2b6b2c3d9a861a4ca)

Signed-off-by: Martin Jansa &lt;Martin.Jansa@gmail.com&gt;
Signed-off-by: Saul Wold &lt;sgw@linux.intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>systemd.bbclass: Dont use libdir and base_libdir for units</title>
<updated>2013-02-15T12:18:30+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2013-02-14T04:02:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=3b909b369ad8047b99acdf3a32918849f24f6829'/>
<id>urn:sha1:3b909b369ad8047b99acdf3a32918849f24f6829</id>
<content type='text'>
systemd always uses /lib and /usr/lib to store unit files
so using libdir and base_libdir is incorrect. It will work
where libdir is usr/lib and base_libdir is /lib but wont work
when say its /lib64

Add a check to make sure that SYSTEMD_PACKAGES are part of PACKAGES
too, otherwise error out

(From OE-Core rev: 22e16f44b58ae6bbf719b9074d39aac065a402f1)

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
Signed-off-by: Saul Wold &lt;sgw@linux.intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
