Changeset 1319a29b in oe-alliance-core
- Timestamp:
-
09/18/16 11:30:45
(7 years ago)
- Author:
- Schimmelreiter <Ziggy.SpaceRat@…>
- Branches:
- 4.0, 4.3
- Children:
- ba80a14
- Parents:
- 5760373
- Message:
-
[opkg] Fix all known opkg errors
Contains three resp. four fixes to opkg:
- 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.
- 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
- 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)
- opkg failed when installing multiple packages and some were no longer available
from feeds. With fix it will continue to install what's there and just skip the
missing ones (Merged previous fix from Captain for that)
-
(No files)
-