aboutsummaryrefslogtreecommitdiffstats
path: root/build_all.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build_all.sh')
-rwxr-xr-xbuild_all.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/build_all.sh b/build_all.sh
index c6e0a48..818b446 100755
--- a/build_all.sh
+++ b/build_all.sh
@@ -118,9 +118,9 @@ for SBC_config in ${SBCs}; do
else
unset NONFREE
fi
- SBC="$(echo ${SBC_config} | jq -r '.board')"
+ 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} --compress --add-checksum 2>&1 | tee -a ${workdir}/$(date "+%Y-%m-%d_%H:%M")-${SBC}.log"
+ $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_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