Compare commits

...

15 Commits

Author SHA1 Message Date
tumillanino
f371fba55e btrfs flags added to kernel install 2026-04-09 14:29:37 +10:00
tumillanino
ac7d14e98a latest tag doesn't exist for main fedora images 2026-04-09 13:08:16 +10:00
tumillanino
9a06941829 stupidly forgot to replace whole rebase link 2026-04-09 13:03:25 +10:00
tumillanino
a3f1e0843a some kernel fixes that were lost 2026-04-09 12:45:26 +10:00
tumillanino
a936328c28 Merge branch 'main' into staging 2026-04-09 11:31:34 +10:00
tumillanino
3b7a1e440f fixed kernel cleanup and initramfs generation 2026-04-09 10:18:35 +10:00
tumillanino
09760ca4a9 changing wallpaper to be less shit 2026-04-09 10:01:22 +10:00
tumillanino
e91adc45ce Merge pull request #8 from tumillanino/revert-7-staging
Revert "update to use cachyos kernel and kinoite base image"
2026-04-08 18:00:10 +10:00
tumillanino
e43e54dba9 Revert "update to use cachyos kernel and kinoite base image" 2026-04-08 17:57:18 +10:00
tumillanino
17ece6cfde Merge pull request #7 from tumillanino/staging
update to use cachyos kernel and kinoite base image
2026-04-08 17:11:53 +10:00
tumillanino
b924a4a4d8 Merge pull request #6 from tumillanino/staging
branding changes
2026-04-08 16:07:37 +10:00
tumillanino
1eefc90924 Merge pull request #5 from tumillanino/staging
fix app loading issues
2026-04-08 12:31:13 +10:00
tumillanino
d2dc21a83f Merge pull request #4 from tumillanino/staging
Remove notify from flatpak install script
2026-04-08 09:34:19 +10:00
tumillanino
1ca3554ae7 Merge pull request #3 from tumillanino/staging
fixes to theming
2026-04-08 09:31:28 +10:00
tumillanino
fa8dee1ba4 Merge pull request #2 from tumillanino/staging
merge bitwig install
2026-04-08 08:58:19 +10:00
34 changed files with 48 additions and 17 deletions

BIN
docs/wallpapers/6293645.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 957 KiB

BIN
docs/wallpapers/8.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.5 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 162 KiB

After

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 MiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 957 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 387 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 38 KiB

After

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.5 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 576 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 234 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 MiB

View File

@@ -19,29 +19,61 @@ KERNEL_PACKAGES=(
kernel-cachyos-lto-modules
)
# Disable kernel install hooks so the custom kernel installs cleanly into the image
# 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
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
# Remove stock Fedora kernel packages
# 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
rpm --erase "$pkg" --nodeps || true
done
# Remove leftover kernel module directory
CURRENT_MODULES=$(ls /usr/lib/modules | head -n1)
if [ -n "$CURRENT_MODULES" ]; then
rm -rf "/usr/lib/modules/$CURRENT_MODULES"
fi
# 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
# Install the CachyOS LTO kernel (repos were added via the preceding dnf module)
dnf5 -y install "${KERNEL_PACKAGES[@]}"
# Version-lock to prevent the kernel from being overwritten by base image updates
dnf5 versionlock add "${KERNEL_PACKAGES[@]}" || true
# /boot is not used in atomic container images
# 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/<kver>/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" \
--filesystems "btrfs" \
--add-drivers "btrfs" \
--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/*

Binary file not shown.

After

Width:  |  Height:  |  Size: 957 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 387 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 38 KiB

After

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.5 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 576 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 234 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 MiB

View File

@@ -28,7 +28,6 @@ modules:
- alacritty
- ripgrep
- fd-find
- realtime-setup
- zoxide
- fzf

View File

@@ -3,11 +3,11 @@
# image will be published to ghcr.io/<user>/<name>
name: miasma-os
# description will be included in the image's metadata
description: A personal spin based on Kinoite targeted towards musicians and music producers, with the CachyOS kernel for low-latency performance
description: An KDE based Universal Blue image targeted towards musicians and music producers inspired by Fedora Jam
# the base image to build on top of (FROM) and the version tag to use
base-image: ghcr.io/ublue-os/kinoite-main
image-version: latest # latest is also supported if you want new updates ASAP
base-image: quay.io/fedora-ostree-desktops/kinoite
image-version: 43
modules:
# Add CachyOS repos first so the kernel swap script can use them