File tree Expand file tree Collapse file tree 3 files changed +11
-3
lines changed
Expand file tree Collapse file tree 3 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,13 @@ TDX_QUOTE_PROVIDER_REF=$(mkosi-chroot yq -r '.tdx_quote_provider.git_reference'
1313source scripts/make_git_package.sh
1414source scripts/build_rust_package.sh
1515
16+ export CARGO_HOME=" /cargo"
17+ export RUSTUP_HOME=" /rustup"
18+ export PATH=" $CARGO_HOME /bin:$PATH "
19+ RUST_VERSION=$( mkosi-chroot yq -r ' .rust.version' < " $ENV_YAML " )
20+ mkosi-chroot rustup toolchain install $RUST_VERSION
21+ mkosi-chroot rustup default $RUST_VERSION
22+
1623# build simulator
1724
1825build_rust_package \
Original file line number Diff line number Diff line change @@ -9,9 +9,8 @@ PostInstallationScripts=l2/_simulator/mkosi.postinst
99Packages=sudo
1010 unzip
1111
12- BuildPackages=cargo/trixie-backports
13- golang
12+ BuildPackages=golang
1413 libssl-dev
15- rustc/trixie-backports
14+ rustup
1615 unzip
1716 yq
Original file line number Diff line number Diff line change @@ -6,3 +6,5 @@ simulator:
66 git_reference : v0.0.1-dev.1
77rproxy :
88 git_reference : v0.0.10-dev.7
9+ rust :
10+ version : 1.91.1
You can’t perform that action at this time.
0 commit comments