Skip to content

Commit

Permalink
feat: Add zfs-dracut to fedora-coreos and ucore
Browse files Browse the repository at this point in the history
Add zfs-dracut to fedora-coreos and ucore. zfs-dracut is necessary to
include zfs when rebuilding initrd.
  • Loading branch information
Thomas Wiest committed Aug 17, 2024
1 parent 7912772 commit a7fd638
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fedora-coreos/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion ucore/install-ucore-minimal.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a7fd638

Please sign in to comment.