Skip to content

Mirror ubuntu rootfs and busybox used by armhf-gnu#47

Merged
jieyouxu merged 1 commit into
rust-lang:mainfrom
jieyouxu:jieyouxu/mirror/armhf-gnu
Jul 5, 2026
Merged

Mirror ubuntu rootfs and busybox used by armhf-gnu#47
jieyouxu merged 1 commit into
rust-lang:mainfrom
jieyouxu:jieyouxu/mirror/armhf-gnu

Conversation

@jieyouxu

@jieyouxu jieyouxu commented Jul 5, 2026

Copy link
Copy Markdown
Member

Summary

Follow-up to #41, #42, #46, armhf-gnu relies on (at least) two more external sources:

busybox: https://github.com/rust-lang/rust/blob/ea088e0a3dd50c494b4589c3c121d7469dceec8f/src/ci/docker/host-x86_64/armhf-gnu/Dockerfile#L50

ubuntu rootfs: https://github.com/rust-lang/rust/blob/ea088e0a3dd50c494b4589c3c121d7469dceec8f/src/ci/docker/host-x86_64/armhf-gnu/Dockerfile#L63

Let's mirror those two to reduce the amount of external network reliance we have in our CI jobs.

Comment thread files/rustc/ubuntu.toml
name = "ubuntu/ubuntu-base-22.04.2-base-armhf.tar.gz"
sha256 = "244e2d2a95d8fa1481c67138012b6ffedd684fc37a53b890f8c29e6abf02e14d"
source = "https://cdimage.ubuntu.com/ubuntu-base/releases/22.04/release/ubuntu-base-22.04.2-base-armhf.tar.gz"
license = "https://canonical.com/legal/intellectual-property-policy"

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NB: there is no canonical (hah) license for all of ubuntu tree, since each package has their own licenses. I feel that it's most accurate to directly point to Canonical Legal's own policy page.

@Kobzol Kobzol left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's use the rustc/ubuntu and rustc/busybox prefixes for both? The rustc prefix IMO means that it is used in rust-lang/rust by its CI.

@jieyouxu

jieyouxu commented Jul 5, 2026

Copy link
Copy Markdown
Member Author

Let's use the rustc/ubuntu and rustc/busybox prefixes for both? The rustc prefix IMO means that it is used in rust-lang/rust by its CI.

... You know what, that's what I intended to use, but then I only did it for the toml file itself not the available-at path 😆

@jieyouxu jieyouxu added this pull request to the merge queue Jul 5, 2026
Merged via the queue into rust-lang:main with commit b49d54f Jul 5, 2026
3 checks passed
@jieyouxu jieyouxu deleted the jieyouxu/mirror/armhf-gnu branch July 5, 2026 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants