Attempt #1 at installing correct kernel

This commit is contained in:
Jarno Rankinen 2024-06-05 18:04:43 +03:00
parent 9ea930521b
commit 5bae6297e4
1 changed files with 4 additions and 1 deletions

View File

@ -4,6 +4,8 @@ set -ouex pipefail
RELEASE="$(rpm -E %fedora)"
ZFS_KERNEL_VERSION="$(find /tmp/rpms/kmods/zfs/ -name "kmod-zfs*.rpm" | sed 's/.*\/kmod-zfs-//; s/\.fc.*$//')"
### Install packages
@ -13,7 +15,8 @@ RELEASE="$(rpm -E %fedora)"
# https://mirrors.rpmfusion.org/mirrorlist?path=free/fedora/updates/39/x86_64/repoview/index.html&protocol=https&redirect=1
# this installs a package from fedora repos
rpm-ostree install /tmp/rpms/kmods/zfs/*.rpm
rpm-ostree install kernel-${ZFS_KERNEL_VERSION}
rpm-ostree override remove zfs-fuse --install /tmp/rpms/kmods/zfs/*.rpm
# this would install a package from rpmfusion
# rpm-ostree install vlc