Repository navigation
feat: add a containerd config to enable EROFS snapshotter and referrer flag when IPE is enabled - #98
Draft
Dallas Delaney (dallasd1) wants to merge 1 commit into
Draft
Dallas Delaney (dallasd1) wants to merge 1 commit into
Dallas Delaney (dallasd1) wants to merge 1 commit into
Conversation
Dallas Delaney (dallasd1)
deployed
to
development
October 9, 2026 17:51 — with
GitHub Actions
Active
There was a problem hiding this comment.
🟡 Changes recommended
The documented enforcing-mode behavior contradicts the loader implementation and its tests.
1 open finding
What changed in this PR
Adds IPE-triggered EROFS configuration for containerd while preserving the selected base configuration.
Changes:
- Adds EROFS tooling and containerd profile assets.
- Installs the profile after IPE activation.
- Adds runtime/offline validation and documentation.
| File | Description |
|---|---|
build_library/rpm/sysext_mangle_containerd-flatcar.sh |
Installs EROFS profile assets. |
build_library/rpm/dracut_install.sh |
Adds the profile to the IPE dracut module. |
build_library/rpm/additional_files/dracut-acl-ipe-load/module-setup.sh |
Installs the profile into initramfs. |
build_library/rpm/additional_files/dracut-acl-ipe-load/acl-ipe-load.sh |
Activates the containerd drop-in with IPE. |
build_library/rpm/additional_files/containerd2/containerd-acl-select-profile |
Merges and validates containerd configurations. |
build_library/rpm/additional_files/containerd2/containerd-acl-profile.conf |
Overrides containerd startup for EROFS. |
build_library/rpm/additional_files/containerd2/containerd-acl-erofs.toml |
Configures EROFS snapshotting and referrers. |
acl/tests/ipe/run-ipe-audit-test.sh |
Validates the active containerd profile. |
acl/tests/ipe/offline/test-ipe-loader-runtime.sh |
Tests profile installation by IPE mode. |
acl/sysexts.yaml |
Adds erofs-utils to the containerd sysext. |
acl/docs/BUILD_RPM_IMAGE_README.md |
Documents IPE/containerd integration. |
🧠 Review effort: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.

Summary
Add a containerd config to enable EROFS snapshotter and referrer flag when IPE is enabled. This config change will only be triggered if IPE is in audit mode. When IPE is set, IPE's loader will run the acl-select-profile script to merge the base containerd config that AgentBaker or ACL sets with the EROFS config. None of the settings in the base config get overwritten.
This is a follow up PR for after the containerd2 patch enabling dmverity referrers is merged.
Change Log
Type of Change
Does this affect the image build?
Associated Issues
Test Methodology
Merge Checklist
All applicable boxes should be checked before merging