mirror of
https://gitlab.com/fedora/bootc/base-images.git
synced 2026-09-02 22:40:45 +00:00
Add MANIFEST=fedora-eln: minimal-plus base for Enterprise Linux Next (ELN), using distro fedora and ELN repos at build time. The resulting image is published as centos-eln. Ref: https://github.com/fedora-eln/eln/issues/214 Co-authored-by: Cursor <cursoragent@cursor.com>
22 lines
760 B
Bash
Executable file
22 lines
760 B
Bash
Executable file
#!/bin/bash
|
|
set -xeuo pipefail
|
|
# This script copies the manifests from the current directory
|
|
# 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
|
|
# Embed the generic defaults
|
|
cp -a $image $manifestdir/
|
|
# And the top-level Fedora-specific manifests
|
|
if [ -f $image.hidden.yaml ]; then
|
|
cp -a $image.hidden.yaml $manifestdir/
|
|
else
|
|
cp -a $image.yaml $manifestdir/
|
|
fi
|
|
# And the legacy `fedora-` prefixed names
|
|
cp -a fedora-$image.yaml $manifestdir/
|
|
done
|
|
# Set the default
|
|
ln -s fedora-standard.yaml $manifestdir/default.yaml
|
|
# And install dependency manifests
|
|
cp -a fedora-includes $manifestdir
|