aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJybz <j.biernacki@free.fr>2021-02-21 09:37:59 +0100
committerJybz <j.biernacki@free.fr>2021-02-21 09:37:59 +0100
commit7e6281356a8f9c38373ce1c86d4b0cbf24b288e5 (patch)
tree228daa7121011c679be06dd0733120b17a0b10ce
parent9ff30d9caa19f75d2b7f4240b58e2754f085085b (diff)
downloadmageia4arm-7e6281356a8f9c38373ce1c86d4b0cbf24b288e5.tar
mageia4arm-7e6281356a8f9c38373ce1c86d4b0cbf24b288e5.tar.gz
mageia4arm-7e6281356a8f9c38373ce1c86d4b0cbf24b288e5.tar.bz2
mageia4arm-7e6281356a8f9c38373ce1c86d4b0cbf24b288e5.tar.xz
mageia4arm-7e6281356a8f9c38373ce1c86d4b0cbf24b288e5.zip
Add --mga-version argument and use repository as MIRROR.
-rwxr-xr-xbuild_all.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build_all.sh b/build_all.sh
index 81dd93c..502347a 100755
--- a/build_all.sh
+++ b/build_all.sh
@@ -117,7 +117,7 @@ for SBC_config in ${SBCs}; do
fi
SIZE="$(echo ${SBC_config} | jq -r '.size')"
print_info "Start build for ${SBC}"
- $sudo_root "${PROG_DIR}/create_arm_image.sh --all --build-path ${workdir} --config ${SBC} ${DESKTOP} ${NONFREE} --size ${SIZE} --compress --add-checksum 2>&1 | tee -a ${workdir}/$(date "+%Y-%m-%d_%H:%M")-${SBC}.log"
+ $sudo_root "MIRROR=${repository} ${PROG_DIR}/create_arm_image.sh --all --build-path ${workdir} --config ${SBC} ${DESKTOP} ${NONFREE} --mga-version ${release} --size ${SIZE} --compress --add-checksum 2>&1 | tee -a ${workdir}/$(date "+%Y-%m-%d_%H:%M")-${SBC}.log"
$sudo_bcd "mkdir -p ${destdir}/${SBC}"
$sudo_bcd "mv ${workdir}/* ${destdir}/${SBC}/"
# not enough space on rabbit's RAM disk for all four variants, so delete as we go