2021-07-06 17:08:30 +00:00
|
|
|
# To be sourced by scripts to use
|
|
|
|
|
2021-07-10 04:17:40 +00:00
|
|
|
# Variables that can be overriden should be noted with optional context. It is
|
|
|
|
# expected that these values are here in this file (per variable or per set):
|
|
|
|
#
|
|
|
|
# * Allowed
|
|
|
|
# * Allowed with caveats
|
|
|
|
# * Not Allowed
|
|
|
|
# * Required
|
|
|
|
|
2021-07-08 02:54:12 +00:00
|
|
|
# Temporary probably. This makes it so if RLVER=... is called before the script
|
|
|
|
# it will set the version for the variables to call up. This was easier than
|
|
|
|
# creating duplicates of a bunch of stuff. Default version is 8.
|
|
|
|
if [ -z "$RLVER" ]; then
|
|
|
|
export RLVER=8
|
|
|
|
fi
|
2021-07-06 17:08:30 +00:00
|
|
|
|
2021-07-10 04:17:40 +00:00
|
|
|
# Override: Not Allowed
|
2021-07-06 17:08:30 +00:00
|
|
|
STAGING_ROOT="/mnt/repos-staging"
|
|
|
|
PRODUCTION_ROOT="/mnt/repos-production"
|
|
|
|
|
2021-07-10 04:17:40 +00:00
|
|
|
# Override: Not Allowed
|
2021-07-06 17:08:30 +00:00
|
|
|
# relative to ${ENV}_ROOT
|
|
|
|
CATEGORY_STUB="mirror/pub/rocky"
|
2021-07-08 02:54:12 +00:00
|
|
|
|
2021-07-10 04:17:40 +00:00
|
|
|
# Override: Required
|
2021-07-08 02:54:12 +00:00
|
|
|
#RELEASE_DIR="${CATEGORY_STUB}/${REVISION}${APPEND_TO_DIR}"
|
2021-07-06 17:08:30 +00:00
|
|
|
|
|
|
|
# Define arches we support
|
2021-07-10 04:17:40 +00:00
|
|
|
# Override: Not Allowed
|
2021-07-06 17:08:30 +00:00
|
|
|
ARCHES=(x86_64 aarch64)
|
|
|
|
|
2021-07-10 04:17:40 +00:00
|
|
|
# Source Major common
|
|
|
|
# Override: Not Allowed
|
2022-07-13 05:55:50 +00:00
|
|
|
test -f "$(dirname "${BASH_SOURCE[0]}")/common_${RLVER}" && source "$(dirname "${BASH_SOURCE[0]}")/common_${RLVER}"
|
2021-07-08 02:54:12 +00:00
|
|
|
if [ "$?" -ne 0 ]; then
|
|
|
|
echo "Could not source common_${RLVER}"
|
|
|
|
exit 1
|
|
|
|
fi
|
2021-07-06 17:08:30 +00:00
|
|
|
|
2021-07-08 02:54:12 +00:00
|
|
|
# Combined variables based on common data
|
2021-07-10 04:17:40 +00:00
|
|
|
# Override: Capable with caveats
|
2021-07-08 02:54:12 +00:00
|
|
|
REV="${REVISION}${APPEND_TO_DIR}"
|
2021-07-10 01:57:20 +00:00
|
|
|
|
|
|
|
# These repos have modules
|
2021-07-10 04:17:40 +00:00
|
|
|
# Override: Allowed
|
|
|
|
# This variable can (and probably should) be overriden by their common_X files
|
|
|
|
# that are sourced. The reason is because future EL's can potentially change up
|
|
|
|
# which repos are module based (whether adding/removing). This is something to
|
|
|
|
# keep in mind. For example, Fedora (sanely) has a "base" repo and then an
|
|
|
|
# updates repo for both their regular packages *and* their modularity repos.
|
|
|
|
# This obviously makes sense and I can only hope Red Hat decides to bring that
|
|
|
|
# back in some way.
|
2021-07-10 01:57:20 +00:00
|
|
|
MODS=(
|
|
|
|
AppStream
|
|
|
|
PowerTools
|
|
|
|
)
|
|
|
|
|
|
|
|
# Used to iterate over ISOs?
|
2021-07-10 04:17:40 +00:00
|
|
|
# Override: Allowed
|
2021-07-10 01:57:20 +00:00
|
|
|
VARIANTS=(boot minimal dvd1)
|