Correct location of efibootmgr package installation

This commit is contained in:
Saverio Miroddi 2020-05-05 14:31:41 +02:00
parent 0a1eabbd78
commit 0c36556587
1 changed files with 7 additions and 3 deletions

View File

@ -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