systemd.bbclass: drop postrm, use prerm instead
authorAndreas Oberritter <obi@opendreambox.org>
Wed, 16 May 2012 16:56:01 +0000 (16:56 +0000)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 16:20:49 +0000 (08:20 -0800)
commit9bd87672a618d5fe982b669df6ded82e9eb44f06
treead7f692f52cd5fa4267b150b1b964e3b84e7e4b0
parentdafadde9bbc2fd7577b49f86201e8ff51e2acd48
systemd.bbclass: drop postrm, use prerm instead

* Calling "systemctl disable" from postrm is too late and
  causes the following error:

| Failed to issue method call: No such file or directory

* Messing with $D is not needed in *rm scripts.

(From meta-openembedded rev: 637cb7e3d2cfdc74d239a4257e6f3477aa17da4e)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-openembedded/meta-oe/classes/systemd.bbclass