Advertisement
Guest User

Untitled

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