AnsweredAssumed Answered

OTA package build fail

Question asked by Don Freiling on Sep 16, 2015
Latest reply on Sep 29, 2015 by Pete Zhang

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 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 to do the OTA and make a different package.

• out/dist/

• out/target/proudct/sabresd_6dq/

The package we used before R13.1 was 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/

Package symbols: out/target/product/sabresd_6dq/

Package apps: out/target/product/sabresd_6dq/

Dist: out/dist/

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/", line 1159, in MakeRecoveryPatch

    td_pair = GetTypeAndDevice("/boot", info_dict)

  File "/home/don/myandroid/build/tools/releasetools/", line 1110, in GetTypeAndDevice

    return PARTITION_TYPES[fstab[mount_point].fs_type], fstab[mount_point].device

KeyError: '/boot'

make: *** [out/target/product/sabresd_6dq/obj/PACKAGING/target_files_intermediates/] Error 1

make: *** Waiting for unfinished jobs....


#### make failed to build some targets (11:12 (mm:ss)) ####




Any help would be appreciated.