Create r2modman module
This commit is contained in:
7
config/r2modman.yml
Normal file
7
config/r2modman.yml
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
modules:
|
||||||
|
- type: rpm-ostree
|
||||||
|
optfix:
|
||||||
|
- r2modman
|
||||||
|
- type: script
|
||||||
|
scripts:
|
||||||
|
- install-r2modman.sh
|
||||||
@@ -4,6 +4,7 @@ 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
|
blue-build-tag: main-installer
|
||||||
modules:
|
modules:
|
||||||
|
- from-file: r2modman.yml
|
||||||
- type: files
|
- type: files
|
||||||
files:
|
files:
|
||||||
- 8bitdo-ultimate: /usr
|
- 8bitdo-ultimate: /usr
|
||||||
@@ -15,6 +16,3 @@ 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
|
|
||||||
|
|||||||
@@ -1,10 +1,9 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
set -xeuo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
VERSION="3.1.46"
|
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
|
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
|
rpm-ostree install r2modman-${VERSION}.x86_64.rpm
|
||||||
rm -f r2modman-${VERSION}.x86_64.rpm
|
|
||||||
|
|||||||
Reference in New Issue
Block a user