e2fsdroid could not allocate block in ext2 filesystem while populating file system

28 views
Skip to first unread message

haziqsem...@gmail.com

unread,
Apr 21, 2020, 8:40:55 PM4/21/20
to Android-rpi
Hi, I'm building my own image using android-rpi sources, which I added opengapps pico and change property from tv to tablet, inheriting full_base.mk. At packaging system.img, I have this particular error related to e2fsdroid

```
08:31:05 mkuserimg_mke2fs.py INFO: Running: e2fsdroid -e -p out/target/product/rpi3/system -S out/target/product/rpi3/obj/ETC/file_contexts.bin_intermediates/file_contexts.bin -f /home/heyya/rpi3-10/out/soong/.temp/tmpyVIC5S -a / out/target/product/rpi3/obj/PACKAGING/systemimage_intermediates/system.img
08:31:36 mkuserimg_mke2fs.py ERROR: Failed to run e2fsdroid_cmd: __populate_fs: Could not allocate block in ext2 filesystem while writing file "pumpkin.mmap"
e2fsdroid: Could not allocate block in ext2 filesystem while populating file system

```

Searching around the net, I found a workaround that I need to specify size for e2fsdroid. I've read and dig a bit on mkuserimg_mke2fs.py but can't find any reference to pass argument to e2fsdroid in the script. WOuld like to get help on this part.

Reply all
Reply to author
Forward
0 new messages