2021-07-06 17:08:30 +00:00
|
|
|
# To be sourced by scripts to use
|
|
|
|
|
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
|
|
|
|
|
|
|
STAGING_ROOT="/mnt/repos-staging"
|
|
|
|
PRODUCTION_ROOT="/mnt/repos-production"
|
|
|
|
|
|
|
|
# relative to ${ENV}_ROOT
|
|
|
|
CATEGORY_STUB="mirror/pub/rocky"
|
2021-07-08 02:54:12 +00:00
|
|
|
|
|
|
|
# should be overriden in other commons
|
|
|
|
#RELEASE_DIR="${CATEGORY_STUB}/${REVISION}${APPEND_TO_DIR}"
|
2021-07-06 17:08:30 +00:00
|
|
|
|
|
|
|
# Define arches we support
|
|
|
|
ARCHES=(x86_64 aarch64)
|
|
|
|
|
2021-07-08 02:54:12 +00:00
|
|
|
#Source Major common
|
|
|
|
test -f "$(dirname "$0")/common_${RLVER}" && source "$(dirname "$0")/common_${RLVER}"
|
|
|
|
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
|
|
|
|
REV="${REVISION}${APPEND_TO_DIR}"
|
2021-07-10 01:57:20 +00:00
|
|
|
|
|
|
|
# These repos have modules
|
|
|
|
MODS=(
|
|
|
|
AppStream
|
|
|
|
PowerTools
|
|
|
|
)
|
|
|
|
|
|
|
|
# Used to iterate over ISOs?
|
|
|
|
VARIANTS=(boot minimal dvd1)
|