Installation artifacts
Procedure
- Confirm the source image digest and published tag.
- Read the artifact workflow before dispatching it.
- Use the workflow's explicit safe variant and promotion inputs.
- Verify the artifact exists before promoting it.
- Report failed upstream image publication separately from artifact failure.
Never overwrite a known-good artifact to force a broken rebuild through.
Container-native ISO contract
build_files/base/21-container-native-iso.sh embeds the contract the ISO
builder consumes, but only the parts that belong in a bootc image: the Anaconda
profile and post-scripts, the livesys hooks, and
/usr/lib/bootc-image-builder/iso.yaml.
The shim and grub2 EFI payload stays where its RPMs put it,
/usr/lib/efi/*/*/EFI. The contract asks for it in /boot/efi/EFI/$VENDOR, and
the ISO builder stages it there in its own throwaway layer, exactly as the
do:
mkdir -p /boot/efi && cp -a /usr/lib/efi/*/*/EFI /boot/efi/
Do not move that copy back into the image. /boot must ship empty or every
derived image fails bootc container lint --fatal-warnings. See
When to Use
Use for Installation media or downstream image artifacts.
When NOT to Use
Do not use for Normal image build or release metadata only.
Core Process
Verify source digest, read artifact workflow, use explicit safe inputs.
Common Rationalizations
- "A shortcut is harmless." Follow the source-of-truth and verification rules instead.
Red Flags
- Promoting an artifact without verifying its source image.
Verification
- [ ] The selected source and focused command were checked.
- [ ] The repository default gate passes.