Configuring Package Repositories

The rpm-ostree utility uses repositories configured in the /etc/yum.repos.d directory.

To enable a specific repository, edit the configuration files in /etc/yum.repos.d and for each desired repository, change the enabled= line to enabled=1

You can add additional repository configuration files to enable third party or local package repositories.

Some repositories provide an RPM package to assist in the configuration. For example, to enable the RPM Fusion Free repository you can use:

$ sudo rpm-ostree install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm

This method of configuration will require a reboot to enable the new image.

$ rpm-ostree status
State: idle
AutomaticUpdates: check; rpm-ostreed-automatic.timer: no runs since boot
Deployments:
● ostree://fedora-iot:fedora/stable/aarch64/iot
                   Version: 29.20190214.0 (2019-02-14T18:18:52Z)
                BaseCommit: 68b1f6c99a678f45e3de04f1252b271cce687a246c0004e45858b343d3637556
              GPGSignature: Valid signature by C2A3FA9DC67F68B98BB543F47BB90722DBBDCF7C
           LayeredPackages: git
             LocalPackages: rpmfusion-free-release-29-1.noarch (1)
1 The package installed from a URL instead of a configured repository will appear with 'LocalPackages'

Additional resources: