From 2ed5deb6dfbb5613ec8e7dabce2e14fa89fe6d37 Mon Sep 17 00:00:00 2001 From: Gerald Pinder <4626052+gmpinder@users.noreply.github.com> Date: Sun, 11 Feb 2024 22:56:10 -0500 Subject: [PATCH] Install r2modman --- config/recipe-jp-desktop.yml | 4 ++++ config/scripts/install-r2modman.sh | 10 ++++++++++ 2 files changed, 14 insertions(+) create mode 100755 config/scripts/install-r2modman.sh diff --git a/config/recipe-jp-desktop.yml b/config/recipe-jp-desktop.yml index 3638b72..326e328 100644 --- a/config/recipe-jp-desktop.yml +++ b/config/recipe-jp-desktop.yml @@ -2,6 +2,7 @@ name: jp-desktop base-image: ghcr.io/ublue-os/kinoite-nvidia image-version: latest description: The image of Wunker OS for JP's desktop. +blue-build-tag: main-installer modules: - type: files files: @@ -14,3 +15,6 @@ modules: - COPY --from=registry.gitlab.com/wunker-bunker/xboxdrv-docker /usr/local/bin/xboxdrvctl /usr/bin/xboxdrvctl - COPY --from=registry.gitlab.com/wunker-bunker/xboxdrv-docker /usr/local/share/man/man1/xboxdrv.1 /usr/share/man/man1/xboxdrv.1 - from-file: jp-apps.yml + - type: script + scripts: + - install-r2modman.sh diff --git a/config/scripts/install-r2modman.sh b/config/scripts/install-r2modman.sh new file mode 100755 index 0000000..f7bd7af --- /dev/null +++ b/config/scripts/install-r2modman.sh @@ -0,0 +1,10 @@ +#!/usr/bin/env bash + +set -xeuo pipefail + +VERSION="3.1.46" + +curl -L https://github.com/ebkr/r2modmanPlus/releases/download/v${VERSION}/r2modman-${VERSION}.x86_64.rpm -o r2modman-${VERSION}.x86_64.rpm + +rpm-ostree install r2modman-${VERSION}.x86_64.rpm +rm -f r2modman-${VERSION}.x86_64.rpm