Dev Board: Sabre SD quad Rev. B
BSP: Android L5.0.0_1.0.0
Build Env: Ubuntu-64bit 14.04
I'm following these instructions from the FAQ to build and OTA package:
30 How do I build an OTA package?
The Android build system supports auto generation of update.zip. It can generate the updater_script and all system.img files.
You can use the following command to generate an OTA package.
$ make dist
For example, you use this command to build sabresd_6dq product after the build finish.
$ make PRODUCT=sabresd_6dq-eng dist -j4
You can find a few packages in the following path for the OTA update.zip to do the OTA and make a different package.
The package we used before R13.1 was update.zip. In this package, however, everything is automatically generated.
This fails while packaging the target files. This is the error I get:
Package target files: out/target/product/sabresd_6dq/obj/PACKAGING/target_files_intermediates/sabresd_6dq-target_files-20150518.zip
Package symbols: out/target/product/sabresd_6dq/sabresd_6dq-symbols-20150518.zip
Package apps: out/target/product/sabresd_6dq/sabresd_6dq-apps-20150518.zip
building image from target_files RECOVERY...
building image from target_files BOOT...
Traceback (most recent call last):
File "./build/tools/releasetools/make_recovery_patch", line 53, in <module>
File "./build/tools/releasetools/make_recovery_patch", line 49, in main
common.MakeRecoveryPatch(input_dir, output_sink, recovery_img, boot_img)
File "/home/don/myandroid/build/tools/releasetools/common.py", line 1159, in MakeRecoveryPatch
td_pair = GetTypeAndDevice("/boot", info_dict)
File "/home/don/myandroid/build/tools/releasetools/common.py", line 1110, in GetTypeAndDevice
return PARTITION_TYPES[fstab[mount_point].fs_type], fstab[mount_point].device
make: *** [out/target/product/sabresd_6dq/obj/PACKAGING/target_files_intermediates/sabresd_6dq-target_files-20150518.zip] Error 1
make: *** Waiting for unfinished jobs....
#### make failed to build some targets (11:12 (mm:ss)) ####
Any help would be appreciated.