upgrader: Drop "Need to overlay" output

This came up in #403, but looking at this more, I don't see a need to
print out the input package set here.  The list of overlaid packages
is very clear in `rpm-ostree status`, and the user knows what they
typed on the command line.

Closes: https://github.com/projectatomic/rpm-ostree/issues/403

Closes: #404
Approved by: jlebon
This commit is contained in:
Colin Walters 2016-07-24 14:22:19 -04:00 committed by Atomic Bot
parent 4ccee066a0
commit 8be495273e

View File

@ -1077,19 +1077,6 @@ overlay_final_pkgset (RpmOstreeSysrootUpgrader *self,
g_autoptr(GHashTable) pkgset = hashset_from_strv (self->requested_packages);
glnx_unref_object OstreeRepo *pkgcache_repo = NULL;
{ int n = g_hash_table_size (pkgset);
GHashTableIter it;
gpointer itkey;
g_assert (n > 0);
g_print ("Need to overlay %d package%s onto tree %.7s:\n",
n, n > 1 ? "s" : "", base_rev);
g_hash_table_iter_init (&it, pkgset);
while (g_hash_table_iter_next (&it, &itkey, NULL))
g_print (" %s\n", (char*)itkey);
}
ctx = rpmostree_context_new_system (cancellable, error);
/* point libhif to the yum.repos.d and os-release of the merge_deployment */