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:
|
||||
- source: steam-firewall
|
||||
destination: /
|
||||
- type: bling
|
||||
source: ghcr.io/blue-build/modules/bling:343-featbling-add-rpmfusion-install-script
|
||||
install:
|
||||
- negativo17
|
||||
- type: script
|
||||
scripts:
|
||||
- install-steam.sh
|
||||
# - type: bling
|
||||
# source: ghcr.io/blue-build/modules/bling:343-featbling-add-rpmfusion-install-script
|
||||
# install:
|
||||
# - negativo17
|
||||
# - type: script
|
||||
# scripts:
|
||||
# - install-steam.sh
|
||||
- type: rpm-ostree
|
||||
# There's a bug preventing me from doing a separate optfix call
|
||||
# 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:
|
||||
- from-file: common/common.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:
|
||||
- type: files
|
||||
files:
|
||||
|
||||
@@ -1,12 +1,15 @@
|
||||
---
|
||||
# yaml-language-server: $schema=https://schema.blue-build.org/recipe-v1.json
|
||||
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
|
||||
description: The image of Wunker OS for JP's desktop gaming.
|
||||
stages:
|
||||
- from-file: common/helix.yml
|
||||
- from-file: common/cosmic-comp.yml
|
||||
modules:
|
||||
- from-file: common/jp-desktop.yml
|
||||
- from-file: common/cosmic.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
|
||||
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
|
||||
description: The image of Wunker OS for JP's Laptop.
|
||||
stages:
|
||||
|
||||
Reference in New Issue
Block a user