install-manifests: Handle ELN as rawhide-only variant

ELN manifests should only be installed on rawhide/main branch.
When stable release branches are created (e.g., F44), the eln/
directory and fedora-eln.yaml should be manually removed from
those branches to prevent ELN from being available on stable
releases.

This change installs ELN manifests conditionally rather than
including 'eln' in the main loop, making it clearer that ELN
is a special case that needs manual handling during release
branching.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
Jeff Ligon 2026-07-02 10:39:10 -04:00
commit df6ef022e3
No known key found for this signature in database

View file

@ -4,7 +4,7 @@ set -xeuo pipefail
# into their installed location.
manifestdir=${1:-/usr/share/doc/bootc-base-imagectl/manifests}
mkdir -p "$manifestdir/"
for image in minimal standard minimal-plus iot eln; do
for image in minimal standard minimal-plus iot; do
# Embed the generic defaults
cp -a $image $manifestdir/
# And the top-level Fedora-specific manifests
@ -16,6 +16,12 @@ for image in minimal standard minimal-plus iot eln; do
# And the legacy `fedora-` prefixed names
cp -a fedora-$image.yaml $manifestdir/
done
# ELN is rawhide-only and should be removed when stable branches are created
# (manually remove eln/ directory and fedora-eln.yaml when branching for new releases)
if [ -d eln ]; then
cp -a eln $manifestdir/
cp -a fedora-eln.yaml $manifestdir/
fi
# Set the default
ln -s fedora-standard.yaml $manifestdir/default.yaml
# And install dependency manifests