X-Git-Url: https://git.librecmc.org/?p=oweals%2Fopkg-lede.git;a=blobdiff_plain;f=libopkg%2Fopkg_cmd.c;h=88a0b5f13fb5e8baae7200dbb78b9ce83e6ef478;hp=439a8606ed29e7352d5aafbc6e509a74d5adc725;hb=743aa6642e39c5f20a79e675ee509941da0f728a;hpb=993e14cd113fccd973c35fd1322625804d5e5142 diff --git a/libopkg/opkg_cmd.c b/libopkg/opkg_cmd.c index 439a860..88a0b5f 100644 --- a/libopkg/opkg_cmd.c +++ b/libopkg/opkg_cmd.c @@ -38,7 +38,6 @@ #include "opkg_upgrade.h" #include "opkg_remove.h" #include "opkg_configure.h" -#include "libopkg.h" #include "xsystem.h" static void @@ -302,7 +301,7 @@ opkg_recurse_pkgs_in_order(pkg_t *pkg, pkg_vec_t *all, /* If the package has already been visited (by this function), skip it */ for(j = 0; j < visited->len; j++) if ( ! strcmp(visited->pkgs[j]->name, pkg->name)) { - opkg_msg(INFO, "pkg %s already visited, skipping.\n", pkg->name); + opkg_msg(DEBUG, "pkg %s already visited, skipping.\n", pkg->name); return 0; } @@ -311,7 +310,7 @@ opkg_recurse_pkgs_in_order(pkg_t *pkg, pkg_vec_t *all, count = pkg->pre_depends_count + pkg->depends_count + \ pkg->recommends_count + pkg->suggests_count; - opkg_msg(INFO, "pkg %s.\n", pkg->name); + opkg_msg(DEBUG, "pkg %s.\n", pkg->name); /* Iterate over all the dependencies of pkg. For each one, find a package that is either installed or unpacked and satisfies this dependency. @@ -326,7 +325,7 @@ opkg_recurse_pkgs_in_order(pkg_t *pkg, pkg_vec_t *all, l = 0; if (dependents != NULL) while (l < abpkg->provided_by->len && dependents[l] != NULL) { - opkg_msg(INFO, "Descending on pkg %s.\n", + opkg_msg(DEBUG, "Descending on pkg %s.\n", dependents [l]->name); /* find whether dependent l is installed or unpacked, @@ -401,6 +400,7 @@ opkg_configure_packages(char *pkg_name) pkg->state_status = SS_INSTALLED; pkg->parent->state_status = SS_INSTALLED; pkg->state_flag &= ~SF_PREFER; + opkg_state_changed++; } else { if (!err) err = r;