diff options
Diffstat (limited to 'common/mentor-swupdate/recipes-core/initrdscripts/files/0001-init-install-efi-SWU-fallback-incase-WDT-fired-SWU-p.patch')
-rw-r--r-- | common/mentor-swupdate/recipes-core/initrdscripts/files/0001-init-install-efi-SWU-fallback-incase-WDT-fired-SWU-p.patch | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/common/mentor-swupdate/recipes-core/initrdscripts/files/0001-init-install-efi-SWU-fallback-incase-WDT-fired-SWU-p.patch b/common/mentor-swupdate/recipes-core/initrdscripts/files/0001-init-install-efi-SWU-fallback-incase-WDT-fired-SWU-p.patch deleted file mode 100644 index 33a458a0..00000000 --- a/common/mentor-swupdate/recipes-core/initrdscripts/files/0001-init-install-efi-SWU-fallback-incase-WDT-fired-SWU-p.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 2b8e67eb5899962528ab821754c76abd1bc4aef3 Mon Sep 17 00:00:00 2001 -From: "Arsalan H. Awan" <Arsalan_Awan@mentor.com> -Date: Thu, 14 Feb 2019 14:31:03 +0500 -Subject: [PATCH 1/3] init-install-efi/SWU: fallback incase WDT fired & SWU - performed - -Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com> ---- - init-install-efi.sh | 3 +++ - 1 file changed, 3 insertions(+) - -diff --git a/init-install-efi.sh b/init-install-efi.sh -index ba0de76..e259785 100644 ---- a/init-install-efi.sh -+++ b/init-install-efi.sh -@@ -320,6 +320,9 @@ save_env --file ${GRUBENV#\/boot} RFS - $cmd - } - FALL_BACK -+ # Mentor - SWUpdate - set the default boot as per the WDT and SWU status -+ # If WDT fired && SWU performed, fallback to last working state, else normal boot -+ sed -i "/default=boot/a if ! amd-wdt getstatus; then\n if test \$KERNEL != \$FB_KERNEL; then\n set default='fallback'\n fi\nfi\n" $GRUBCFG - fi - - if [ -d /run/media/$1/loader ]; then --- -2.11.1 - |