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
1 changed files with 1 additions and 1 deletions

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