Attempt #2 at installing matching kernel
This commit is contained in:
parent
58672fa8d3
commit
f983b8a2d9
|
@ -43,8 +43,9 @@ ARG SOURCE_TAG="40"
|
|||
## this is a standard Containerfile FROM using the build ARGs above to select the right upstream image
|
||||
FROM ghcr.io/ublue-os/${SOURCE_IMAGE}${SOURCE_SUFFIX}:${SOURCE_TAG}
|
||||
|
||||
### 2.1 Add ZFS RPMS
|
||||
COPY --from=ghcr.io/ublue-os/ucore-kmods:stable /rpms/ /tmp/rpms
|
||||
### 2.1 Add ZFS RPMS and matching kernel RPMs
|
||||
COPY --from=ghcr.io/0ranki/sb-zfs-kernel /rpms/ /tmp/rpms
|
||||
COPY --from=ghcr.io/0ranki/sb-zfs-kernel /kernel/ /tmp/kernel
|
||||
|
||||
|
||||
### 3. MODIFICATIONS
|
||||
|
|
2
build.sh
2
build.sh
|
@ -15,7 +15,7 @@ ZFS_KERNEL_VERSION="$(find /tmp/rpms/kmods/zfs/ -name "kmod-zfs*.rpm" ! -name "*
|
|||
# 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 kernel-${ZFS_KERNEL_VERSION}
|
||||
rpm-ostree install /tmp/kernel/*.rpm
|
||||
rpm-ostree override remove zfs-fuse --install /tmp/rpms/kmods/zfs/*.rpm
|
||||
|
||||
# this would install a package from rpmfusion
|
||||
|
|
Loading…
Reference in New Issue