aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcreate_arm_image.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/create_arm_image.sh b/create_arm_image.sh
index 9a9690c..d28076a 100755
--- a/create_arm_image.sh
+++ b/create_arm_image.sh
@@ -580,6 +580,7 @@ function copyingsystem()
sync
warning "You can now burn the image ( ${INSTALL_PATH}/${IMAGE} ) on SD card"
+ info "pv \"${INSTALL_PATH}/${IMAGE}\" | dd of=/dev/mmcblk#"
return 0
}
@@ -714,6 +715,11 @@ function mkfstab()
function clean()
{
title "Cleaning"
+
+ info "In case script failed or crash inside the chroot, need to unmount dev|sys|proc..."
+ /bin/umount -lf "${BUILD_PATH}/dev"
+ /bin/umount -lf "${BUILD_PATH}/sys"
+ /bin/umount -lf "${BUILD_PATH}/proc"
unmountingPartitions
unloopingImage