Start creating base images
This commit is contained in:
12
recipes/common/base-common.yml
Normal file
12
recipes/common/base-common.yml
Normal 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
18
recipes/common/nvidia.yml
Normal 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
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user