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,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