mirror-coreos-fedora-coreos.../.containerignore
jbtrystram af0d6638f0 build-rootfs: inject disk partition layouts for image-builder
bootc-image-builder needs a disk partition table definition at
/usr/lib/image-builder/bootc/disk.yaml to produce disk images. Each
architecture has a different partition layout (e.g. BIOS boot on x86_64,
PReP on ppc64le, no boot partition on s390x), so the correct file must
be selected at build time.

This follows the same injection pattern already used for platforms.json
and image.json: build-rootfs links the correct partitioncorrect partition
table from the disk-image overlay.

Authored-by: Opencode.ai claude-opus-4-6@default
2026-06-04 19:05:25 +02:00

24 lines
444 B
Text

# by default, ignore everything
*
# only add what we actually need; this provides more accurate layer caching and
# makes the COPY faster
!/*.repo
!/build-args.conf
!/build-rootfs
!/buildroot-prep
!/image-base.yaml
!/image-default.yaml
!/image.yaml
!/live/
!/manifest-lock.*
!/manifests/
!/manifest.yaml
!/overlay.d/
!/overrides/
!/image-builder/
!/platforms.yaml
# Useful for testing development versions.
!/bootc-base-imagectl
!/rpm-ostree