diff --git a/src/app/rpmostree-compose-builtin-tree.c b/src/app/rpmostree-compose-builtin-tree.c index cd050355..8446624f 100644 --- a/src/app/rpmostree-compose-builtin-tree.c +++ b/src/app/rpmostree-compose-builtin-tree.c @@ -374,7 +374,7 @@ install_packages_in_root (RpmOstreeTreeComposeContext *self, for (guint i = 0; i < repos->len; i++) { DnfRepo *repo = repos->pdata[i]; - if (dnf_repo_get_enabled (repo)) + if (dnf_repo_get_enabled (repo) & DNF_REPO_ENABLED_PACKAGES) { g_autoptr(GDateTime) ts = g_date_time_new_from_unix_utc (dnf_repo_get_timestamp_generated (repo)); g_autofree char *formatted = g_date_time_format (ts, "%Y-%m-%d %T"); diff --git a/src/libpriv/rpmostree-core.c b/src/libpriv/rpmostree-core.c index 7b108ab8..e3ecd9ef 100644 --- a/src/libpriv/rpmostree-core.c +++ b/src/libpriv/rpmostree-core.c @@ -1279,7 +1279,7 @@ rpmostree_context_prepare_install (RpmOstreeContext *self, for (guint i = 0; i < repos->len; i++) { DnfRepo *repo = repos->pdata[i]; - if (!dnf_repo_get_enabled (repo)) + if ((dnf_repo_get_enabled (repo) & DNF_REPO_ENABLED_PACKAGES) == 0) continue; if (first) first = FALSE;