install zfs for latest installed kernel

This commit is contained in:
Milan Meduna 2019-10-19 16:39:25 +02:00
parent 66132a2f41
commit ea52dd7ded

View file

@ -20,7 +20,7 @@ lsblk
read -p "Enter partition to encrypt:" PARTITION
echo "Installing requirements"
pacman -S --noconfirm cryptsetup ecryptfs-utils linux51-zfs parted
pacman -S --noconfirm cryptsetup ecryptfs-utils $(pacman -Q linux | tail -n 1 | awk {'print $1'})-zfs parted
echo "Loading ZFS kernel module"
modprobe zfs