> On Oct 11, 2016, at 5:43 AM, Markus Lehtonen > <markus.lehto...@linux.intel.com> wrote: > > 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.
perhaps checking if its running before trying to stop it might be another option > > 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 > > -- > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-core
signature.asc
Description: Message signed with OpenPGP using GPGMail
-- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core