Build cosmic-comp debug
This commit is contained in:
17
files/scripts/install-cosmic-comp.sh
Normal file
17
files/scripts/install-cosmic-comp.sh
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
apt-get update && apt-get install -y git libudev-dev libseat-dev libxkbcommon-dev libinput-dev libgbm-dev
|
||||||
|
|
||||||
|
mkdir -p /src/
|
||||||
|
cd /src/
|
||||||
|
|
||||||
|
git clone https://github.com/pop-os/cosmic-comp.git
|
||||||
|
cd cosmic-comp
|
||||||
|
|
||||||
|
make vendor
|
||||||
|
make all DEBUG=1 VENDOR=1
|
||||||
|
|
||||||
|
mkdir -p /out/
|
||||||
|
mv target/debug/cosmic-comp /out/cosmic-comp
|
||||||
14
recipes/common/cosmic-comp.yml
Normal file
14
recipes/common/cosmic-comp.yml
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
---
|
||||||
|
# yaml-language-server: $schema=https://schema.blue-build.org/module-stage-list-v1.json
|
||||||
|
stages:
|
||||||
|
- name: cosmic-comp
|
||||||
|
from: rust
|
||||||
|
modules:
|
||||||
|
- type: script
|
||||||
|
scripts:
|
||||||
|
- install-cosmic-comp.sh
|
||||||
|
modules:
|
||||||
|
- type: copy
|
||||||
|
from: cosmic-comp
|
||||||
|
src: /out/cosmic-comp
|
||||||
|
dest: /usr/bin/cosmic-comp
|
||||||
@@ -5,13 +5,13 @@ modules:
|
|||||||
files:
|
files:
|
||||||
- source: steam-firewall
|
- source: steam-firewall
|
||||||
destination: /
|
destination: /
|
||||||
- type: bling
|
# - type: bling
|
||||||
source: ghcr.io/blue-build/modules/bling:343-featbling-add-rpmfusion-install-script
|
# source: ghcr.io/blue-build/modules/bling:343-featbling-add-rpmfusion-install-script
|
||||||
install:
|
# install:
|
||||||
- negativo17
|
# - negativo17
|
||||||
- type: script
|
# - type: script
|
||||||
scripts:
|
# scripts:
|
||||||
- install-steam.sh
|
# - install-steam.sh
|
||||||
- type: rpm-ostree
|
- type: rpm-ostree
|
||||||
# There's a bug preventing me from doing a separate optfix call
|
# There's a bug preventing me from doing a separate optfix call
|
||||||
# https://github.com/blue-build/modules/issues/365
|
# https://github.com/blue-build/modules/issues/365
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
---
|
||||||
|
# yaml-language-server: $schema=https://schema.blue-build.org/module-list-v1.json
|
||||||
modules:
|
modules:
|
||||||
- from-file: common/common.yml
|
- from-file: common/common.yml
|
||||||
- from-file: common/pipewire-tweaks.yml
|
- from-file: common/pipewire-tweaks.yml
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
---
|
||||||
|
# yaml-language-server: $schema=https://schema.blue-build.org/module-list-v1.json
|
||||||
modules:
|
modules:
|
||||||
- type: files
|
- type: files
|
||||||
files:
|
files:
|
||||||
|
|||||||
@@ -1,12 +1,15 @@
|
|||||||
---
|
---
|
||||||
# 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: jp-desktop-nvidia
|
name: jp-desktop-nvidia
|
||||||
base-image: ghcr.io/ublue-os/kinoite-nvidia
|
# base-image: ghcr.io/ublue-os/kinoite-nvidia
|
||||||
|
base-image: ghcr.io/ublue-os/bazzite-nvidia
|
||||||
image-version: 41
|
image-version: 41
|
||||||
description: The image of Wunker OS for JP's desktop gaming.
|
description: The image of Wunker OS for JP's desktop gaming.
|
||||||
stages:
|
stages:
|
||||||
- from-file: common/helix.yml
|
- from-file: common/helix.yml
|
||||||
|
- from-file: common/cosmic-comp.yml
|
||||||
modules:
|
modules:
|
||||||
- from-file: common/jp-desktop.yml
|
- from-file: common/jp-desktop.yml
|
||||||
- from-file: common/cosmic.yml
|
- from-file: common/cosmic.yml
|
||||||
- from-file: common/helix.yml
|
- from-file: common/helix.yml
|
||||||
|
- from-file: common/cosmic-comp.yml
|
||||||
|
|||||||
@@ -1,7 +1,8 @@
|
|||||||
---
|
---
|
||||||
# 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: jp-laptop
|
name: jp-laptop
|
||||||
base-image: ghcr.io/ublue-os/kinoite-main
|
# base-image: ghcr.io/ublue-os/kinoite-main
|
||||||
|
base-image: ghcr.io/ublue-os/bazzite
|
||||||
image-version: 40
|
image-version: 40
|
||||||
description: The image of Wunker OS for JP's Laptop.
|
description: The image of Wunker OS for JP's Laptop.
|
||||||
stages:
|
stages:
|
||||||
|
|||||||
Reference in New Issue
Block a user