install_linux_fw_sd/usb: add helper msg to set image-name
The install scripts from SD/USB use a fixed image name. If you are trying to install a different image you need to set the env variable 'image-name' first. Add a helper message if default files are not found to avoid needing to go to the documentation. Signed-off-by: Hector Palacios <hector.palacios@digi.com>
This commit is contained in:
parent
a791bb4463
commit
39fadff26a
|
|
@ -63,6 +63,8 @@ for install_f in ${INSTALL_UBOOT_FILENAME} ${INSTALL_LINUX_FILENAME} ${INSTALL_R
|
||||||
fi;
|
fi;
|
||||||
done
|
done
|
||||||
if test "${install_abort}" = "1"; then
|
if test "${install_abort}" = "1"; then
|
||||||
|
echo "To install a different image, set variable 'image-name', e.g.:"
|
||||||
|
echo " => setenv image-name core-image-base"
|
||||||
echo "Aborted.";
|
echo "Aborted.";
|
||||||
exit;
|
exit;
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
|
|
@ -63,6 +63,8 @@ for install_f in ${INSTALL_UBOOT_FILENAME} ${INSTALL_LINUX_FILENAME} ${INSTALL_R
|
||||||
fi;
|
fi;
|
||||||
done
|
done
|
||||||
if test "${install_abort}" = "1"; then
|
if test "${install_abort}" = "1"; then
|
||||||
|
echo "To install a different image, set variable 'image-name', e.g.:"
|
||||||
|
echo " => setenv image-name core-image-base"
|
||||||
echo "Aborted.";
|
echo "Aborted.";
|
||||||
exit;
|
exit;
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
|
|
@ -74,6 +74,8 @@ for install_f in ${INSTALL_UBOOT_FILENAME} ${INSTALL_LINUX_FILENAME} ${INSTALL_R
|
||||||
fi;
|
fi;
|
||||||
done
|
done
|
||||||
if test "${install_abort}" = "1"; then
|
if test "${install_abort}" = "1"; then
|
||||||
|
echo "To install a different image, set variable 'image-name', e.g.:"
|
||||||
|
echo " => setenv image-name core-image-base"
|
||||||
echo "Aborted.";
|
echo "Aborted.";
|
||||||
exit;
|
exit;
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
|
|
@ -74,6 +74,8 @@ for install_f in ${INSTALL_UBOOT_FILENAME} ${INSTALL_LINUX_FILENAME} ${INSTALL_R
|
||||||
fi;
|
fi;
|
||||||
done
|
done
|
||||||
if test "${install_abort}" = "1"; then
|
if test "${install_abort}" = "1"; then
|
||||||
|
echo "To install a different image, set variable 'image-name', e.g.:"
|
||||||
|
echo " => setenv image-name core-image-base"
|
||||||
echo "Aborted.";
|
echo "Aborted.";
|
||||||
exit;
|
exit;
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
|
|
@ -67,6 +67,8 @@ for install_f in ${INSTALL_UBOOT_FILENAME} ${INSTALL_LINUX_FILENAME} ${INSTALL_R
|
||||||
fi;
|
fi;
|
||||||
done
|
done
|
||||||
if test "${install_abort}" = "1"; then
|
if test "${install_abort}" = "1"; then
|
||||||
|
echo "To install a different image, set variable 'image-name', e.g.:"
|
||||||
|
echo " => setenv image-name core-image-base"
|
||||||
echo "Aborted.";
|
echo "Aborted.";
|
||||||
exit;
|
exit;
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
|
|
@ -67,6 +67,8 @@ for install_f in ${INSTALL_UBOOT_FILENAME} ${INSTALL_LINUX_FILENAME} ${INSTALL_R
|
||||||
fi;
|
fi;
|
||||||
done
|
done
|
||||||
if test "${install_abort}" = "1"; then
|
if test "${install_abort}" = "1"; then
|
||||||
|
echo "To install a different image, set variable 'image-name', e.g.:"
|
||||||
|
echo " => setenv image-name core-image-base"
|
||||||
echo "Aborted.";
|
echo "Aborted.";
|
||||||
exit;
|
exit;
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
|
|
@ -34,6 +34,8 @@ for install_f in ${INSTALL_UBOOT_FILENAME} ${INSTALL_LINUX_FILENAME} ${INSTALL_R
|
||||||
fi;
|
fi;
|
||||||
done
|
done
|
||||||
if test "${install_abort}" = "1"; then
|
if test "${install_abort}" = "1"; then
|
||||||
|
echo "To install a different image, set variable 'image-name', e.g.:"
|
||||||
|
echo " => setenv image-name core-image-base"
|
||||||
echo "Aborted.";
|
echo "Aborted.";
|
||||||
exit;
|
exit;
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
|
|
@ -34,6 +34,8 @@ for install_f in ${INSTALL_UBOOT_FILENAME} ${INSTALL_LINUX_FILENAME} ${INSTALL_R
|
||||||
fi;
|
fi;
|
||||||
done
|
done
|
||||||
if test "${install_abort}" = "1"; then
|
if test "${install_abort}" = "1"; then
|
||||||
|
echo "To install a different image, set variable 'image-name', e.g.:"
|
||||||
|
echo " => setenv image-name core-image-base"
|
||||||
echo "Aborted.";
|
echo "Aborted.";
|
||||||
exit;
|
exit;
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
|
|
@ -46,6 +46,8 @@ for install_f in ${INSTALL_UBOOT_FILENAME} ${INSTALL_LINUX_FILENAME} ${INSTALL_R
|
||||||
fi;
|
fi;
|
||||||
done
|
done
|
||||||
if test "${install_abort}" = "1"; then
|
if test "${install_abort}" = "1"; then
|
||||||
|
echo "To install a different image, set variable 'image-name', e.g.:"
|
||||||
|
echo " => setenv image-name core-image-base"
|
||||||
echo "Aborted.";
|
echo "Aborted.";
|
||||||
exit;
|
exit;
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
|
|
@ -46,6 +46,8 @@ for install_f in ${INSTALL_UBOOT_FILENAME} ${INSTALL_LINUX_FILENAME} ${INSTALL_R
|
||||||
fi;
|
fi;
|
||||||
done
|
done
|
||||||
if test "${install_abort}" = "1"; then
|
if test "${install_abort}" = "1"; then
|
||||||
|
echo "To install a different image, set variable 'image-name', e.g.:"
|
||||||
|
echo " => setenv image-name core-image-base"
|
||||||
echo "Aborted.";
|
echo "Aborted.";
|
||||||
exit;
|
exit;
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
|
|
@ -35,6 +35,8 @@ for install_f in ${INSTALL_ATF_FILENAME} ${INSTALL_FIP_FILENAME} ${INSTALL_LINUX
|
||||||
fi;
|
fi;
|
||||||
done
|
done
|
||||||
if test "${install_abort}" = "1"; then
|
if test "${install_abort}" = "1"; then
|
||||||
|
echo "To install a different image, set variable 'image-name', e.g.:"
|
||||||
|
echo " => setenv image-name core-image-base"
|
||||||
echo "Aborted.";
|
echo "Aborted.";
|
||||||
exit;
|
exit;
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
|
|
@ -35,6 +35,8 @@ for install_f in ${INSTALL_ATF_FILENAME} ${INSTALL_FIP_FILENAME} ${INSTALL_RECOV
|
||||||
fi;
|
fi;
|
||||||
done
|
done
|
||||||
if test "${install_abort}" = "1"; then
|
if test "${install_abort}" = "1"; then
|
||||||
|
echo "To install a different image, set variable 'image-name', e.g.:"
|
||||||
|
echo " => setenv image-name core-image-base"
|
||||||
echo "Aborted.";
|
echo "Aborted.";
|
||||||
exit;
|
exit;
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue