diff --git a/docs/wallpapers/6293645.jpg b/docs/wallpapers/6293645.jpg new file mode 100644 index 0000000..2a0ab33 Binary files /dev/null and b/docs/wallpapers/6293645.jpg differ diff --git a/docs/wallpapers/8.jpg b/docs/wallpapers/8.jpg new file mode 100644 index 0000000..029e3ba Binary files /dev/null and b/docs/wallpapers/8.jpg differ diff --git a/docs/wallpapers/beautiful_night_in_forest_with_pond_and_moonlight.jpg b/docs/wallpapers/beautiful_night_in_forest_with_pond_and_moonlight.jpg new file mode 100644 index 0000000..7c929a9 Binary files /dev/null and b/docs/wallpapers/beautiful_night_in_forest_with_pond_and_moonlight.jpg differ diff --git a/docs/wallpapers/blackwave.jpg b/docs/wallpapers/blackwave.jpg deleted file mode 100644 index 5faa5d3..0000000 Binary files a/docs/wallpapers/blackwave.jpg and /dev/null differ diff --git a/docs/wallpapers/blueredwave.jpg b/docs/wallpapers/blueredwave.jpg deleted file mode 100644 index 5ed2114..0000000 Binary files a/docs/wallpapers/blueredwave.jpg and /dev/null differ diff --git a/docs/wallpapers/bluewave.jpg b/docs/wallpapers/bluewave.jpg deleted file mode 100644 index 67dadcf..0000000 Binary files a/docs/wallpapers/bluewave.jpg and /dev/null differ diff --git a/docs/wallpapers/default.jpg b/docs/wallpapers/default.jpg index 651ae67..990516c 100644 Binary files a/docs/wallpapers/default.jpg and b/docs/wallpapers/default.jpg differ diff --git a/docs/wallpapers/lizard-silhouette-against-red-sunset-with-large-orange-sun.jpg b/docs/wallpapers/lizard-silhouette-against-red-sunset-with-large-orange-sun.jpg new file mode 100644 index 0000000..0924958 Binary files /dev/null and b/docs/wallpapers/lizard-silhouette-against-red-sunset-with-large-orange-sun.jpg differ diff --git a/files/assets/splash/default-dark.jxl b/files/assets/splash/default-dark.jxl index e0411ad..cbc8a0a 100644 Binary files a/files/assets/splash/default-dark.jxl and b/files/assets/splash/default-dark.jxl differ diff --git a/files/assets/splash/default.jxl b/files/assets/splash/default.jxl index e0411ad..cbc8a0a 100644 Binary files a/files/assets/splash/default.jxl and b/files/assets/splash/default.jxl differ diff --git a/files/assets/wallpapers/6293645.jpg b/files/assets/wallpapers/6293645.jpg new file mode 100644 index 0000000..2a0ab33 Binary files /dev/null and b/files/assets/wallpapers/6293645.jpg differ diff --git a/files/assets/wallpapers/8.jpg b/files/assets/wallpapers/8.jpg new file mode 100644 index 0000000..029e3ba Binary files /dev/null and b/files/assets/wallpapers/8.jpg differ diff --git a/files/assets/wallpapers/Miasma-Audio.jpg b/files/assets/wallpapers/Miasma-Audio.jpg deleted file mode 100644 index 4c7d3cd..0000000 Binary files a/files/assets/wallpapers/Miasma-Audio.jpg and /dev/null differ diff --git a/files/assets/wallpapers/Miasma-Blue-Purple.jpg b/files/assets/wallpapers/Miasma-Blue-Purple.jpg index 03f66fd..990516c 100644 Binary files a/files/assets/wallpapers/Miasma-Blue-Purple.jpg and b/files/assets/wallpapers/Miasma-Blue-Purple.jpg differ diff --git a/files/assets/wallpapers/Miasma-Blueredwave.jpg b/files/assets/wallpapers/Miasma-Blueredwave.jpg deleted file mode 100644 index 5ed2114..0000000 Binary files a/files/assets/wallpapers/Miasma-Blueredwave.jpg and /dev/null differ diff --git a/files/assets/wallpapers/Miasma-Light.jpg b/files/assets/wallpapers/Miasma-Light.jpg deleted file mode 100644 index ef91f0d..0000000 Binary files a/files/assets/wallpapers/Miasma-Light.jpg and /dev/null differ diff --git a/files/assets/wallpapers/Miasma-Lines.jpg b/files/assets/wallpapers/Miasma-Lines.jpg deleted file mode 100644 index 994d0f0..0000000 Binary files a/files/assets/wallpapers/Miasma-Lines.jpg and /dev/null differ diff --git a/files/assets/wallpapers/Miasma-Purple.jpg b/files/assets/wallpapers/Miasma-Purple.jpg deleted file mode 100644 index db18088..0000000 Binary files a/files/assets/wallpapers/Miasma-Purple.jpg and /dev/null differ diff --git a/files/assets/wallpapers/beautiful_night_in_forest_with_pond_and_moonlight.jpg b/files/assets/wallpapers/beautiful_night_in_forest_with_pond_and_moonlight.jpg new file mode 100644 index 0000000..7c929a9 Binary files /dev/null and b/files/assets/wallpapers/beautiful_night_in_forest_with_pond_and_moonlight.jpg differ diff --git a/files/assets/wallpapers/lizard-silhouette-against-red-sunset-with-large-orange-sun.jpg b/files/assets/wallpapers/lizard-silhouette-against-red-sunset-with-large-orange-sun.jpg new file mode 100644 index 0000000..0924958 Binary files /dev/null and b/files/assets/wallpapers/lizard-silhouette-against-red-sunset-with-large-orange-sun.jpg differ diff --git a/files/scripts/cachyos-kernel.sh b/files/scripts/cachyos-kernel.sh new file mode 100644 index 0000000..66bd1cc --- /dev/null +++ b/files/scripts/cachyos-kernel.sh @@ -0,0 +1,77 @@ +#!/usr/bin/env bash +# Replaces the stock Fedora kernel with the CachyOS LTO kernel. +# CachyOS LTO kernel is compiled with Link-Time Optimization and ships +# sched-ext (SCX) support, giving lower latency for realtime audio workloads. +# +# Adapted from the Zena project (https://github.com/zena-linux/zena), +# specifically build-scripts/modules/base/kernel.sh. +# Zena is licensed under the Apache License 2.0. +# Credit to the Zena contributors: https://github.com/zena-linux/zena/graphs/contributors + +set -ouex pipefail + +shopt -s nullglob + +KERNEL_PACKAGES=( + kernel-cachyos-lto + kernel-cachyos-lto-core + kernel-cachyos-lto-devel-matched + kernel-cachyos-lto-modules +) + +# Disable kernel-install hooks so they don't trigger inside the container +# build environment. The initramfs will be generated explicitly below. +pushd /usr/lib/kernel/install.d +printf '%s\n' '#!/bin/sh' 'exit 0' >05-rpmostree.install +printf '%s\n' '#!/bin/sh' 'exit 0' >50-dracut.install +chmod +x 05-rpmostree.install 50-dracut.install +popd + +# Erase stock Fedora kernel RPMs from the package database +for pkg in kernel kernel-core kernel-modules kernel-modules-core; do + rpm --erase "$pkg" --nodeps || true +done + +# Remove ALL existing kernel module directories. The original script used +# `head -n1` which only removed the first entry — on Kinoite's base image +# there are typically two kernel versions, leaving an orphaned module +# directory that confuses rpm-ostree/bootc at deploy time. +for KVER in $(ls /usr/lib/modules 2>/dev/null); do + rm -rf "/usr/lib/modules/$KVER" +done + +dnf5 -y install "${KERNEL_PACKAGES[@]}" + +dnf5 versionlock add "${KERNEL_PACKAGES[@]}" || true + +# Identify the newly installed CachyOS kernel version +NEW_KVER=$(ls /usr/lib/modules | head -n1) + +# Ensure vmlinuz is at the path expected by rpm-ostree and bootc for boot +# entry generation. Some COPR kernel RPMs only install vmlinuz to /boot and +# not to /usr/lib/modules//vmlinuz; copy it over if missing. +if [ ! -f "/usr/lib/modules/${NEW_KVER}/vmlinuz" ]; then + if [ -f "/boot/vmlinuz-${NEW_KVER}" ]; then + cp "/boot/vmlinuz-${NEW_KVER}" "/usr/lib/modules/${NEW_KVER}/vmlinuz" + else + echo "ERROR: vmlinuz not found for kernel ${NEW_KVER}" >&2 + exit 1 + fi +fi + +# Generate the initramfs inside the container image so that rpm-ostree and +# bootc can use it directly at deploy time. Without this step, Kinoite boots +# with no initramfs and hits a dracut emergency shell (the "wall of errors"). +# --no-hostonly : include all drivers, not just the CI build host's hardware +# --add ostree : include the ostree dracut module for atomic deployments +dracut \ + --reproducible \ + --no-hostonly \ + --add "ostree" \ + --force \ + "/usr/lib/modules/${NEW_KVER}/initrd" \ + "${NEW_KVER}" + +# Atomic images manage /boot via the bootloader layer; clear any kernel +# files the RPM dropped there. +rm -rf /boot/* diff --git a/recipes/common/fedora-packages.yml b/recipes/common/fedora-packages.yml index 1600d80..363f9e4 100644 --- a/recipes/common/fedora-packages.yml +++ b/recipes/common/fedora-packages.yml @@ -12,7 +12,6 @@ modules: - alacritty - ripgrep - fd-find - - realtime-setup - zoxide - fzf