mirror of
https://gitlab.com/prism7/archery.git
synced 2025-02-15 08:29:17 +01:00
Changed ESP's minimum size limit to 200M from 300M at 'Sanity Check' stage
This commit is contained in:
parent
2d62d97674
commit
c61366ceda
1 changed files with 7 additions and 7 deletions
14
Amelia.sh
14
Amelia.sh
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Amelia Installer
|
||||
# Version: 5.5
|
||||
# Version: 5.6
|
||||
|
||||
set -euo pipefail
|
||||
trap 's=$?; echo "$0: Error on line "$LINENO": $BASH_COMMAND"; exit $s' ERR
|
||||
|
@ -2684,12 +2684,12 @@ ${multi_boot}
|
|||
if [[ "${autoboot}" == "y" ]]; then
|
||||
boot_dev="${boot_comply}"
|
||||
bootsize="$(lsblk -b "${boot_dev}" --noheadings --output=size)"
|
||||
if [[ "${bootsize}" -lt "314572800" ]]; then
|
||||
if [[ "${bootsize}" -lt "209715200" ]]; then
|
||||
sanity="no"
|
||||
sleep 0.3
|
||||
RED "
|
||||
|
||||
[!] WARNING: EFI Partition's size is not adequate. Create a ${nc}300 M ${red}EFI Partition at minimum "
|
||||
[!] WARNING: EFI Partition's size is not adequate. Create a ${nc}200 M ${red}EFI Partition at minimum "
|
||||
sleep 3
|
||||
RED "
|
||||
|
||||
|
@ -2847,12 +2847,12 @@ ${multi_swap}
|
|||
until disk_mngr; do : ; done
|
||||
return 0
|
||||
elif [[ ! -e "${root_dev}" && -e "${boot_dev}" ]]; then
|
||||
if [[ "${bootsize}" -lt "314572800" ]]; then
|
||||
if [[ "${bootsize}" -lt "209715200" ]]; then
|
||||
sanity="no"
|
||||
sleep 0.3
|
||||
RED "
|
||||
|
||||
[!] WARNING: EFI Partition's size is not adequate. Create a ${nc}300 M ${red}EFI Partition at minimum "
|
||||
[!] WARNING: EFI Partition's size is not adequate. Create a ${nc}200 M ${red}EFI Partition at minimum "
|
||||
sleep 3
|
||||
RED "
|
||||
|
||||
|
@ -2911,12 +2911,12 @@ ${multi_swap}
|
|||
until disk_mngr; do : ; done
|
||||
return 0
|
||||
elif [[ -e "${root_dev}" && -e "${boot_dev}" ]]; then
|
||||
if [[ "${bootsize}" -lt "314572800" ]]; then
|
||||
if [[ "${bootsize}" -lt "209715200" ]]; then
|
||||
sanity="no"
|
||||
sleep 0.3
|
||||
RED "
|
||||
|
||||
[!] WARNING: EFI Partition's size is not adequate. Create a ${nc}300 M ${red}EFI Partition at minimum "
|
||||
[!] WARNING: EFI Partition's size is not adequate. Create a ${nc}200 M ${red}EFI Partition at minimum "
|
||||
sleep 3
|
||||
RED "
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue