Attempt #1 at installing correct kernel
This commit is contained in:
parent
9ea930521b
commit
5bae6297e4
5
build.sh
5
build.sh
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue