Different instructions for mesh images
This commit is contained in:
parent
7d02a03a92
commit
1434735eb9
|
@ -442,6 +442,7 @@ rm -rf ${TEMPBUILD_DIR}
|
|||
cd ${CURR_DIR}
|
||||
|
||||
clear
|
||||
if [[ $VARIANT != 'meshclient' && $VARIANT != 'meshusb' && $VARIANT != 'mesh' ]]; then
|
||||
echo $"
|
||||
Image was created.
|
||||
|
||||
|
@ -469,6 +470,12 @@ Password: $PASSWORD
|
|||
"
|
||||
fi
|
||||
fi
|
||||
else
|
||||
echo $"
|
||||
Image was created.
|
||||
"
|
||||
fi
|
||||
|
||||
ls -lh ${PROJECT_NAME}*.img ${PROJECT_NAME}*.sig ${PROJECT_NAME}*.xz ${PROJECT_NAME}*.vdi ${PROJECT_NAME}*.qcow2
|
||||
|
||||
# Remove the mesh script after use
|
||||
|
@ -483,7 +490,11 @@ chmod 600 ${CURR_DIR}/${PROJECT_NAME}_login_credentials.txt
|
|||
|
||||
if [[ $IMAGE_TYPE != "virtualbox"* && $IMAGE_TYPE != "qemu"* ]]; then
|
||||
echo ''
|
||||
if [[ $VARIANT != 'meshclient' && $VARIANT != 'meshusb' ]]; then
|
||||
echo $'You can copy the image to a microSD card with:'
|
||||
else
|
||||
echo $'You can copy the image to a USB drive with:'
|
||||
fi
|
||||
echo ''
|
||||
echo " unxz -k ${PROJECT_NAME}*.img.xz"
|
||||
echo " sudo dd bs=1M if=${PROJECT_NAME}*.img of=/dev/sdX conv=fdatasync"
|
||||
|
|
Loading…
Reference in New Issue