Commit 7183498b authored by Thomas Gambier's avatar Thomas Gambier 🚴🏼

[nayuos]: get_latest_image.sh doesn't exist anymore. Use new option --most_recent

parent 225795ce
......@@ -35,7 +35,7 @@ function print_result() {
# MOUNT IMAGE AND GET INFO
install -d "${MOUNTPOINT}"
./mount_gpt_image.sh --safe -f $( ./get_latest_image.sh --board=${BOARD} ) -r ${MOUNTPOINT}
./mount_gpt_image.sh --safe --most_recent --board ${BOARD} -r ${MOUNTPOINT}
echo $(ls "${MOUNTPOINT}/usr/local")
if [[ $(ls "${MOUNTPOINT}/usr/local") ]] ; then
my_diff=$(diff "${ORIGINAL_GRANDENET_SCRIPT}" "${MOUNTPOINT}/${GRANDENET_SCRIPT}")
......@@ -48,7 +48,7 @@ if [[ $(ls "${MOUNTPOINT}/usr/local") ]] ; then
else
is_empty=1
fi
./mount_gpt_image.sh --safe -f $( ./get_latest_image.sh --board=${BOARD} ) -r ${MOUNTPOINT} -u
./mount_gpt_image.sh --safe --most_recent --board ${BOARD} -r ${MOUNTPOINT} -u
rmdir ${MOUNTPOINT}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment