aboutsummaryrefslogtreecommitdiff
path: root/leg-virt-tiancore-edk2-upstream.yaml
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2015-12-04 19:04:33 +0100
committerArd Biesheuvel <ard.biesheuvel@linaro.org>2015-12-04 19:04:33 +0100
commit10c0e91534a1de99f459ec8d5fb9771a9d024864 (patch)
tree839d2bbd34175c9cd902212aba71d9600afa096a /leg-virt-tiancore-edk2-upstream.yaml
parent8537268359a54d0ab0fcb9b31073fc85159abbe1 (diff)
leg-virt-tianocore: fall back to older openssl version
Change-Id: I9fb546a1537954a9b00c7fabcb49bcbc3788b65f Signed-off-by: Ard Biesheuvel <ard.biesheuvel@gmail.com>
Diffstat (limited to 'leg-virt-tiancore-edk2-upstream.yaml')
-rw-r--r--leg-virt-tiancore-edk2-upstream.yaml1
1 files changed, 1 insertions, 0 deletions
diff --git a/leg-virt-tiancore-edk2-upstream.yaml b/leg-virt-tiancore-edk2-upstream.yaml
index 2478539c4e..1ee512859d 100644
--- a/leg-virt-tiancore-edk2-upstream.yaml
+++ b/leg-virt-tiancore-edk2-upstream.yaml
@@ -98,6 +98,7 @@
VERSION=$(ls -rv EDKII_openssl-*.patch|head -1|sed 's/^.*-\([0-9.a-z]*\).patch/\1/')
wget -O - -q "http://www.openssl.org/source/openssl-${VERSION}.tar.gz" | tar xzf -
+ [ $? -eq 0 ] || wget -O - -q "http://www.openssl.org/source/old/${VERSION%[a-z]*}/openssl-${VERSION}.tar.gz" | tar xzf -
( cd openssl-${VERSION}; patch -p0 -i ../EDKII_openssl-${VERSION}.patch )
./Install.sh