From 310d238cacfafd9218b5f11752a74f1463df971e Mon Sep 17 00:00:00 2001 From: Roy Franz Date: Tue, 26 May 2015 16:28:30 -0700 Subject: Move wget of EDK2 image to install phase This causes the install phase to fail when the EDK2 image doesn't exists, which results in 0 tests passing on the LAVA dashboard, which is what we want. The previous behavior would show 1 test passing (the install phase) even when the EDK2 image was missing, since the install phase was a NOP. Change-Id: I128ab153114b7e98a8928e488cd162191b5fa920 Signed-off-by: Roy Franz --- ubuntu/qemu-edk2-boot.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ubuntu') diff --git a/ubuntu/qemu-edk2-boot.yaml b/ubuntu/qemu-edk2-boot.yaml index 80cc9ba..57fed79 100644 --- a/ubuntu/qemu-edk2-boot.yaml +++ b/ubuntu/qemu-edk2-boot.yaml @@ -24,15 +24,15 @@ install: deps: - wget - expect - -run: steps: # Put the flash image in /home with the disk image provided files # for QEMU to keep them all together. - - pushd /home + - cd /home - wget -O QEMU_EFI.fd ${EDK2_BIN} # Pad to 64 MBytes as required for QEMU flash images - dd if=QEMU_EFI.fd of=flash0.img ibs=64M conv=sync - - popd + +run: + steps: - export QEMU_BIN QEMU_ARGS TEST_NAME - ubuntu/scripts/qemu-edk2-boot.sh -- cgit v1.2.3