corrected path to dnf config
This commit is contained in:
parent
539026f92b
commit
f6e6323bf7
@ -125,7 +125,7 @@ function createchroot()
|
|||||||
# enabling extra Mageia repositories
|
# enabling extra Mageia repositories
|
||||||
function genusemirroroptions()
|
function genusemirroroptions()
|
||||||
{
|
{
|
||||||
DNF_CONFIGPATH="$(dirname $(realpath "$0"))/../mageia4arm-dnf.conf"
|
|
||||||
DNF_MIRROROPTS="--config=${DNF_CONFIGPATH} --forcearch=${ARM_VERSION} --nogpgcheck --releasever=${MAGEIA_VERSION}"
|
DNF_MIRROROPTS="--config=${DNF_CONFIGPATH} --forcearch=${ARM_VERSION} --nogpgcheck --releasever=${MAGEIA_VERSION}"
|
||||||
if [ ! -z "${MIRROR}" ]; then
|
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"
|
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"
|
ROOT="/mnt/root"
|
||||||
BUILD_PATH="${INSTALL_PATH}/build-${TARGET}${TARGET_VERSION}"
|
BUILD_PATH="${INSTALL_PATH}/build-${TARGET}${TARGET_VERSION}"
|
||||||
# ARM_VERSION="armv7hl"
|
# ARM_VERSION="armv7hl"
|
||||||
|
DNF_CONFIGPATH="$(dirname $(realpath "$0"))/mageia4arm-dnf.conf"
|
||||||
# Assigne a script for creating a particular target image (rpi, odroid, ...)
|
# Assigne a script for creating a particular target image (rpi, odroid, ...)
|
||||||
if [ -e "${CONFIG_PATH}/specialFunctions.sh" ]; then
|
if [ -e "${CONFIG_PATH}/specialFunctions.sh" ]; then
|
||||||
source "${CONFIG_PATH}/specialFunctions.sh"
|
source "${CONFIG_PATH}/specialFunctions.sh"
|
||||||
|
Reference in New Issue
Block a user