mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-18 04:05:34 +00:00
ci: fedora/prepare: use curl to download rustup instead of wget
We install curl anyway as a dependency of the plugins Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1060>
This commit is contained in:
parent
88e6dd0555
commit
98eab9a562
1 changed files with 3 additions and 3 deletions
|
@ -29,12 +29,14 @@ dnf install -y \
|
||||||
libaom \
|
libaom \
|
||||||
libaom-devel \
|
libaom-devel \
|
||||||
libcaca-devel \
|
libcaca-devel \
|
||||||
|
libcurl-devel \
|
||||||
libdav1d \
|
libdav1d \
|
||||||
libdav1d-devel \
|
libdav1d-devel \
|
||||||
libdrm-devel \
|
libdrm-devel \
|
||||||
ccache \
|
ccache \
|
||||||
cmake \
|
cmake \
|
||||||
clang-devel \
|
clang-devel \
|
||||||
|
curl \
|
||||||
elfutils \
|
elfutils \
|
||||||
elfutils-libs \
|
elfutils-libs \
|
||||||
elfutils-devel \
|
elfutils-devel \
|
||||||
|
@ -254,10 +256,8 @@ RUSTUP_VERSION=1.26.0
|
||||||
RUST_VERSION=1.73.0
|
RUST_VERSION=1.73.0
|
||||||
RUST_ARCH="x86_64-unknown-linux-gnu"
|
RUST_ARCH="x86_64-unknown-linux-gnu"
|
||||||
|
|
||||||
dnf install -y wget
|
|
||||||
RUSTUP_URL=https://static.rust-lang.org/rustup/archive/$RUSTUP_VERSION/$RUST_ARCH/rustup-init
|
RUSTUP_URL=https://static.rust-lang.org/rustup/archive/$RUSTUP_VERSION/$RUST_ARCH/rustup-init
|
||||||
wget $RUSTUP_URL
|
curl -o rustup-init $RUSTUP_URL
|
||||||
dnf remove -y wget
|
|
||||||
|
|
||||||
export RUSTUP_HOME="/usr/local/rustup"
|
export RUSTUP_HOME="/usr/local/rustup"
|
||||||
export CARGO_HOME="/usr/local/cargo"
|
export CARGO_HOME="/usr/local/cargo"
|
||||||
|
|
Loading…
Reference in a new issue