mirror of
https://gitlab.com/fedora/bootc/base-images.git
synced 2026-09-02 14:30:46 +00:00
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:
parent
972df8746e
commit
df6ef022e3
1 changed files with 7 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue