From 7e6281356a8f9c38373ce1c86d4b0cbf24b288e5 Mon Sep 17 00:00:00 2001 From: Jybz Date: Sun, 21 Feb 2021 09:37:59 +0100 Subject: Add --mga-version argument and use repository as MIRROR. --- build_all.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1