diff options
author | Reza Arbab <arbab@linux.ibm.com> | 2023-01-20 09:47:48 -0600 |
---|---|---|
committer | Reza Arbab <arbab@linux.ibm.com> | 2023-01-20 10:15:41 -0600 |
commit | cd0dae8fe84fbba65a91d7c54c0a0bf1d57a6b3a (patch) | |
tree | 7244c69a2caef338985deb3f66b68f7b62425bca /opal-ci/Dockerfile-debian-stretch | |
parent | 16aac05742dee3c80983145a6af6b2fc8a840ae1 (diff) | |
download | skiboot-cd0dae8fe84fbba65a91d7c54c0a0bf1d57a6b3a.zip skiboot-cd0dae8fe84fbba65a91d7c54c0a0bf1d57a6b3a.tar.gz skiboot-cd0dae8fe84fbba65a91d7c54c0a0bf1d57a6b3a.tar.bz2 |
opal-ci: Use https URLs for systemsim packages
The links used to download Mambo have stopped working:
Step 5/9 : RUN if [ `arch` = "x86_64" ]; then dnf -y install http://public.dhe.ibm.com/software/server/powerfuncsim/p9/packages/v1.1-0/systemsim-p9-1.1-0.f22.x86_64.rpm; fi
---> Running in 4676caeeb953
Last metadata expiration check: 0:03:46 ago on Thu Jan 19 16:06:19 2023.
[MIRROR] systemsim-p9-1.1-0.f22.x86_64.rpm: Curl error (56): Failure when receiving data from the peer for http://public.dhe.ibm.com/software/server/powerfuncsim/p9/packages/v1.1-0/systemsim-p9-1.1-0.f22.x86_64.rpm [Recv failure: Connection reset by peer]
[MIRROR] systemsim-p9-1.1-0.f22.x86_64.rpm: Curl error (56): Failure when receiving data from the peer for http://public.dhe.ibm.com/software/server/powerfuncsim/p9/packages/v1.1-0/systemsim-p9-1.1-0.f22.x86_64.rpm [Recv failure: Connection reset by peer]
[MIRROR] systemsim-p9-1.1-0.f22.x86_64.rpm: Curl error (56): Failure when receiving data from the peer for http://public.dhe.ibm.com/software/server/powerfuncsim/p9/packages/v1.1-0/systemsim-p9-1.1-0.f22.x86_64.rpm [Recv failure: Connection reset by peer]
[MIRROR] systemsim-p9-1.1-0.f22.x86_64.rpm: Curl error (56): Failure when receiving data from the peer for http://public.dhe.ibm.com/software/server/powerfuncsim/p9/packages/v1.1-0/systemsim-p9-1.1-0.f22.x86_64.rpm [Recv failure: Connection reset by peer]
[FAILED] systemsim-p9-1.1-0.f22.x86_64.rpm: Curl error (56): Failure when receiving data from the peer for http://public.dhe.ibm.com/software/server/powerfuncsim/p9/packages/v1.1-0/systemsim-p9-1.1-0.f22.x86_64.rpm [Recv failure: Connection reset by peer]
Curl error (56): Failure when receiving data from the peer for http://public.dhe.ibm.com/software/server/powerfuncsim/p9/packages/v1.1-0/systemsim-p9-1.1-0.f22.x86_64.rpm [Recv failure: Connection reset by peer]
Oddly, this only happens with dnf. Using curl directly to fetch the
package works. Since the issue is isolated to http, let's just change
these links to https, which is probably a good idea regardless.
Signed-off-by: Reza Arbab <arbab@linux.ibm.com>
Diffstat (limited to 'opal-ci/Dockerfile-debian-stretch')
-rw-r--r-- | opal-ci/Dockerfile-debian-stretch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opal-ci/Dockerfile-debian-stretch b/opal-ci/Dockerfile-debian-stretch index 9c2c15a..1615e76 100644 --- a/opal-ci/Dockerfile-debian-stretch +++ b/opal-ci/Dockerfile-debian-stretch @@ -4,6 +4,6 @@ RUN apt-get update -qq RUN if [ `arch` != "ppc64le" ]; then apt-get update -qq && apt-get install -y gcc-powerpc64le-linux-gnu; fi RUN apt-get update -qq && apt-get install -y gcc ccache expect libssl-dev wget xterm curl device-tree-compiler build-essential gcc python g++ pkg-config libz-dev libglib2.0-dev libpixman-1-dev libfdt-dev git libstdc++6 valgrind libtcl8.6 libmbedtls-dev RUN apt-get update -qq && apt-get install -y gcc-arm-linux-gnueabi || true -RUN if [ `arch` = "x86_64" ]; then curl -L -O http://public.dhe.ibm.com/software/server/powerfuncsim/p9/packages/v1.0-0/systemsim-p9-1.0-0-trusty_amd64.deb; dpkg -i systemsim-p9-1.0-0-trusty_amd64.deb; fi +RUN if [ `arch` = "x86_64" ]; then curl -L -O https://public.dhe.ibm.com/software/server/powerfuncsim/p9/packages/v1.0-0/systemsim-p9-1.0-0-trusty_amd64.deb; dpkg -i systemsim-p9-1.0-0-trusty_amd64.deb; fi COPY . /build/ WORKDIR /build |