mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
reorder steps on preconfiguring
This commit is contained in:
parent
803d81a0d3
commit
2b5a525d5f
1 changed files with 4 additions and 4 deletions
|
@ -97,12 +97,13 @@ prepare_storagedrive() {
|
||||||
|
|
||||||
configure_system() {
|
configure_system() {
|
||||||
destdir_mounts || return 1
|
destdir_mounts || return 1
|
||||||
|
check_root_password || return 1
|
||||||
|
geteditor || return 1
|
||||||
## PREPROCESSING ##
|
## PREPROCESSING ##
|
||||||
|
set_locale || return 1
|
||||||
auto_mkinitcpio
|
auto_mkinitcpio
|
||||||
## END PREPROCESS ##
|
## END PREPROCESS ##
|
||||||
geteditor || return 1
|
|
||||||
check_root_password || return 1
|
|
||||||
set_locale || return 1
|
|
||||||
FILE=""
|
FILE=""
|
||||||
S_CONFIG=""
|
S_CONFIG=""
|
||||||
# main menu loop
|
# main menu loop
|
||||||
|
@ -133,7 +134,6 @@ configure_system() {
|
||||||
break
|
break
|
||||||
elif [[ "${FILE}" = "/etc/mkinitcpio.conf" ]]; then # non-file
|
elif [[ "${FILE}" = "/etc/mkinitcpio.conf" ]]; then # non-file
|
||||||
set_mkinitcpio
|
set_mkinitcpio
|
||||||
run_mkinitcpio
|
|
||||||
elif [[ "${FILE}" = "/etc/locale.gen" ]]; then # non-file
|
elif [[ "${FILE}" = "/etc/locale.gen" ]]; then # non-file
|
||||||
set_locale
|
set_locale
|
||||||
${EDITOR} "${DESTDIR}""${FILE}"
|
${EDITOR} "${DESTDIR}""${FILE}"
|
||||||
|
|
Loading…
Reference in a new issue