Skip to content

feat: hoist e2fsdroid (from platform-tools) from Dockerfile to Bazel#10490

Open
nmattia wants to merge 3 commits into
masterfrom
nm-e2fsdroid
Open

feat: hoist e2fsdroid (from platform-tools) from Dockerfile to Bazel#10490
nmattia wants to merge 3 commits into
masterfrom
nm-e2fsdroid

Conversation

@nmattia

@nmattia nmattia commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

Hoist e2fsdroid out of the Dockerfile and into the Bazel build, like we did for e2fsprogs (mke2fs), dosfstools and mtools.

This will still pull the prebuilt binary; we don't build it from source (yet).

Instead, this pins the platform-tools archive directly via http_archive and exposes just the prebuilt e2fsdroid binary as //:e2fsdroid. Wire it into the ext4_image rule and build_ext4_image.py the same way as //:mkfs.ext4, so the image build no longer relies on e2fsdroid being on PATH.

Hoist e2fsdroid out of the Dockerfile and into the Bazel build, like we
did for e2fsprogs (mke2fs), dosfstools and mtools.

This will still pull the prebuilt binary; we don't build it from source
(yet).

Instead, this pins the platform-tools archive directly via http_archive
and exposes just the prebuilt e2fsdroid binary as //:e2fsdroid. Wire it
into the ext4_image rule and build_ext4_image.py the same way as
//:mkfs.ext4, so the image build no longer relies on e2fsdroid being on
PATH.
@github-actions github-actions Bot added the feat label Jun 16, 2026
@nmattia

This comment was marked as outdated.

@nmattia nmattia marked this pull request as ready for review June 16, 2026 15:12
@nmattia nmattia requested review from a team as code owners June 16, 2026 15:12
@nmattia nmattia enabled auto-merge June 16, 2026 15:14
nmattia and others added 2 commits June 16, 2026 17:27
…e8285db62b02ade2b254d17d2af70

ic-build: sha256:2d5964b38af8f9bea12495ea79f4c62a1fc2f6ca688620a0eddf8a60239fad0e

ic-dev:   sha256:51b4412289f372d4a58363747cfbb1a6207fdf2b092d20ad8daac3b029fb920f
@github-actions

Copy link
Copy Markdown
Contributor

Run URL: https://github.com/dfinity/ic/actions/runs/27628709281

New container images with tag: 05123e412a06a2958ce977d6a1ae1c694ece8285db62b02ade2b254d17d2af70
ic-build: sha256:2d5964b38af8f9bea12495ea79f4c62a1fc2f6ca688620a0eddf8a60239fad0e
ic-dev: sha256:51b4412289f372d4a58363747cfbb1a6207fdf2b092d20ad8daac3b029fb920f

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants