When we renamed tier-0 → minimal and tier-1 → standard, the naming of tier-x became obsolete. Complete the nomenclature update. Closes: https://gitlab.com/fedora/bootc/base-images/-/issues/24 Signed-off-by: Colin Walters <walters@verbum.org>
16 lines
551 B
Bash
Executable file
16 lines
551 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; do
|
|
# Embed the generic defaults
|
|
cp -a $image $manifestdir/
|
|
# And the Fedora-specific tweaks
|
|
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
|