pkg_hash: don't swallow dependencies
authorDaniel Golle <daniel@makrotopia.org>
Mon, 2 Nov 2020 14:35:12 +0000 (14:35 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Mon, 2 Nov 2020 16:56:11 +0000 (16:56 +0000)
commitb4fa2a8f6c2a0149d602db5d1e2dba6145113aaa
tree299b95d2c09208360a3ac25d5fc3fa609636f72f
parent8769c75199b4668878176bde0e5faebf3bc61663
pkg_hash: don't swallow dependencies

Checking for unsatisfiable dependencies had the unwanted side-effect of
making opkg skip **all** dependencies. Fix that by clearing the
dependencies_checked flag after calling to
pkg_hash_fetch_unsatisfied_dependencies(), similar to how it is also
done in opkg.c.

Fixes: 8769c75 ("pkg_hash: don't suggest incompatible packages")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
libopkg/pkg_hash.c