Start creating base images

This commit is contained in:
2025-09-05 17:58:34 -04:00
parent 0c06a497f8
commit b99f776156
11 changed files with 287 additions and 38 deletions

View File

@@ -0,0 +1,30 @@
---
# yaml-language-server: $schema=https://schema.blue-build.org/recipe-v1.json
name: cosmic-nvidia
base-image: quay.io/fedora/fedora-bootc
image-version: 42
description: The base image of Wunker OS
modules:
# Latest build
- type: dnf
repos:
cleanup: true
copr:
- ryanabx/cosmic-epoch
install:
packages:
- cosmic-desktop
# Official release
# - type: dnf
# group-install:
# packages:
# - cosmic-desktop-environment
# Setup cosmic greeter as DM
- type: systemd
system:
enabled:
- cosmic-greeter
- from-file: common/nvidia.yml
- from-file: common/base-common.yml

28
recipes/base-cosmic.yml Normal file
View File

@@ -0,0 +1,28 @@
---
# yaml-language-server: $schema=https://schema.blue-build.org/recipe-v1.json
name: cosmic
base-image: ghcr.io/ublue-os/base-main
image-version: 42
description: The base image of Wunker OS
modules:
- type: dnf
repos:
cleanup: true
copr:
- ryanabx/cosmic-epoch
install:
packages:
- cosmic-desktop
# Official release
# - type: dnf
# group-install:
# packages:
# - cosmic-desktop-environment
# Setup cosmic greeter as DM
- type: systemd
system:
enabled:
- cosmic-greeter
- from-file: common/base-common.yml

View File

@@ -0,0 +1,18 @@
---
# yaml-language-server: $schema=https://schema.blue-build.org/recipe-v1.json
name: kinoite-nvidia
base-image: ghcr.io/ublue-os/kinoite-main
image-version: 42
description: The base image of Wunker OS
modules:
- type: dnf
group-install:
packages:
- kde-desktop
- type: systemd
system:
enabled:
- sddm
- from-file: common/nvidia.yml
- from-file: common/base-common.yml

16
recipes/base-kinoite.yml Normal file
View File

@@ -0,0 +1,16 @@
---
# yaml-language-server: $schema=https://schema.blue-build.org/recipe-v1.json
name: kinoite
base-image: ghcr.io/ublue-os/kinoite-main
image-version: 42
description: The base image of Wunker OS
modules:
- type: dnf
group-install:
packages:
- kde-desktop
- type: systemd
system:
enabled:
- sddm
- from-file: common/base-common.yml

View File

@@ -0,0 +1,12 @@
modules:
- type: script
snippets:
- systemctl set-default graphical.target
- from-file: common/updates.yml
- from-file: common/bluebuild-logo.yml
- type: os-release
properties:
NAME: WunkerOS
ID: wunker_os
PRETTY_NAME: Wunker OS
- from-file: common/post-build.yml

18
recipes/common/nvidia.yml Normal file
View File

@@ -0,0 +1,18 @@
---
# yaml-language-server: $schema=https://schema.blue-build.org/module-list-v1.json
modules:
- type: dnf
repos:
cleanup: true
nonfree: rpmfusion
install:
packages:
- akmod-nvidia
- type: script
snippets:
- echo "%_with_kmod_nvidia_open 1" > /etc/rpm/macros.nvidia-kmod
- akmods --kernels "$(rpm -q "kernel" --queryformat '%{VERSION}-%{RELEASE}.%{ARCH}')" --rebuild
- type: files
files:
- source: nvidia-kargs
destination: /usr/lib/bootc/kargs.d

View File

@@ -1,11 +1,5 @@
modules:
# - type: script
# snippets:
# - ldconfig
- type: initramfs
# env:
# DRACUT_NO_XATTR: '1'
env:
DRACUT_NO_XATTR: '1'
source: local
# - type: script
# scripts:
# - initramfs.sh