Currently fastboot format fails because it can not find the mke2fs tool:
$ /usr/bin/fastboot format userdata
/usr/lib/android-sdk/platform-tools/mke2fs failed with status 1
fastboot: error: Cannot generate image for userdata
$ ls -l /usr/lib/android-sdk/platform-tools/
total 604
-rwxr-xr-x 1 root root 202944 Jan 19 23:09 adb
-rwxr-xr-x 1 root root 401512 Jan 19 23:09 fastboot
-rw-r--r-- 1 root root 979 Jan 22 12:23 package.xml
-rw-r--r-- 1 root root 50 Jan 22 12:23 source.properties
Please provide mke2fs tool so that we can fastboot format partitions.