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 a970a3d179 - Show all commits

View File

@ -570,25 +570,7 @@ function main () {
set_ntp
update_pacman_db
install_pkgs 'jq'
declare zfs_part
zfs_part="$(get_parts 'zfs')"
if we_have_exactly_one_part 'zfs' "${zfs_part}"; then
printf -- 'Creating zpool on partition '"'"'%s'"'"' ...\n' "${zfs_part}"
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
zfs_part="$(select_part 'zfs')"
fi
}