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() { ...@@ -35,7 +35,7 @@ function print_result() {
# MOUNT IMAGE AND GET INFO # MOUNT IMAGE AND GET INFO
install -d "${MOUNTPOINT}" 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") echo $(ls "${MOUNTPOINT}/usr/local")
if [[ $(ls "${MOUNTPOINT}/usr/local") ]] ; then if [[ $(ls "${MOUNTPOINT}/usr/local") ]] ; then
my_diff=$(diff "${ORIGINAL_GRANDENET_SCRIPT}" "${MOUNTPOINT}/${GRANDENET_SCRIPT}") my_diff=$(diff "${ORIGINAL_GRANDENET_SCRIPT}" "${MOUNTPOINT}/${GRANDENET_SCRIPT}")
...@@ -48,7 +48,7 @@ if [[ $(ls "${MOUNTPOINT}/usr/local") ]] ; then ...@@ -48,7 +48,7 @@ if [[ $(ls "${MOUNTPOINT}/usr/local") ]] ; then
else else
is_empty=1 is_empty=1
fi 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} 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