diff options
| author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2026-02-06 03:54:31 +0000 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2026-02-09 03:34:12 +0000 |
| commit | bb7e321ff59a9ffdb53b33929826b4fb0e8616ec (patch) | |
| tree | 0186cfdc9bb5059d4fb7f3d37be6e3bd991ff66e /dynamic-layers | |
| parent | cd5081a5e9ff1c6f5eb74ab90326d602142248f9 (diff) | |
| download | meta-virtualization-bb7e321ff59a9ffdb53b33929826b4fb0e8616ec.tar.gz | |
container-cross-install: add tests and documentation for custom service files
Add pytest tests to verify CONTAINER_SERVICE_FILE varflag support:
TestCustomServiceFileSupport (unit tests, no build required):
- test_bbclass_has_service_file_support
- test_bundle_class_has_service_file_support
- test_service_file_map_syntax
- test_install_custom_service_function
TestCustomServiceFileBoot (boot tests, require built image):
- test_systemd_services_directory_exists
- test_container_services_present
- test_container_service_enabled
- test_custom_service_content
- test_podman_quadlet_directory
Documentation updates:
- docs/container-bundling.md: Add "Custom Service Files" section with
variable format, usage examples for both BUNDLED_CONTAINERS and
container-bundle packages, and example .service/.container files
- tests/README.md: Add test class entries to structure diagram and
"What the Tests Check" table
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'dynamic-layers')
0 files changed, 0 insertions, 0 deletions
