Advertisement
Guest User

Untitled

a guest
Apr 21st, 2014
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.95 KB | None | 0 0
  1. Package OTA: out/target/product/u8860/broodROM_u8860-ota-eng.desalesouche.zip
  2. MKBOOTIMG= \
  3. ./device/huawei/u8860/releasetools/ota_from_target_files -v \
  4. -p out/host/linux-x86 \
  5. -k build/target/product/security/testkey \
  6. --backup= \
  7. --override_device=u8860,U8860 \
  8. --override_prop=false \
  9. out/target/product/u8860/obj/PACKAGING/target_files_intermediates/broodROM_u8860-target_files-eng.desalesouche.zip out/target/product/u8860/broodROM_u8860-ota-eng.desalesouche.zip
  10.  
  11. Given a target-files zipfile, produces an OTA package that installs
  12. that build. An incremental OTA is produced if -i is given, otherwise
  13. a full OTA is produced.
  14.  
  15. Usage: ota_from_target_files [flags] input_target_files output_ota_package
  16.  
  17. -b (--board_config) <file>
  18. Deprecated.
  19.  
  20. -k (--package_key) <key> Key to use to sign the package (default is
  21. the value of default_system_dev_certificate from the input
  22. target-files's META/misc_info.txt, or
  23. "build/target/product/security/testkey" if that value is not
  24. specified).
  25.  
  26. For incremental OTAs, the default value is based on the source
  27. target-file, not the target build.
  28.  
  29. -i (--incremental_from) <file>
  30. Generate an incremental OTA using the given target-files zip as
  31. the starting build.
  32.  
  33. -w (--wipe_user_data)
  34. Generate an OTA package that will wipe the user data partition
  35. when installed.
  36.  
  37. -n (--no_prereq)
  38. Omit the timestamp prereq check normally included at the top of
  39. the build scripts (used for developer OTA packages which
  40. legitimately need to go back and forth).
  41.  
  42. -e (--extra_script) <file>
  43. Insert the contents of file at the end of the update script.
  44.  
  45. -a (--aslr_mode) <on|off>
  46. Specify whether to turn on ASLR for the package (on by default).
  47.  
  48. --backup <boolean>
  49. Enable or disable the execution of backuptool.sh.
  50. Disabled by default.
  51.  
  52. --override_device <device>
  53. Override device-specific asserts. Can be a comma-separated list.
  54.  
  55. --override_prop <boolean>
  56. Override build.prop items with custom vendor init.
  57. Enabled when TARGET_UNIFIED_DEVICE is defined in BoardConfig
  58.  
  59. -p (--path) <dir>
  60. Prepend <dir>/bin to the list of places to search for binaries
  61. run by this script, and expect to find jars in <dir>/framework.
  62.  
  63. -s (--device_specific) <file>
  64. Path to the python module containing device-specific
  65. releasetools code.
  66.  
  67. -x (--extra) <key=value>
  68. Add a key/value pair to the 'extras' dict, which device-specific
  69. extension code may look at.
  70.  
  71. -v (--verbose)
  72. Show command lines being executed.
  73.  
  74. -h (--help)
  75. Display this usage message and exit.
  76.  
  77. ** option --override_prop not recognized **
  78. build/core/Makefile:1344: recipe for target 'out/target/product/u8860/broodROM_u8860-ota-eng.desalesouche.zip' failed
  79. make: *** [out/target/product/u8860/broodROM_u8860-ota-eng.desalesouche.zip] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement