refactor(iso): Trust that ZFS partition selection works, remove if-else clause (#1)
This commit is contained in:
parent
a970a3d179
commit
1fb3cc37eb
17
setup.sh
17
setup.sh
@ -569,8 +569,25 @@ function main () {
|
||||
else
|
||||
set_ntp
|
||||
update_pacman_db
|
||||
|
||||
install_pkgs 'jq'
|
||||
local zfs_part
|
||||
zfs_part="$(select_part 'zfs')"
|
||||
|
||||
install_zfs
|
||||
setup_zpool "${zfs_part}"
|
||||
mount_system
|
||||
copy_zpool_cache
|
||||
install_archlinux
|
||||
gen_fstab
|
||||
set_hostname
|
||||
set_locale
|
||||
add_zfs_hook_to_initramfs
|
||||
set_initramfs_build_list
|
||||
add_zfs_files_to_new_os
|
||||
enter_chroot
|
||||
# We're done in chroot
|
||||
finalize_os_setup
|
||||
fi
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user