changing wallpaper to be less shit
BIN
docs/wallpapers/6293645.jpg
Normal file
|
After Width: | Height: | Size: 957 KiB |
BIN
docs/wallpapers/8.jpg
Normal file
|
After Width: | Height: | Size: 3.4 MiB |
|
After Width: | Height: | Size: 3.2 MiB |
|
Before Width: | Height: | Size: 2.0 MiB |
|
Before Width: | Height: | Size: 4.5 MiB |
|
Before Width: | Height: | Size: 11 MiB |
|
Before Width: | Height: | Size: 162 KiB After Width: | Height: | Size: 1.5 MiB |
|
After Width: | Height: | Size: 5.0 MiB |
BIN
files/assets/wallpapers/6293645.jpg
Normal file
|
After Width: | Height: | Size: 957 KiB |
BIN
files/assets/wallpapers/8.jpg
Normal file
|
After Width: | Height: | Size: 3.4 MiB |
|
Before Width: | Height: | Size: 387 KiB |
|
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 1.5 MiB |
|
Before Width: | Height: | Size: 4.5 MiB |
|
Before Width: | Height: | Size: 576 KiB |
|
Before Width: | Height: | Size: 234 KiB |
|
Before Width: | Height: | Size: 1.7 MiB |
|
After Width: | Height: | Size: 3.2 MiB |
|
After Width: | Height: | Size: 5.0 MiB |
@@ -19,29 +19,23 @@ KERNEL_PACKAGES=(
|
|||||||
kernel-cachyos-lto-modules
|
kernel-cachyos-lto-modules
|
||||||
)
|
)
|
||||||
|
|
||||||
# Disable kernel install hooks so the custom kernel installs cleanly into the image
|
|
||||||
pushd /usr/lib/kernel/install.d
|
pushd /usr/lib/kernel/install.d
|
||||||
printf '%s\n' '#!/bin/sh' 'exit 0' >05-rpmostree.install
|
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' >50-dracut.install
|
||||||
chmod +x 05-rpmostree.install 50-dracut.install
|
chmod +x 05-rpmostree.install 50-dracut.install
|
||||||
popd
|
popd
|
||||||
|
|
||||||
# Remove stock Fedora kernel packages
|
|
||||||
for pkg in kernel kernel-core kernel-modules kernel-modules-core; do
|
for pkg in kernel kernel-core kernel-modules kernel-modules-core; do
|
||||||
rpm --erase "$pkg" --nodeps || true
|
rpm --erase "$pkg" --nodeps || true
|
||||||
done
|
done
|
||||||
|
|
||||||
# Remove leftover kernel module directory
|
|
||||||
CURRENT_MODULES=$(ls /usr/lib/modules | head -n1)
|
CURRENT_MODULES=$(ls /usr/lib/modules | head -n1)
|
||||||
if [ -n "$CURRENT_MODULES" ]; then
|
if [ -n "$CURRENT_MODULES" ]; then
|
||||||
rm -rf "/usr/lib/modules/$CURRENT_MODULES"
|
rm -rf "/usr/lib/modules/$CURRENT_MODULES"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Install the CachyOS LTO kernel (repos were added via the preceding dnf module)
|
|
||||||
dnf5 -y install "${KERNEL_PACKAGES[@]}"
|
dnf5 -y install "${KERNEL_PACKAGES[@]}"
|
||||||
|
|
||||||
# Version-lock to prevent the kernel from being overwritten by base image updates
|
|
||||||
dnf5 versionlock add "${KERNEL_PACKAGES[@]}" || true
|
dnf5 versionlock add "${KERNEL_PACKAGES[@]}" || true
|
||||||
|
|
||||||
# /boot is not used in atomic container images
|
|
||||||
rm -rf /boot/*
|
rm -rf /boot/*
|
||||||
|
|||||||