From 391610c0e14ed93f2dcaf790ac30e2cd15f6179e Mon Sep 17 00:00:00 2001 From: Micah Abbott Date: Mon, 21 Nov 2022 12:12:10 -0500 Subject: [PATCH] rpm-fusion: add instructions for ostree-based systems --- ...repositories-for-ostree-based-systems.adoc | 60 +++++++++++++++++++ modules/ROOT/pages/setup_rpmfusion.adoc | 2 + 2 files changed, 62 insertions(+) create mode 100644 modules/ROOT/pages/_partials/proc_enabling-the-rpmfusion-repositories-for-ostree-based-systems.adoc diff --git a/modules/ROOT/pages/_partials/proc_enabling-the-rpmfusion-repositories-for-ostree-based-systems.adoc b/modules/ROOT/pages/_partials/proc_enabling-the-rpmfusion-repositories-for-ostree-based-systems.adoc new file mode 100644 index 0000000..188026a --- /dev/null +++ b/modules/ROOT/pages/_partials/proc_enabling-the-rpmfusion-repositories-for-ostree-based-systems.adoc @@ -0,0 +1,60 @@ +// Module included in the following assemblies: +// +// + +// This module can be included from assemblies using the following include statement: +// include::modules/proc_enabling-the-rpmfusion-repositories-for-ostree-based-systems.adoc[leveloffset=+1] + +// The file name and the ID are based on the module title. For example: +// * file name: proc_doing-procedure-a.adoc +// * ID: [id='proc_doing-procedure-a_{context}'] +// * Title: = Doing procedure A +// +// The ID is used as an anchor for linking to the module. Avoid changing +// it after the module has been published to ensure existing links are not +// broken. +// +// The `context` attribute enables module reuse. Every module's ID includes +// {context}, which ensures that the module has a unique ID even if it is +// reused multiple times in a guide. +// +// Start the title with a verb, such as Creating or Create. See also +// _Wording of headings_ in _The IBM Style Guide_. +[id="proc_enabling-the-rpmfusion-repositories-for-ostree-based-systems_{context}"] += Enabling the RPM Fusion repositories for ostree-based systems + +This procedure describes how to enable the RPM Fusion software repositories for systems based on ostree (i.e. Silverblue, Kinoite, Fedora IoT). + +This is a two-stage process where you have to install versioned RPM Fusion repos and then you are able to replace them with unversioned RPM Fusion repos. + +[discrete] +== Prerequisites + +* You are using an ostree-based system such as Silverblue, Kinoite, or Fedora IoT. +* You have internet access. + +[discrete] +== Procedure + +. To install the versioned _Free_ and _Nonfree_ RPM Fusion repos: ++ +[subs=+quotes] +---- +$ sudo rpm-ostree install \ + https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm \ + https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm +$ reboot +---- + +. To replace the versioned RPM Fusion repos that were previously installed with the unversioned repos: ++ +[subs=+quotes] +---- +$ sudo rpm-ostree update \ + --uninstall rpmfusion-free-release \ + --uninstall rpmfusion-nonfree-release \ + --install rpmfusion-free-release \ + --install rpmfusion-nonfree-release +$ reboot +---- + diff --git a/modules/ROOT/pages/setup_rpmfusion.adoc b/modules/ROOT/pages/setup_rpmfusion.adoc index dcd6317..630a819 100644 --- a/modules/ROOT/pages/setup_rpmfusion.adoc +++ b/modules/ROOT/pages/setup_rpmfusion.adoc @@ -9,10 +9,12 @@ include::{partialsdir}/con_the-purpose-of-rpm-fusion.adoc[leveloffset=+1] include::{partialsdir}/proc_enabling-the-rpmfusion-repositories-using-command-line-utilities.adoc[leveloffset=+1] include::{partialsdir}/proc_enabling-the-rpmfusion-repositories-using-graphical-applications.adoc[leveloffset=+1] include::{partialsdir}/proc_enabling-the-rpmfusion-repositories-appstream-data.adoc[leveloffset=+1] +include::{partialsdir}/proc_enabling-the-rpmfusion-repositories-for-ostree-based-systems.adoc[leveloffset=+1] == References * https://rpmfusion.org/Configuration +* https://rpmfusion.org/Howto/OSTree ifdef::parent-context[:context: {parent-context}] ifndef::parent-context[:!context:]