Skip to content

DLPX-94087 LTS 24.04: update delphix-rust for Ubuntu 24.04 appliance #27

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions RUSTC_VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1.84.1
10 changes: 7 additions & 3 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,18 @@ Standards-Version: 4.1.2

Package: delphix-rust
Architecture: any
Provides: cargo, rust-gdb, rustc
Conflicts: cargo, rust-gdb, rustc
Provides: cargo (= ${binary:Version}),
rust-gdb (= ${binary:Version}),
rustc (= ${binary:Version}),
rustfmt (= ${binary:Version}),
cargo-fmt (= ${binary:Version})
Conflicts: cargo, rust-gdb, rustc, rustfmt, cargo-fmt
Description: Rust - A programming language empowering everyone to build
reliable and efficient software.

Package: delphix-rust-src
Architecture: any
Provides: rust-src
Provides: rust-src (= ${binary:Version})
Conflicts: rust-src
Description: Rust - A programming language empowering everyone to build
reliable and efficient software.
5 changes: 3 additions & 2 deletions debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,15 @@
#

DEB_HOST_GNU_CPU ?= $(shell dpkg-architecture -qDEB_HOST_GNU_CPU)
RUSTC_VERSION := $(shell tr -d '\n' < RUSTC_VERSION)

%:
dh $@

override_dh_prep:
dh_prep
./scripts/fetch-and-run-installer.sh "1.84.1" "/usr" "debian/tmp" $(DEB_HOST_GNU_CPU)
./scripts/fetch-and-unpack-src.sh "1.84.1" "/usr/src" "debian/tmp"
./scripts/fetch-and-run-installer.sh "${RUSTC_VERSION}" "/usr" "debian/tmp" $(DEB_HOST_GNU_CPU)
./scripts/fetch-and-unpack-src.sh "${RUSTC_VERSION}" "/usr/src" "debian/tmp"

override_dh_strip:
# Skip this step; use artifacts from Rust tarballs as-is.
Expand Down