diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-12-22 22:36:06 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-12-22 22:38:09 +0000 |
commit | c38693f78c968ab5f4bb557c20d1c8c55393ed6b (patch) | |
tree | 0abe1e28e360018fd9ae68ebe6c462a21f358904 | |
parent | e07704e6d077eeb31b59c93de7743bda32fa3243 (diff) | |
download | openembedded-core-c38693f78c968ab5f4bb557c20d1c8c55393ed6b.tar.gz openembedded-core-c38693f78c968ab5f4bb557c20d1c8c55393ed6b.tar.bz2 openembedded-core-c38693f78c968ab5f4bb557c20d1c8c55393ed6b.tar.xz openembedded-core-c38693f78c968ab5f4bb557c20d1c8c55393ed6b.zip |
opkg: Fix installation order in feeds with mutiple providers of packages
If two packages were available of differing priority, this would confuse
opkg and it was ignoring the dependency in the new dependency ordering
code. This changes it not to ignore these cases by setting the badly
named 'quiet' parameter accordingly.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-devtools/opkg/opkg/fix_installorder.patch | 2 | ||||
-rw-r--r-- | meta/recipes-devtools/opkg/opkg_svn.bb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-devtools/opkg/opkg/fix_installorder.patch b/meta/recipes-devtools/opkg/opkg/fix_installorder.patch index e782ce738..5e6c40d64 100644 --- a/meta/recipes-devtools/opkg/opkg/fix_installorder.patch +++ b/meta/recipes-devtools/opkg/opkg/fix_installorder.patch @@ -144,7 +144,7 @@ Index: trunk/libopkg/pkg_depends.c + pkg_t *satisfying_pkg = + pkg_hash_fetch_best_installation_candidate(satisfying_apkg, + pkg_installed_and_constraint_satisfied, -+ dependence_to_satisfy, 1); ++ dependence_to_satisfy, 0); + /* Being that I can't test constraing in pkg_hash, I will test it here */ + if (satisfying_pkg != NULL && satisfying_pkg != pkg) { + if (pkg_constraint_satisfied(satisfying_pkg, dependence_to_satisfy) && satisfying_pkg->state_want == SW_INSTALL) diff --git a/meta/recipes-devtools/opkg/opkg_svn.bb b/meta/recipes-devtools/opkg/opkg_svn.bb index 00591d168..f5f540d78 100644 --- a/meta/recipes-devtools/opkg/opkg_svn.bb +++ b/meta/recipes-devtools/opkg/opkg_svn.bb @@ -21,7 +21,7 @@ S = "${WORKDIR}/trunk" SRCREV = "633" PV = "0.1.8+svnr${SRCPV}" -PR = "r4" +PR = "r5" PACKAGES =+ "libopkg${PKGSUFFIX}-dev libopkg${PKGSUFFIX} update-alternatives-cworth${PKGSUFFIX}" |