Compare commits
13 Commits
31e3c1dba0
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 6fd6f53c6b | |||
| 0201d34ca4 | |||
| 1f4fce7c09 | |||
| 2fba256137 | |||
| 91a9fe4b47 | |||
| 11709b9427 | |||
| 94c0ff6f53 | |||
| 604a362a02 | |||
| 9fe73f5652 | |||
| fd7b07857b | |||
| 0aedef6ce5 | |||
| f0e9516020 | |||
| 2f96a17e11 |
@@ -20,7 +20,6 @@ variables:
|
|||||||
RUST_LOG_STYLE: always
|
RUST_LOG_STYLE: always
|
||||||
BB_SIGNING_DRIVER: sigstore
|
BB_SIGNING_DRIVER: sigstore
|
||||||
BB_BUILD_PUSH: 'true'
|
BB_BUILD_PUSH: 'true'
|
||||||
BB_BUILD_CHUNKED_OCI: 'true'
|
|
||||||
CLICOLOR_FORCE: 1
|
CLICOLOR_FORCE: 1
|
||||||
TAG: main
|
TAG: main
|
||||||
|
|
||||||
@@ -28,6 +27,7 @@ default:
|
|||||||
services:
|
services:
|
||||||
- docker:dind
|
- docker:dind
|
||||||
interruptible: true
|
interruptible: true
|
||||||
|
retry: 2
|
||||||
image: ghcr.io/blue-build/cli:$TAG
|
image: ghcr.io/blue-build/cli:$TAG
|
||||||
before_script:
|
before_script:
|
||||||
- curl --silent "https://gitlab.com/gitlab-org/incubation-engineering/mobile-devops/download-secure-files/-/raw/main/installer" | bash
|
- curl --silent "https://gitlab.com/gitlab-org/incubation-engineering/mobile-devops/download-secure-files/-/raw/main/installer" | bash
|
||||||
@@ -44,6 +44,7 @@ base-images:
|
|||||||
stage: base-images
|
stage: base-images
|
||||||
variables:
|
variables:
|
||||||
BB_BUILD_CHUNKED_OCI_MAX_LAYERS: '64'
|
BB_BUILD_CHUNKED_OCI_MAX_LAYERS: '64'
|
||||||
|
BB_BUILD_CHUNKED_OCI: 'true'
|
||||||
rules:
|
rules:
|
||||||
# Run when any of the base recipes change
|
# Run when any of the base recipes change
|
||||||
- changes:
|
- changes:
|
||||||
|
|||||||
@@ -24,17 +24,8 @@ chmod 1777 /var/tmp
|
|||||||
##################################
|
##################################
|
||||||
KERNEL_VERSION="$(rpm -q "kernel" --queryformat '%{VERSION}-%{RELEASE}.%{ARCH}')"
|
KERNEL_VERSION="$(rpm -q "kernel" --queryformat '%{VERSION}-%{RELEASE}.%{ARCH}')"
|
||||||
RELEASE="$(rpm -E '%fedora.%_arch')"
|
RELEASE="$(rpm -E '%fedora.%_arch')"
|
||||||
if [[ "$IMAGE_NAME" == *"open"* ]]; then
|
|
||||||
curl -fLsS --retry 5 -o /etc/yum.repos.d/negativo17-fedora-nvidia.repo https://negativo17.org/repos/fedora-nvidia.repo
|
curl -fLsS --retry 5 -o /etc/yum.repos.d/negativo17-fedora-nvidia.repo https://negativo17.org/repos/fedora-nvidia.repo
|
||||||
sed -i '/^enabled=1/a\priority=90' /etc/yum.repos.d/negativo17-fedora-nvidia.repo
|
sed -i '/^enabled=1/a\priority=90' /etc/yum.repos.d/negativo17-fedora-nvidia.repo
|
||||||
else
|
|
||||||
curl -fLsS --retry 5 -o /etc/yum.repos.d/fedora-nvidia-580.repo https://negativo17.org/repos/fedora-nvidia-580.repo
|
|
||||||
sed -i '/^enabled=1/a\priority=90' /etc/yum.repos.d/fedora-nvidia-580.repo
|
|
||||||
|
|
||||||
if [ -f /etc/yum.repos.d/fedora-multimedia.repo ]; then
|
|
||||||
sed -i 's/^enabled=.*/enabled=0/' /etc/yum.repos.d/fedora-multimedia.repo
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
#################################
|
#################################
|
||||||
# Kernel module
|
# Kernel module
|
||||||
@@ -61,6 +52,7 @@ modinfo /usr/lib/modules/${KERNEL_VERSION}/extra/nvidia/nvidia{,-drm,-modeset,-p
|
|||||||
# shellcheck disable=SC2086
|
# shellcheck disable=SC2086
|
||||||
modinfo -l /usr/lib/modules/${KERNEL_VERSION}/extra/nvidia/nvidia{,-drm,-modeset,-peermem,-uvm}.ko.xz
|
modinfo -l /usr/lib/modules/${KERNEL_VERSION}/extra/nvidia/nvidia{,-drm,-modeset,-peermem,-uvm}.ko.xz
|
||||||
|
|
||||||
|
chmod +x ./signmodules.sh
|
||||||
./signmodules.sh "nvidia"
|
./signmodules.sh "nvidia"
|
||||||
|
|
||||||
##################################
|
##################################
|
||||||
|
|||||||
7
files/spyro2-client-desktop/spyro2-ap-client.desktop
Normal file
7
files/spyro2-client-desktop/spyro2-ap-client.desktop
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Type=Application
|
||||||
|
Name=Spyro 2 Archipelago Client
|
||||||
|
GenericName=Spyro 2 Client
|
||||||
|
Exec=/opt/S2AP/S2AP.Desktop
|
||||||
|
Categories=Game;
|
||||||
|
StartupNotify=false
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
# yaml-language-server: $schema=https://schema.blue-build.org/recipe-v1.json
|
# yaml-language-server: $schema=https://schema.blue-build.org/recipe-v1.json
|
||||||
name: cosmic-nvidia
|
name: cosmic-nvidia
|
||||||
base-image: quay.io/fedora-ostree-desktops/base-atomic
|
base-image: quay.io/fedora-ostree-desktops/base-atomic
|
||||||
image-version: 42
|
image-version: 43
|
||||||
description: The base image of Wunker OS with COSMIC for Nvidia
|
description: The base image of Wunker OS with COSMIC for Nvidia
|
||||||
modules:
|
modules:
|
||||||
- from-file: base/common.yml
|
- from-file: base/common.yml
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
# yaml-language-server: $schema=https://schema.blue-build.org/recipe-v1.json
|
# yaml-language-server: $schema=https://schema.blue-build.org/recipe-v1.json
|
||||||
name: cosmic
|
name: cosmic
|
||||||
base-image: quay.io/fedora-ostree-desktops/base-atomic
|
base-image: quay.io/fedora-ostree-desktops/base-atomic
|
||||||
image-version: 42
|
image-version: 43
|
||||||
description: The base image of Wunker OS with COSMIC
|
description: The base image of Wunker OS with COSMIC
|
||||||
modules:
|
modules:
|
||||||
- from-file: base/common.yml
|
- from-file: base/common.yml
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
# yaml-language-server: $schema=https://schema.blue-build.org/recipe-v1.json
|
# yaml-language-server: $schema=https://schema.blue-build.org/recipe-v1.json
|
||||||
name: kinoite-nvidia
|
name: kinoite-nvidia
|
||||||
base-image: quay.io/fedora-ostree-desktops/kinoite
|
base-image: quay.io/fedora-ostree-desktops/kinoite
|
||||||
image-version: 42
|
image-version: 43
|
||||||
description: The base image of Wunker OS with Plasma for Nvidia
|
description: The base image of Wunker OS with Plasma for Nvidia
|
||||||
modules:
|
modules:
|
||||||
- from-file: base/common.yml
|
- from-file: base/common.yml
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
# yaml-language-server: $schema=https://schema.blue-build.org/recipe-v1.json
|
# yaml-language-server: $schema=https://schema.blue-build.org/recipe-v1.json
|
||||||
name: kinoite
|
name: kinoite
|
||||||
base-image: quay.io/fedora-ostree-desktops/kinoite
|
base-image: quay.io/fedora-ostree-desktops/kinoite
|
||||||
image-version: 42
|
image-version: 43
|
||||||
description: The base image of Wunker OS with Plasma
|
description: The base image of Wunker OS with Plasma
|
||||||
modules:
|
modules:
|
||||||
- from-file: base/common.yml
|
- from-file: base/common.yml
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
# yaml-language-server: $schema=https://schema.blue-build.org/recipe-v1.json
|
# yaml-language-server: $schema=https://schema.blue-build.org/recipe-v1.json
|
||||||
name: base-nvidia
|
name: base-nvidia
|
||||||
base-image: quay.io/fedora-ostree-desktops/base-atomic
|
base-image: quay.io/fedora-ostree-desktops/base-atomic
|
||||||
image-version: 42
|
image-version: 43
|
||||||
description: The base image of Wunker OS
|
description: The base image of Wunker OS
|
||||||
modules:
|
modules:
|
||||||
- from-file: base/common.yml
|
- from-file: base/common.yml
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
# yaml-language-server: $schema=https://schema.blue-build.org/recipe-v1.json
|
# yaml-language-server: $schema=https://schema.blue-build.org/recipe-v1.json
|
||||||
name: base
|
name: base
|
||||||
base-image: quay.io/fedora-ostree-desktops/base-atomic
|
base-image: quay.io/fedora-ostree-desktops/base-atomic
|
||||||
image-version: 42
|
image-version: 43
|
||||||
description: The base image of Wunker OS
|
description: The base image of Wunker OS
|
||||||
modules:
|
modules:
|
||||||
- from-file: base/common.yml
|
- from-file: base/common.yml
|
||||||
|
|||||||
@@ -1,2 +1,3 @@
|
|||||||
modules:
|
modules:
|
||||||
- type: signing
|
- type: signing
|
||||||
|
- from-file: common/ms-fonts.yml
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ modules:
|
|||||||
- patch
|
- patch
|
||||||
- rpmdevtools
|
- rpmdevtools
|
||||||
- protobuf-compiler
|
- protobuf-compiler
|
||||||
# - helix
|
- helix
|
||||||
- tofu
|
- tofu
|
||||||
- terraform
|
- terraform
|
||||||
- terraform-ls
|
- terraform-ls
|
||||||
|
|||||||
@@ -5,4 +5,6 @@ modules:
|
|||||||
- cabextract
|
- cabextract
|
||||||
- xorg-x11-font-utils
|
- xorg-x11-font-utils
|
||||||
- fontconfig
|
- fontconfig
|
||||||
- https://downloads.sourceforge.net/project/mscorefonts2/rpms/msttcore-fonts-installer-2.6-1.noarch.rpm
|
- type: script
|
||||||
|
snippets:
|
||||||
|
- rpm -i --nodigest https://downloads.sourceforge.net/project/mscorefonts2/rpms/msttcore-fonts-installer-2.6-1.noarch.rpm
|
||||||
|
|||||||
@@ -12,6 +12,10 @@ stages:
|
|||||||
scripts:
|
scripts:
|
||||||
- build-spyro2-client.sh
|
- build-spyro2-client.sh
|
||||||
modules:
|
modules:
|
||||||
|
- type: files
|
||||||
|
files:
|
||||||
|
- source: spyro2-client-desktop
|
||||||
|
destination: /usr/share/applications/
|
||||||
- type: copy
|
- type: copy
|
||||||
from: spyro2
|
from: spyro2
|
||||||
src: /app/S2AP/source/S2AP.Desktop/bin/Release/net8.0/linux-x64/publish/*
|
src: /app/S2AP/source/S2AP.Desktop/bin/Release/net8.0/linux-x64/publish/*
|
||||||
|
|||||||
@@ -4,8 +4,6 @@ name: cp-laptop
|
|||||||
base-image: registry.gitlab.com/wunker-bunker/wunker-os/kinoite
|
base-image: registry.gitlab.com/wunker-bunker/wunker-os/kinoite
|
||||||
image-version: latest
|
image-version: latest
|
||||||
description: The image of Wunker OS for CP's laptop.
|
description: The image of Wunker OS for CP's laptop.
|
||||||
stages:
|
|
||||||
- from-file: common/spyro2-rando-client.yaml
|
|
||||||
modules:
|
modules:
|
||||||
- from-file: common/common.yml
|
- from-file: common/common.yml
|
||||||
- type: dnf
|
- type: dnf
|
||||||
@@ -28,7 +26,5 @@ modules:
|
|||||||
- type: script
|
- type: script
|
||||||
scripts:
|
scripts:
|
||||||
- install-archipelago.sh
|
- install-archipelago.sh
|
||||||
- from-file: common/ms-fonts.yml
|
|
||||||
- from-file: common/updates.yml
|
- from-file: common/updates.yml
|
||||||
- from-file: common/spyro2-rando-client.yaml
|
|
||||||
- from-file: common/post-build.yml
|
- from-file: common/post-build.yml
|
||||||
|
|||||||
@@ -6,24 +6,9 @@ image-version: latest
|
|||||||
description: The image of Wunker OS for JP's desktop gaming.
|
description: The image of Wunker OS for JP's desktop gaming.
|
||||||
blue-build-tag: none
|
blue-build-tag: none
|
||||||
nushell-version: none
|
nushell-version: none
|
||||||
stages:
|
# stages:
|
||||||
- from-file: common/helix.yml
|
# - from-file: common/helix.yml
|
||||||
- from-file: common/spyro2-rando-client.yaml
|
|
||||||
# - name: cosmic-comp
|
|
||||||
# from: rust
|
|
||||||
# modules:
|
|
||||||
# - type: cosmic
|
|
||||||
# source: local
|
|
||||||
# component: cosmic-comp
|
|
||||||
# # ref: bebd7c5c40c038470d2eef0501a3efb34f2df966 # Known bug commit
|
|
||||||
# # ref: db13eea91c15ca57d76454432d1fb9c09c51ba8c # Last known working commit
|
|
||||||
# ref: 605bb63a4de640b77f6d3017238ece48cb286933 # supposed fix
|
|
||||||
modules:
|
modules:
|
||||||
- from-file: common/jp-desktop.yml
|
- from-file: common/jp-desktop.yml
|
||||||
- from-file: common/helix.yml
|
# - from-file: common/helix.yml
|
||||||
- from-file: common/spyro2-rando-client.yaml
|
|
||||||
# - type: copy
|
|
||||||
# from: cosmic-comp
|
|
||||||
# src: /out/cosmic-comp
|
|
||||||
# dest: /usr/bin/cosmic-comp
|
|
||||||
- from-file: common/post-build.yml
|
- from-file: common/post-build.yml
|
||||||
|
|||||||
@@ -4,9 +4,9 @@ name: jp-laptop
|
|||||||
base-image: registry.gitlab.com/wunker-bunker/wunker-os/combo
|
base-image: registry.gitlab.com/wunker-bunker/wunker-os/combo
|
||||||
image-version: latest
|
image-version: latest
|
||||||
description: The image of Wunker OS for JP's Laptop.
|
description: The image of Wunker OS for JP's Laptop.
|
||||||
stages:
|
# stages:
|
||||||
- from-file: common/helix.yml
|
# - from-file: common/helix.yml
|
||||||
modules:
|
modules:
|
||||||
- from-file: common/jp-laptop.yml
|
- from-file: common/jp-laptop.yml
|
||||||
- from-file: common/helix.yml
|
# - from-file: common/helix.yml
|
||||||
- from-file: common/post-build.yml
|
- from-file: common/post-build.yml
|
||||||
|
|||||||
@@ -7,7 +7,6 @@ description: The image of Wunker OS for PG's desktop gaming.
|
|||||||
modules:
|
modules:
|
||||||
- from-file: common/common.yml
|
- from-file: common/common.yml
|
||||||
- from-file: common/updates.yml
|
- from-file: common/updates.yml
|
||||||
- from-file: common/ms-fonts.yml
|
|
||||||
- from-file: common/gaming.yml
|
- from-file: common/gaming.yml
|
||||||
- type: dnf
|
- type: dnf
|
||||||
install:
|
install:
|
||||||
|
|||||||
Reference in New Issue
Block a user