[OE-core] [PATCH 0/2] More robust prerm and preinst scriptlets

Markus Lehtonen markus.lehtonen at linux.intel.com
Tue Oct 11 12:43:27 UTC 2016


These patches prevent package deinstallation and upgrade failures caused by
init script error on opkg-based systems. The problem was that init script
'stop' will likely return '1' if the daemon is not running. This, in turn
caused the scriptlet to error out preventing package (de-)installation.

Markus Lehtonen (2):
  update-rc.d.bbclass: ignore init script return code
  sysklogd and busybox: ignore return code from init script stop

 meta/classes/update-rc.d.bbclass            | 4 ++--
 meta/recipes-core/busybox/busybox.inc       | 2 +-
 meta/recipes-extended/sysklogd/sysklogd.inc | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

-- 
2.6.6




More information about the Openembedded-core mailing list