Changeset a5bcce5a in oe-alliance-core

Timestamp:
09/18/16 05:40:18 (6 years ago)
Author:
Schimmelreiter <Ziggy.SpaceRat@…>
Branches:
4.0, 4.3
Children:
9e89afb, d29be0de
Parents:
22cd370
Message:

[opkg] Fix all opkg errors
Contains three resp. four fixes to opkg:

  1. Errorlevel !=0 in prerm and postrm are no longer fatal This was inacceptable behaviour: We inherit 99% of all prerm and postrm scripts from oe and can not modify them all. Errorlevel !=0 also does not necessarily indicate an error at all, it can also mean that a daemon to stop was already stopped, which is irrelevant for its removal/upgrade.
  2. Scripts were executed in order prerm, preinst, postrm, postinst This led to users created in preinst to be deleted by postrm Scripts are now executed in proper order prerm, postrm, preinst, postinst
  3. prerm and postrm are not executed for busybox This was the behaviour in opkg 0.2.x for ALL packages For busybox we need to keep it, as subsequent updates would otherwise fail due to missing ls, cp, mv, rm, ... applets (Already pre-removed/post-removed and not yet pre-installed/post-installed again)
(No files)

Note: See TracChangeset for help on using the changeset viewer.