From 590837d9de478d92a4d9d402d85e23040c76a0c0 Mon Sep 17 00:00:00 2001 From: David Colburn Date: Tue, 19 Nov 2024 17:43:22 -0800 Subject: [PATCH] cargo update time --- build/gstreamer/compile-rs | 3 ++- build/gstreamer/install-dependencies | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build/gstreamer/compile-rs b/build/gstreamer/compile-rs index 278129df..29f32022 100755 --- a/build/gstreamer/compile-rs +++ b/build/gstreamer/compile-rs @@ -6,7 +6,8 @@ for repo in gst-plugins-rs; do # strip binaries in debug mode mv Cargo.toml Cargo.toml.old - sed s,'\[profile.release\]','[profile.release]\nstrip="debuginfo"', Cargo.toml.old > Cargo.toml + sed s,'\[profile.release\]','[profile.release]\nstrip="debuginfo"', Cargo.toml.old > Cargo.toml + cargo update -p time opts="-D prefix=/usr -D tests=disabled -D doc=disabled" diff --git a/build/gstreamer/install-dependencies b/build/gstreamer/install-dependencies index 5f7dec7d..7de4b86d 100755 --- a/build/gstreamer/install-dependencies +++ b/build/gstreamer/install-dependencies @@ -3,7 +3,6 @@ set -euxo pipefail export DEBIAN_FRONTEND=noninteractive -sed -i 's/# deb-src/deb-src/g' /etc/apt/sources.list apt-get update apt-get dist-upgrade -y apt-get install -y --no-install-recommends \ @@ -121,7 +120,7 @@ apt-get clean rm -rf /var/lib/apt/lists/* # install rust -curl -o install-rustup.sh --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs +curl -o install-rustup.sh --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs sh install-rustup.sh -y source "$HOME/.cargo/env" cargo install cargo-c