This reminds me of how we handle `-base` packages in Wolfi ๐ - https://gitlab.com/bootc-org/fedora-
This reminds me of how we handle
-base packages in Wolfi -basesilverblue, kinoite etc images which we then consume in the same way we are nowit significantly reduces the "rpm-ostree/ostree stuff" for the "base image from scratch" flow and is way more "container native".
...
I'm much happer with this as a landing spot than what we have with the existing rpm-ostree YAML bits.
arch: parameter in the build workflows. Is this not suitable for us?silverbluekinoitearch: # Phase: pre-install
# Populate the initial rootfs directory; the /workdir is a temporary volume defined to not be on overlayfs
# so that we can e.g. set SELinux labels and file capabilities
RUN --mount=type=cache,target=/var/cache/dnf,z --mount=type=cache,target=/workdir rm -rf /workdir/rootfs && /src/build/install-imagedir /src/bootc-${VARIANT} /workdir/rootfs