Revert cosmic-comp build to last known working commit for desktop

Build latest debug cosmic-comp for lapto
This commit is contained in:
Gerald Pinder
2025-01-16 13:46:06 -05:00
parent 8029c1e8a9
commit e8f7eb32b2
4 changed files with 23 additions and 37 deletions

View File

@@ -1,17 +0,0 @@
#!/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

View File

@@ -1,16 +0,0 @@
---
# yaml-language-server: $schema=https://schema.blue-build.org/module-stage-list-v1.json
stages:
- name: cosmic-comp
from: rust
modules:
- type: cosmic
source: local
component: cosmic-comp
ref: bebd7c5c40c038470d2eef0501a3efb34f2df966
# ref: db13eea91c15ca57d76454432d1fb9c09c51ba8c
modules:
- type: copy
from: cosmic-comp
src: /out/cosmic-comp
dest: /usr/bin/cosmic-comp

View File

@@ -7,10 +7,20 @@ image-version: stable
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 - name: cosmic-comp
from: rust
modules:
- type: cosmic
source: local
component: cosmic-comp
# ref: bebd7c5c40c038470d2eef0501a3efb34f2df966 # Known bug commit
ref: db13eea91c15ca57d76454432d1fb9c09c51ba8c # Last known working commit
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 - 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

View File

@@ -8,9 +8,18 @@ alt-tags:
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
# - from-file: common/cosmic-comp.yml - name: cosmic-comp
from: rust
modules:
- type: cosmic
source: local
component: cosmic-comp
debug: true
modules: modules:
- from-file: common/jp-laptop-bootc.yml - from-file: common/jp-laptop-bootc.yml
- from-file: common/helix.yml - from-file: common/helix.yml
# - from-file: common/cosmic-comp.yml - 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