Skip to content

More robust prerm and preinst scriptlets

Markus Lehtonen openembedded-core 1 version In review

Get series with b4
b4 am 1476189809-24240-1-git-send-email-markus.lehtonen@linux.intel.com

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2update-rc.d.bbclass: ignore init script return codemeta/classes/update-rc.d.bbclass+2 -20 replies
2/2sysklogd and busybox: ignore return code from init script stopmeta/recipes-core/busybox/busybox.inc meta/recipes-extended/sysklogd/sysklogd.inc+2 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] More robust prerm and preinst scriptlets

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(-)
Signature · 1 line
2.6.6