1
0

corrected path to dnf config

This commit is contained in:
root 2020-02-10 22:58:51 +01:00
parent 539026f92b
commit f6e6323bf7

View File

@ -125,7 +125,7 @@ function createchroot()
# enabling extra Mageia repositories
function genusemirroroptions()
{
DNF_CONFIGPATH="$(dirname $(realpath "$0"))/../mageia4arm-dnf.conf"
DNF_MIRROROPTS="--config=${DNF_CONFIGPATH} --forcearch=${ARM_VERSION} --nogpgcheck --releasever=${MAGEIA_VERSION}"
if [ ! -z "${MIRROR}" ]; then
DNF_MIRROROPTS="${DNF_MIRROROPTS} --disablerepo=* --repofrompath=mgarel,${MIRROR}/media/core/release/ --repofrompath=mgaup,${MIRROR}/media/core/updates/ --enablerepo=mgarel --enablerepo=mgaup"
@ -930,7 +930,7 @@ BOOT="/mnt/boot"
ROOT="/mnt/root"
BUILD_PATH="${INSTALL_PATH}/build-${TARGET}${TARGET_VERSION}"
# ARM_VERSION="armv7hl"
DNF_CONFIGPATH="$(dirname $(realpath "$0"))/mageia4arm-dnf.conf"
# Assigne a script for creating a particular target image (rpi, odroid, ...)
if [ -e "${CONFIG_PATH}/specialFunctions.sh" ]; then
source "${CONFIG_PATH}/specialFunctions.sh"