mirror of
https://github.com/coreos/fedora-coreos-config.git
synced 2026-11-03 22:59:47 -09:00
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
24 lines
444 B
Text
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
|