#!/usr/bin/env zsh
cp "${strapdir}"/etc/zfs/zpool.cache log/
cp "${strapdir}"/etc/fstab log/
cp "${strapdir}"/etc/default/grub log/default_grub
cp "${strapdir}"/boot/grub/grub.cfg log/
echo "$(lsinitramfs ${strapdir}/boot/initrd.img-${kernel_version}-${arch} | grep zfs)" >log/zfs_initramfs.txt
"$(lsinitramfs "${strapdir}"/boot/initrd.img-"${kernel_version}-${arch}")" >log/initramfs.txt
