From c582ed5bcd324343652f0f11e0eaf0197155def4 Mon Sep 17 00:00:00 2001 From: Nico Huber Date: Mon, 29 Aug 2022 14:54:03 +0000 Subject: mainbuilder/djgpp: Disable TLS verification for curl and Git This image is based on an old unsupported SUSE version. The ca-certificates don't get updates anymore. Change-Id: Ie46e3772f030765d6abb092727e2fbed61d3d989 Signed-off-by: Nico Huber Reviewed-on: https://review.coreboot.org/c/flashrom/+/67178 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons Reviewed-by: Felix Singer --- util/manibuilder/Dockerfile.djgpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'util') diff --git a/util/manibuilder/Dockerfile.djgpp b/util/manibuilder/Dockerfile.djgpp index 970ceb44..7bd5c7bd 100644 --- a/util/manibuilder/Dockerfile.djgpp +++ b/util/manibuilder/Dockerfile.djgpp @@ -6,6 +6,7 @@ RUN \ useradd -p locked -m mani && \ zypper -q install -y tar make git ccache +ENV GIT_SSL_NO_VERIFY=1 USER mani RUN cd && \ mkdir .ccache && chown mani:users .ccache && \ @@ -13,14 +14,14 @@ RUN cd && \ git clone https://git.kernel.org/pub/scm/utils/pciutils/pciutils.git && \ cd pciutils && \ git checkout v3.5.6 && \ - curl https://flashrom.org/images/6/6a/Pciutils-3.5.6.patch.gz | zcat | git apply && \ + curl --insecure https://flashrom.org/images/6/6a/Pciutils-3.5.6.patch.gz | zcat | git apply && \ make ZLIB=no DNS=no HOST=i386-djgpp-djgpp \ CROSS_COMPILE=i586-pc-msdosdjgpp- \ PREFIX=/ DESTDIR=$PWD/../ \ STRIP="--strip-program=i586-pc-msdosdjgpp-strip -s" \ install install-lib && \ cd ../ && \ - curl https://flashrom.org/images/3/3d/Libgetopt.tar.gz | zcat | tar x && \ + curl --insecure https://flashrom.org/images/3/3d/Libgetopt.tar.gz | zcat | tar x && \ cd libgetopt && \ make && cp libgetopt.a ../lib/ && cp getopt.h ../include/ -- cgit v1.2.3