mirror of
https://github.com/outbackdingo/ostree-quarks.git
synced 2026-01-27 10:20:01 +00:00
should have working zfs 2.1.x now
This commit is contained in:
@@ -26,8 +26,8 @@ FROM beaker AS beaker-zed
|
||||
|
||||
COPY --from=ghcr.io/mitchejj/zfs-kmods:39 *.rpm /tmp/zfs/
|
||||
COPY ./zed /tmp
|
||||
RUN rpm-ostree install /tmp/zfs/*.rpm && \
|
||||
RUN /tmp/zfs-install.sh && \
|
||||
cp /tmp/etc/sysctl.d/*.conf /etc/sysctl.d/
|
||||
|
||||
RUN rm -rf /tmp/* && \
|
||||
RUN rm -rf /tmp/* /var/* && \
|
||||
ostree container commit
|
||||
|
||||
10
zed/zfs-install.sh
Executable file
10
zed/zfs-install.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -ouex pipefail
|
||||
|
||||
|
||||
KERNEL="$(rpm -q kernel --queryformat '%{VERSION}-%{RELEASE}.%{ARCH}')"
|
||||
|
||||
ls -lah /var
|
||||
rpm-ostree install /tmp/zfs/*.rpm
|
||||
depmod -A ${KERNEL}
|
||||
Reference in New Issue
Block a user