diff options
author | Riku Voipio <riku.voipio@linaro.org> | 2015-04-28 16:25:29 +0300 |
---|---|---|
committer | Riku Voipio <riku.voipio@linaro.org> | 2015-04-28 16:33:00 +0300 |
commit | 09b0d2119cfa82a234c558beefc1792aa73488a7 (patch) | |
tree | 1325b003778bc620cb3f82b3646a1605567f4dcf /leg-virt-tiancore-edk2-upstream.yaml | |
parent | 85f0cb3407c4e92410253fb27804c13f877d34bc (diff) |
linaro-edk2[-prep|upstream] Generate pflash files
As discussed on #linaro-lava, it should not be the job of lava
to generate pflash files. Thus, generate them in the CI jobs.
The find oneliner searches for all files named QEMU_EFI.fd and
generates a QEMU_EFI.img pflash into the same directory.
- only tested locally
Part of fixing: https://bugs.linaro.org/show_bug.cgi?id=1043
Change-Id: I2aa0a8d470cb1c9c421542d98ca8fab092d4b5ab
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'leg-virt-tiancore-edk2-upstream.yaml')
-rw-r--r-- | leg-virt-tiancore-edk2-upstream.yaml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/leg-virt-tiancore-edk2-upstream.yaml b/leg-virt-tiancore-edk2-upstream.yaml index 31c7b28895..f9d857c532 100644 --- a/leg-virt-tiancore-edk2-upstream.yaml +++ b/leg-virt-tiancore-edk2-upstream.yaml @@ -106,6 +106,7 @@ done ) + find out -name '*QEMU_EFI.fd' -exec bash -c 'in=${1}; out=${in%fd}img; cat $in /dev/zero | dd iflag=fullblock bs=1M count=64 of=$out' _ {} \; ${HOME}/bin/linaro-cp out components/kernel/${JOB_NAME}/${BUILD_NUMBER} - shell: | |