From 0c36556587360401f1016cfa68a48e461c4f45a9 Mon Sep 17 00:00:00 2001 From: Saverio Miroddi Date: Tue, 5 May 2020 14:31:41 +0200 Subject: [PATCH] Correct location of efibootmgr package installation --- install-zfs.sh | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/install-zfs.sh b/install-zfs.sh index cf577f6..4cc81a3 100755 --- a/install-zfs.sh +++ b/install-zfs.sh @@ -579,7 +579,7 @@ function install_host_packages { # Module compilation log: `/var/lib/dkms/zfs/0.8.2/build/make.log` (adjust according to version). # echo "zfs-dkms zfs-dkms/note-incompatible-licenses note true" | debconf-set-selections - apt install --yes libelf-dev zfs-dkms efibootmgr + apt install --yes libelf-dev zfs-dkms systemctl stop zfs-zed modprobe -r zfs @@ -588,6 +588,8 @@ function install_host_packages { fi fi + apt install --yes efibootmgr + zfs --version > "$c_zfs_module_version_log" 2>&1 } @@ -601,11 +603,13 @@ function install_host_packages_Debian { echo "deb http://deb.debian.org/debian buster-backports main contrib" >> /etc/apt/sources.list apt update - apt install --yes -t buster-backports zfs-dkms efibootmgr + apt install --yes -t buster-backports zfs-dkms modprobe zfs fi + apt install --yes efibootmgr + zfs --version > "$c_zfs_module_version_log" 2>&1 } @@ -645,7 +649,7 @@ function install_host_packages_UbuntuServer { # this will be a no-op. # apt update - apt install -y "linux-headers-$(uname -r)" efibootmgr + apt install -y "linux-headers-$(uname -r)" install_host_packages fi