Image builder question ?

Hello everyone,
I have question related with this command in :

sudo ./setup_sdcard.sh --img-4gb BBB-eMMC-flasher-debian-7.X-201Y-MM-DD \
--dtb beaglebone --enable-systemd --bbb-flasher \
--bbb-old-bootloader-in-emmc

which file is being used related with ./setup_sdcard_sh ?

root@bianchi-HP-Pavilion-dv6-Notebook-PC:/home/bianchi/Documents/image-builder/deploy# ls
debian-7.11-lxde-4gb-armhf-2017-05-09 debian-7.11-lxde-armhf-2017-05-09
debian-7.11-lxde-4gb-armhf-2017-05-09.tar debian-7.11-lxde-armhf-2017-05-09.tar <----These ones ?

ls -al total 1272096 drwxr-xr-x 3 root root 4096 May 9 19:59 . drwxr-xr-x 4 root root 4096 May 9 20:12 … drwxr-xr-x 2 root root 4096 May 9 18:14 hwpack -rw-r–r-- 1 root root 40 May 9 18:14 ID.txt -rw-r–r-- 1 root root 2823 May 9 18:14 image-builder.project -rw-r–r-- 1 root root 439 May 9 18:14 post-uEnv.txt -rwxr-xr-x 1 root root 63503 May 9 18:14 setup_sdcard.sh -rw-r–r-- 1 root root 15 May 9 18:14 user_password.list

This is the below tarred up…

That’s the file being used…

drwxr-xr-x

Because in the wheezy erra, we had 3 default images…

We have 5 in the Jessie erra… I should update that script as it’s behind.

Regards,

Yes, setup_sdcard can also write to the sdcard directly --mmc /dev/sdb

Regards,

No, not with dd directly.. With another tool called "pv" indirectly..
Use google.com to look it up, but it's not accurate as it'll say 100%
yet, sync is still running in the background..

Regards,

Recent versions of dd have 'status=progress' which does give an indication
of the transfer. It also suffers from the same problem - reporting 100%
whilst the sync is still taking place.