diff options
author | root <root@espace.tuina> | 2020-02-10 22:58:51 +0100 |
---|---|---|
committer | root <root@espace.tuina> | 2020-02-10 22:58:51 +0100 |
commit | f6e6323bf70e475a41614519eaef20f90dd774ad (patch) | |
tree | 09e293318e079993c09af763687f187052d16e28 | |
parent | 539026f92b38cbe9dc4ffbd2e4c935803ba5bbd4 (diff) | |
download | mageia4arm-f6e6323bf70e475a41614519eaef20f90dd774ad.tar mageia4arm-f6e6323bf70e475a41614519eaef20f90dd774ad.tar.gz mageia4arm-f6e6323bf70e475a41614519eaef20f90dd774ad.tar.bz2 mageia4arm-f6e6323bf70e475a41614519eaef20f90dd774ad.tar.xz mageia4arm-f6e6323bf70e475a41614519eaef20f90dd774ad.zip |
corrected path to dnf config
-rwxr-xr-x | create_arm_image.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/create_arm_image.sh b/create_arm_image.sh index b07e3ea..2754368 100755 --- a/create_arm_image.sh +++ b/create_arm_image.sh @@ -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" |