You've already forked al-installer
Add intel and amd ucode setup
This commit is contained in:
@ -12,7 +12,7 @@
|
||||
# immutable variables {
|
||||
|
||||
readonly DIST="ArchLabs" # Linux distributor
|
||||
readonly VER="1.6.58" # Installer version
|
||||
readonly VER="1.6.59" # Installer version
|
||||
readonly LIVE="liveuser" # Live session user
|
||||
readonly MNT="/mnt/install" # Install mountpoint
|
||||
readonly ERR="/tmp/errlog" # Built-in error log
|
||||
@ -485,7 +485,7 @@ mirrorlist_cmd() {
|
||||
######################################################################
|
||||
|
||||
display_selection() {
|
||||
local msg="Below are the configuration and setup values used during install
|
||||
local msg="Configuration values used for install
|
||||
|
||||
Root Partition: $ROOT_PART
|
||||
Boot Partition: $BOOT_PART
|
||||
@ -514,8 +514,7 @@ Sessions: $INSTALL_WMS
|
||||
Mirrors: $MIRROR_CMD
|
||||
Packages: $EXTRA_PACKAGES"
|
||||
|
||||
msgbox "Install Info" "\n$msg\n"
|
||||
return 0
|
||||
msgbox "$_PrepTitle" "\n$msg\n"
|
||||
}
|
||||
|
||||
configure_install() {
|
||||
@ -570,8 +569,6 @@ edit_configs() {
|
||||
}
|
||||
|
||||
main() {
|
||||
local retval
|
||||
|
||||
if [[ $CURRENT_MENU != "main" ]]; then
|
||||
MENU_HIGHLIGHT=1
|
||||
CURRENT_MENU="main"
|
||||
@ -582,15 +579,15 @@ main() {
|
||||
tput civis
|
||||
MENU_HIGHLIGHT=$(dialog --cr-wrap --stdout --backtitle "$BT" \
|
||||
--title " $_PrepTitle " --default-item $MENU_HIGHLIGHT --menu "$_PrepBody" 0 0 0 \
|
||||
"1" "$_PrepShowDev" "2" "$_PrepParts" "3" "$_PrepLUKS" "4" "$_PrepLVM" \
|
||||
"5" "$_PrepMount" "6" "$_PrepConfig" "7" "Check Selections" "8" "$_PrepInstall" \
|
||||
"1" "$_PrepShowDev" "2" "$_PrepParts" "3" "$_PrepLUKS" "4" "$_PrepLVM" \
|
||||
"5" "$_PrepMount" "6" "$_PrepConfig" "7" "Check Choices" "8" "$_PrepInstall" \
|
||||
"9" "$_Done")
|
||||
|
||||
# if trying to install the system, make sure the partitions are mounted
|
||||
# and that the needed config variables and user variables have been set up
|
||||
if [[ $MENU_HIGHLIGHT && $MENU_HIGHLIGHT -eq 8 ]]; then
|
||||
check_install_ready
|
||||
retval=$?
|
||||
local retval=$?
|
||||
[[ $retval -gt 0 ]] && { MENU_HIGHLIGHT=$retval; return 1; }
|
||||
fi
|
||||
|
||||
|
Reference in New Issue
Block a user