summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Peck <bpeck@redhat.com>2015-09-22 15:10:10 -0400
committerBill Peck <bpeck@redhat.com>2015-09-22 15:10:10 -0400
commit2b50ee80cbad0eba65e12379f1edcabcfc6e3458 (patch)
tree2cfde4cc2903201e2810ed163eedc4978e985a49
parent2e45724431c63a278f5343a8987c4edd15cb7322 (diff)
downloadtests-2b50ee80cbad0eba65e12379f1edcabcfc6e3458.tar.gz
tests-2b50ee80cbad0eba65e12379f1edcabcfc6e3458.tar.xz
tests-2b50ee80cbad0eba65e12379f1edcabcfc6e3458.zip
use hard coded bootorder, uploading the firmware resets it
-rwxr-xr-xfirmware/amd_seattle/runtest.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/amd_seattle/runtest.sh b/firmware/amd_seattle/runtest.sh
index 457d257..3c20a56 100755
--- a/firmware/amd_seattle/runtest.sh
+++ b/firmware/amd_seattle/runtest.sh
@@ -13,7 +13,8 @@ reboot_to_efi_shell() {
# This job will end up aborting.. Next time the system is power cycled
# we will boot from the wrong device. restore the correct boot order and
# reboot again.
- echo "efibootmgr -o $bootorder" >> /etc/rc.d/rc.local
+ echo "efibootmgr -o 0004,0005,0002,0003,0001" >> /etc/rc.d/rc.local
+ echo "sleep 5" >> /etc/rc.d/rc.local
echo "reboot" >> /etc/rc.d/rc.local
chmod +x /etc/rc.d/rc.local
efishell=$(efibootmgr | grep 'Built-in EFI Shell' | cut -c5-8 | head -n 1)