Browse Source

sfill only for .img

Émile Morel 9 years ago
parent
commit
9351c2016f
1 changed files with 5 additions and 0 deletions
  1. 5 0
      olinux/create_device.sh

+ 5 - 0
olinux/create_device.sh

@@ -152,6 +152,11 @@ echo "- Write sunxi-with-spl"
 dd if=${UBOOT_FILE} of=${DEVICE} bs=1024 seek=8 >/dev/null 2>&1
 sync
 
+if [ "${DEVICE}" = "img" ] ; then
+  echo "- Sfill"
+  sfill -z -l -l -f $MNT
+fi
+
 echo "- Umount"
 if [ "${TYPE}" = "loop" ] ; then
   echo "- Sfill"