From 8814c692c97b043289337484d82355be4da4a8e5 Mon Sep 17 00:00:00 2001 From: Martin Kepplinger Date: Wed, 27 Feb 2019 06:24:46 +0100 Subject: [PATCH] x230: remove checking for the very latest Lenovo BIOS This makes things easier to maintain and simply causes less confusion for users. We only want the lastest EC firmware. Closes #77 --- x230/x230_before_first_install.sh | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/x230/x230_before_first_install.sh b/x230/x230_before_first_install.sh index 74ac75e..d495263 100755 --- a/x230/x230_before_first_install.sh +++ b/x230/x230_before_first_install.sh @@ -57,12 +57,9 @@ BIOS_VERSION=$(dmidecode -s bios-version | grep -o '[1-2].[0-7][0-9]') bios_major=$(echo "$BIOS_VERSION" | cut -d. -f1) bios_minor=$(echo "$BIOS_VERSION" | cut -d. -f2) -if [ "${bios_minor}" -eq "74" ] ; then - echo -e "${GREEN}latest BIOS version${NC} installed. Nothing to do." -elif [ "${bios_minor}" -ge "60" ] ; then +if [ "${bios_minor}" -ge "60" ] ; then echo "installed BIOS version is ${bios_major}.${bios_minor}." - echo "That's not the latest version, but the EC version is." - echo "You may upgrade before installing coreboot if you want." else - echo -e "The installed original BIOS is very old. ${RED}please upgrade${NC} before installing coreboot." + echo -e "The installed original BIOS is very old and doesn't include the latest Embedded Controller Firmware." + echo -e "${RED}Please upgrade${NC} before installing coreboot." fi