From 0e69150bb669a449b61d2a5a79bc3d197ff0d853 Mon Sep 17 00:00:00 2001 From: Matt DeVillier Date: Wed, 8 Sep 2021 11:26:12 -0500 Subject: [PATCH] firmware: prevent ChromeOS from booting with Tianocore as RWL Signed-off-by: Matt DeVillier --- firmware.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/firmware.sh b/firmware.sh index 3dfd153..e519a81 100644 --- a/firmware.sh +++ b/firmware.sh @@ -142,6 +142,9 @@ else echo_green "RW_LEGACY firmware successfully installed/updated." # update firmware type firmwareType="Stock ChromeOS w/RW_LEGACY" + #Prevent from trying to boot stock ChromeOS install + rm -rf /tmp/boot/efi > /dev/null 2>&1 + rm -rf /tmp/boot/syslinux > /dev/null 2>&1 fi if [ -z "$1" ]; then