1-get-initial-setup-working #2

Merged
hygienic-books merged 92 commits from 1-get-initial-setup-working into main 2023-03-05 03:02:48 +00:00
Showing only changes of commit 97bebe9a99 - Show all commits

View File

@ -188,8 +188,8 @@ function export_pool () {
} }
function setup_zpool () { function setup_zpool () {
declare zpool_drive drive_by_id local zpool_drive drive_by_id
zpool_drive="${1:?}" zpool_drive="$(select_part 'zfs')"
drive_by_id="$(get_drive_id "${zpool_drive}")" drive_by_id="$(get_drive_id "${zpool_drive}")"
set_zpool_password set_zpool_password
@ -569,13 +569,9 @@ function main () {
else else
set_ntp set_ntp
update_pacman_db update_pacman_db
install_pkgs 'jq' install_pkgs 'jq'
local zfs_part
zfs_part="$(select_part 'zfs')"
install_zfs install_zfs
setup_zpool "${zfs_part}" setup_zpool
mount_system mount_system
copy_zpool_cache copy_zpool_cache
install_archlinux install_archlinux