7-add-legacy-bios-support #8

Merged
hygienic-books merged 12 commits from 7-add-legacy-bios-support into main 2023-10-24 00:25:35 +00:00
Showing only changes of commit 2f41de67c6 - Show all commits

View File

@ -845,7 +845,11 @@ function insert_zbm_postconf_hook () {
function umount_all () {
#3.10
umount '/mnt/efi'
if [[ "${part_schema}" = 'mbr' ]]; then
umount '/mnt/boot/syslinux'
else
umount '/mnt/efi'
fi
zfs umount -a
zpool export "${zpool_name}"
}
@ -858,8 +862,10 @@ function finalize_os_setup () {
configure_reflector #3.5
configure_zfs #3.6
configure_zfs_mount_gen #3.7
set_new_uefi_boot_entries #3.8
insert_zbm_postconf_hook #3.9
if [[ "${part_schema}" = 'gpt' ]]; then
set_new_uefi_boot_entries #3.8
insert_zbm_postconf_hook #3.9
fi
umount_all #3.10
}