Switch L2 images to use Debian Backports instead of Rustup #52
+25
−12
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The new Debian-backports rust versions:
These changes:
To update rustc/cargo to the latest version for a particular image, you only need to update the Debian repo timestamp for the image's root config file (e.g. the timestamp in
l2/_op_rbuilder/mkosi.conf). Rust maintains best-in-class backwards compatibility, which means granularity of specific rust versions are unnecessary. Updating to the latest version based on timestamp should always be sufficient.The only functional change of this PR to the L2 VM is that it changes the rust version to match the latest version available in the Debian backports as of the timestamp specified in
l2/mkosi.conf(2025/10/30), but I've verified that all the Rust software used by the L2 OP Rbuilder image compiles properly on that version, so this should be good to merge without affecting anything.However, after merging this PR, running
make cleanis necessary in order to make sure the measurements match