Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Out of space while building android Rom

Tags:

android

rom

I'm getting the below error while making system.img

there are all files like boot.img, vendor.img but not system img

Allocating group tables: done
Writing inode tables: done
Writing superblocks and filesystem accounting information: done

set_selinux_xattr: No such file or directory searching for label "/bt_firmware" e2fsdroid: No such file or directory while configuring the file system loaded 3450 fs_config entries

Out of space? Out of inodes? The tree size of /home/prashi_kadasi/arrow10/out/soong/.temp/tmpP2XFd3 is 1272721408 bytes (1213 MB), with reserved space of 0 bytes (0 MB). The max image size for filesystem files is 4294967296 bytes (4096 MB), out of a total partition size of 4294967296 bytes (4096 MB). 01:24:45 ninja failed with: exit status 1

failed to build some targets (01:02 (mm:ss))
like image 862
Prashanth K Avatar asked Sep 10 '19 08:09

Prashanth K


1 Answers

Check that you include this

/bt_firmware(/.*)?                                      u:object_r:bt_firmware_file:s0

in your file_contexts and this

type bt_firmware_file, file_type;

in your file.te (and that you have your sepolicy included)

like image 147
David Müller Avatar answered Oct 18 '22 00:10

David Müller