From 856f1554bc1c0a964327a096442677b51c4fb0f7 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 3 Apr 2009 18:08:16 +0200 Subject: [PATCH] Add some printfs when finding/sorting required deps. --HG-- extra : convert_revision : f113844179d22f00390c218486cd34fdd23be6a4 --- lib/depends.c | 2 ++ lib/install.c | 1 + 2 files changed, 3 insertions(+) diff --git a/lib/depends.c b/lib/depends.c index 5b996c22258..4facfc590ae 100644 --- a/lib/depends.c +++ b/lib/depends.c @@ -570,6 +570,7 @@ xbps_install_pkg_deps(const char *pkgname, bool update) /* * Sort the dependency chain into an array. */ + printf("Sorting dependency list...\n"); if ((rv = xbps_sort_pkg_deps(chaindeps)) != 0) return rv; @@ -596,6 +597,7 @@ xbps_install_pkg_deps(const char *pkgname, bool update) /* * Install all required dependencies, previously sorted. */ + printf("Installing required dependencies...\n"); while ((obj = prop_object_iterator_next(iter)) != NULL) { rv = xbps_install_binary_pkg_fini(NULL, obj, update); if (rv != 0) diff --git a/lib/install.c b/lib/install.c index 3102c28f50f..4faf3a7a7ef 100644 --- a/lib/install.c +++ b/lib/install.c @@ -189,6 +189,7 @@ install_binpkg_repo_cb(prop_object_t obj, void *arg, bool *cbloop_done) /* * Construct the dependency chain for this package. */ + printf("Finding required dependencies...\n"); if ((rv = xbps_find_deps_in_pkg(pkgrd)) != 0) { prop_object_release(repod); if (rv == ENOENT) {