base-images/tests/rootfs
Colin Walters 68f0f21c99 minimal: Add tmpfiles entries for Konflux injected content
See https://github.com/konflux-ci/build-tasks-dockerfiles/pull/243

Unfortunately...some 3rd party container scanners just hard require these JSON files
to exist at the target path. It's going to be a painful long road to get them fixed
to rely on something else.

Add `tmpfiles.d` entries to silence `bootc container lint` for this. It will have
the effect of course of creating these files if they don't exist on boot, so in
the future we'll probably aim to add an "ignore" entry for this into the bootc container
lint.

Also adds a rootfs test case verifying the tmpfiles config is present in built images.

Assisted-by: OpenCode (Claude Sonnet 4.6)
Signed-off-by: Colin Walters <walters@verbum.org>
2026-06-01 17:11:35 -04:00
..
cases minimal: Add tmpfiles entries for Konflux injected content 2026-06-01 17:11:35 -04:00
Dockerfile tests: simplify to use just the built bootc image 2025-05-06 16:37:47 -04:00
README.md tests/rootfs/README: document how to run the tests 2025-05-06 16:50:20 -04:00
run Use rpmdb-normalize, add rootfs tests 2025-02-28 09:14:45 -05:00

rootfs tests

This is a set of scripts that sanity check the target rootfs in a read-only fashion.

To run the tests:

podman build --from localhost/fedora-bootc:latest -t localhost/test-bootc .
podman rmi localhost/test-bootc:latest # Clean up any created images