diff options
author | Riku Voipio <riku.voipio@linaro.org> | 2015-05-07 13:43:44 +0300 |
---|---|---|
committer | Linaro Code Review <review@review.linaro.org> | 2015-05-07 16:21:30 +0000 |
commit | 61ecdef7faba6807871715b165c3f604836e6f20 (patch) | |
tree | ed0d2b521096d0b5c3348d22ea4604c82481868b | |
parent | 1fdb7071eba2f0161a369e261ced29f286d86582 (diff) |
linaro-edk2[-prep|upstream] compress pflash
pflash images take quite a lot of space and compress easily.
Change-Id: I5b45f809648c1c6f23a06fc1eccb175493a6e1a1
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
-rw-r--r-- | leg-virt-tiancore-edk2-upstream.yaml | 2 | ||||
-rw-r--r-- | linaro-edk2-prep.yaml | 2 | ||||
-rw-r--r-- | linaro-edk2.yaml | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/leg-virt-tiancore-edk2-upstream.yaml b/leg-virt-tiancore-edk2-upstream.yaml index f9d857c532..2944134a85 100644 --- a/leg-virt-tiancore-edk2-upstream.yaml +++ b/leg-virt-tiancore-edk2-upstream.yaml @@ -106,7 +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' _ {} \; + 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; gzip -9 $out' _ {} \; ${HOME}/bin/linaro-cp out components/kernel/${JOB_NAME}/${BUILD_NUMBER} - shell: | diff --git a/linaro-edk2-prep.yaml b/linaro-edk2-prep.yaml index 8130f42c44..c42f5484ff 100644 --- a/linaro-edk2-prep.yaml +++ b/linaro-edk2-prep.yaml @@ -87,7 +87,7 @@ outdir=${WORKSPACE}/out mkdir -p ${outdir} mv ${builddir}/* ${outdir}/ - find ${outdir}/ -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' _ {} \; + find ${outdir}/ -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; gzip -9 $out' _ {} \; ${HOME}/bin/linaro-cp out components/kernel/${JOB_NAME}/${BUILD_NUMBER} diff --git a/linaro-edk2.yaml b/linaro-edk2.yaml index e1a772792d..e177462b38 100644 --- a/linaro-edk2.yaml +++ b/linaro-edk2.yaml @@ -87,7 +87,7 @@ outdir=${WORKSPACE}/out mkdir -p ${outdir} mv ${builddir}/* ${outdir}/ - find ${outdir}/ -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' _ {} \; + find ${outdir}/ -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; gzip -9 $out' _ {} \; ${HOME}/bin/linaro-cp out components/kernel/${JOB_NAME}/${BUILD_NUMBER} |