Request: Publish OCI images without fedora.yaml packages #132
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Describe the enhancement
I suggest also publishing OCI images without
fedora.yamlpackages (by settingdistroto a value other thanfedora). This would make it easier for downstream users to customize less Fedora-specific images without having to manually remove the corresponding packages.System details
No response
Additional information
No response
This is not quite the same issue as #125. #125 is more focused on the Fedora brand itself, and is also a more complicated problem.
What makes #125 particularly tricky is that the
fedora-releasepackage contains two different kinds of things at the same time: branding and system behavior. For most people building derivative images, however, they only need—and only want—to replace the branding-related parts. For example, uBlue images still use thefedora-releasepackage, while replacing/etc/os-release.This issue, on the other hand, is more about removing packages that may simply be unnecessary for people who are not directly using Fedora. Unlike branding, this is also useful for people building images purely for personal use rather than for redistribution.
More importantly, there appear to be practical ways to address this without incurring particularly high implementation or maintenance costs.
Two alternative approaches would be to either have downstream images build on top of
atomic-desktops/configas well, or remove the relevant packages from the downstream images.The main drawback of the former is that it would significantly increase the maintenance burden. The latter, however, is also somewhat cumbersome. Currently, all packages in the OCI image appear to have their install reason set to
external user(I'm not sure whether this is a bug or the intended behavior). As a result,autoremoveeffectively does not work.This means that, in order to remove those packages from a downstream image, we would also need to explicitly identify and remove their dependencies.
As I wrote in #125 (comment), this requires work to complete the picture with replacement packages.
But I'm OK doing that here when this work is complete. Right now the priority is to move the unofficial bootable container builds form GitLab CI to something Testing Farm based here or Konflux.