7-add-legacy-bios-support #8
12
setup.sh
12
setup.sh
@ -845,7 +845,11 @@ function insert_zbm_postconf_hook () {
|
|||||||
|
|
||||||
function umount_all () {
|
function umount_all () {
|
||||||
#3.10
|
#3.10
|
||||||
umount '/mnt/efi'
|
if [[ "${part_schema}" = 'mbr' ]]; then
|
||||||
|
umount '/mnt/boot/syslinux'
|
||||||
|
else
|
||||||
|
umount '/mnt/efi'
|
||||||
|
fi
|
||||||
zfs umount -a
|
zfs umount -a
|
||||||
zpool export "${zpool_name}"
|
zpool export "${zpool_name}"
|
||||||
}
|
}
|
||||||
@ -858,8 +862,10 @@ function finalize_os_setup () {
|
|||||||
configure_reflector #3.5
|
configure_reflector #3.5
|
||||||
configure_zfs #3.6
|
configure_zfs #3.6
|
||||||
configure_zfs_mount_gen #3.7
|
configure_zfs_mount_gen #3.7
|
||||||
set_new_uefi_boot_entries #3.8
|
if [[ "${part_schema}" = 'gpt' ]]; then
|
||||||
insert_zbm_postconf_hook #3.9
|
set_new_uefi_boot_entries #3.8
|
||||||
|
insert_zbm_postconf_hook #3.9
|
||||||
|
fi
|
||||||
umount_all #3.10
|
umount_all #3.10
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user