Skip to content

Commit

Permalink
core: Don't exclude modular packages
Browse files Browse the repository at this point in the history
For now, we don't natively support modules. But we still want to be able
to install modular packages if the repos are enabled, but libdnf
automatically filters them out. So for now, let's tell libdnf that we do
want to be able to see them.

Related: #1435
  • Loading branch information
jlebon committed Mar 22, 2019
1 parent 891f5b7 commit 424c01b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/libpriv/rpmostree-core.c
Expand Up @@ -1159,6 +1159,12 @@ rpmostree_context_download_metadata (RpmOstreeContext *self,
g_signal_handler_disconnect (hifstate, progress_sigid);
}

/* For now, we don't natively support modules. But we still want to be able to install
* modular packages if the repos are enabled, but libdnf automatically filters them out.
* So for now, let's tell libdnf that we do want to be able to see them. See:
* https://github.com/projectatomic/rpm-ostree/issues/1435 */
dnf_sack_set_module_excludes (dnf_context_get_sack (self->dnfctx), NULL);

return TRUE;
}

Expand Down

0 comments on commit 424c01b

Please sign in to comment.