Install r2modman

This commit is contained in:
Gerald Pinder
2024-02-11 22:56:10 -05:00
parent 6b92ff9540
commit 2ed5deb6df
2 changed files with 14 additions and 0 deletions

View File

@@ -2,6 +2,7 @@ name: jp-desktop
base-image: ghcr.io/ublue-os/kinoite-nvidia base-image: ghcr.io/ublue-os/kinoite-nvidia
image-version: latest image-version: latest
description: The image of Wunker OS for JP's desktop. description: The image of Wunker OS for JP's desktop.
blue-build-tag: main-installer
modules: modules:
- type: files - type: files
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/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 - 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 - from-file: jp-apps.yml
- type: script
scripts:
- install-r2modman.sh

View File

@@ -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