diff --git a/mk_mmc.sh b/mk_mmc.sh index 2583c5e..4872a32 100755 --- a/mk_mmc.sh +++ b/mk_mmc.sh @@ -1038,6 +1038,16 @@ function finish_installing_device { chmod a+x /target/etc/finish-install.sh if [ -f /etc/rcn.conf ]; then + if [ -d /target/boot/uboot ] ; then + sync + umount /target/boot/uboot + fi + + if [ -d /target/boot/ ] ; then + sync + umount /target/boot/ + fi + mkdir -p /target/boot/uboot || true mount /dev/mmcblk0p1 /target/boot/uboot