hypriot / flash

Command line script to flash SD card images of any kind
MIT License
1k stars 176 forks source link

Added filesystem autodetect in case of non-vfat boot #68

Closed mevatron closed 8 years ago

mevatron commented 8 years ago

Ran into this issue when trying to flash the ODROID ext4 only image. This should make it more flexible as long as blkid is an OK dependency.

StefanScherer commented 8 years ago

Good idea. There should be a fallback to vfat if the binary isn't installed. Perhaps a simple || echo vfat inside the braces.

mevatron commented 8 years ago

@StefanScherer Apologies for the delay. I added the safe-guard default of vfat back in there.

StefanScherer commented 8 years ago

@mevatron No hurry. Now it LGTM :-)

mevatron commented 8 years ago

@StefanScherer Awesome! :-)