]> code.ossystems Code Review - openembedded-core.git/commit
update-rc: Stop and remove service if updating package
authorFelipe F. Tonello <eu@felipetonello.com>
Thu, 3 Oct 2013 21:42:00 +0000 (14:42 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 14 Oct 2013 15:54:28 +0000 (16:54 +0100)
commitd91b08f3a27baa49ae35dc20dba1b2d76e6abd64
treeaf0e17b028c2a28c542d4b11213a510c3cff20cf
parenta5afc67cbfc32beb3be10392bf9788cfc3610ab1
update-rc: Stop and remove service if updating package

Since when updating packages packages managers do not remove the previous package,
it just replaces new files and run pre/post install scripts. This causes not
to update update-rc scripts if they were changed.

This patch is useful in case the newer package version updated the update-rc
script.

Signed-off-by: Felipe F. Tonello <eu@felipetonello.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/update-rc.d.bbclass