Review notice
100% LLM-generated. Not yet reviewed by a human. Experimental.
Ideas¶
Backend boundaries¶
The shared layer should stay limited to exact source selection, source-root and
target validation, and Fedora release matching. Backends retain their native
semantics: Fedora bootc uses the pinned bootc-base-imagectl, while the
experimental F44/F45 Silverblue and Kinoite rootfs paths call
rpm-ostree compose tree --print-only and rpm-ostree compose rootfs on their
pinned native manifests. Neither Atomic Desktop path becomes a bootc image or
claims bootability.
- Verify exact published references and pinned source entrypoints before adding more Atomic Desktops; a registry tag alone does not prove that its content matches the expected release or source checkout.
For Fedora CoreOS, fedora-coreos-config/build-rootfs also calls the bootc helper. FCOS additionally selects stream-specific packages, repositories, locks, and overlays, then adds image/platform/disk metadata, postprocessing, and an initramfs. COSA promotion, signing, Kola, and installer gates are separate. Shared rootfs orchestration is not an FCOS release path.
For RHEL 10, image-builder's imagetypes.yaml
describes AMI disk partitions, bootloader and EC2 platform configuration, not
an arbitrary non-bootc OCI input. Its bootc-image-builder path expects a bootc
container. A future “non-bootc OCI to AMI” adapter would still need entitled
repositories, preserved filesystem metadata, disk/boot construction, EC2 guest
validation, and separate AWS import/registration; this POC implements none of
those steps.
DNF5 manifest alignment¶
The DNF5 manifest background separates a package-resolution request from a resolved RPM manifest. It is a possible package lock for extensions, not a replacement for native bootc or Atomic Desktop definitions or their finalization steps.
- Prototype DNF5 manifest resolve/download with a disposable repository, explicitly verify RPM checksums, then compare installed NEVRAs in an installroot. Do not claim bootability from a package manifest alone.
-
Revisit the name
manifest-to-rootfsonly if this becomes a narrow, manifest-input/rootfs-output tool; the current wrapper also selects native upstream definitions and leaves non-package build steps to their backends. -
Spike on image-embedded manifests for pure extensions:
FROM <base>,COPYa JSON (or supported Kickstart) manifest into a discoverable location such as/usr/lib/container-image-builder/manifests/, thenRUN container-image-builder apply <manifest>. Apply changes through existing package/build tooling, retain the manifest in the derived image, and test predictable reapplication. This mode deliberately keeps the base image's OCI layers; rebuilding a rootfs withFROM scratchis a separate use case. -
Spike on declarative non-RPM artifact copies in manifests, equivalent to
COPY --from=image /usr/lib/systemd/foo.service /usr/lib/systemd/foo.service. Start with regular files from digest-pinned, read-only image sources; specify exact destinations, numeric ownership, and modes. Usecap_stdfor source and target confinement, reject symlink escapes and collisions by default, and require explicit policy for overriding RPM-owned files. Apply copies before native finalization where the backend supports that phase; reject unsupported ordering rather than silently copying afterward. Record source digests and applied-file hashes, and test bytes, metadata, and failure cases. Copying a unit does not enable it or imply inherited source-image layers.