]> code.ossystems Code Review - openembedded-core.git/commit
opkg: Fix package dependency issue for preinsts
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 13 Sep 2012 22:40:29 +0000 (23:40 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 14 Sep 2012 08:49:55 +0000 (09:49 +0100)
commit119ef2789484222b94559675a09adc399f3b6bf0
tree7e05407b0f2800320f220263a387935f704c6b87
parent312efe73dad8a9baf32578bd11a1654219d759df
opkg: Fix package dependency issue for preinsts

When processing dependencies, we need to look for both the SW_INSTALL and
SW_UNKNOWN states. If we don't do this, dependencies can be missed
and preinst scripts can run before dependencies are all installed.

This leads to package installation errors for packages like dbus-1
and associated user permission errors.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-devtools/opkg/opkg/fix_installorder.patch
meta/recipes-devtools/opkg/opkg_svn.bb