mirror of
https://github.com/optim-enterprises-bv/coreos.git
synced 2025-11-02 02:47:53 +00:00
feat: Add zfs-dracut to fedora-coreos and ucore (#186)
Co-authored-by: Thomas Wiest <twg-github@wiestfamily.org>
This commit is contained in:
@@ -51,7 +51,7 @@ fi
|
||||
|
||||
## CONDITIONAL: install ZFS
|
||||
if [[ "-zfs" == "${ZFS_TAG}" ]]; then
|
||||
rpm-ostree install pv /tmp/rpms/akmods-zfs/kmods/zfs/*.rpm
|
||||
rpm-ostree install pv /tmp/rpms/akmods-zfs/kmods/zfs/*.rpm /tmp/rpms/akmods-zfs/kmods/zfs/other/zfs-dracut-*.rpm
|
||||
# for some reason depmod ran automatically with zfs 2.1 but not with 2.2
|
||||
depmod -A ${KERNEL_VERSION}
|
||||
fi
|
||||
|
||||
@@ -54,7 +54,7 @@ fi
|
||||
|
||||
## CONDITIONAL: install ZFS (and sanoid deps)
|
||||
if [[ "-zfs" == "${ZFS_TAG}" ]]; then
|
||||
rpm-ostree install pv /tmp/rpms/akmods-zfs/kmods/zfs/*.rpm
|
||||
rpm-ostree install pv /tmp/rpms/akmods-zfs/kmods/zfs/*.rpm /tmp/rpms/akmods-zfs/kmods/zfs/other/zfs-dracut-*.rpm
|
||||
# for some reason depmod ran automatically with zfs 2.1 but not with 2.2
|
||||
depmod -A ${KERNEL_VERSION}
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user