Add possibility to export Odin flashable tar (#297)

Add possibility to export Odin flashable tar for devices where the
flasher method is heimdall-isorec or heimdall-bootimg
This commit is contained in:
drebrez 2017-07-30 23:15:59 +02:00 committed by Oliver Smith
parent c0a70cce3f
commit 6cb663eb6e
4 changed files with 111 additions and 12 deletions

View file

@ -46,6 +46,8 @@ def arguments_flasher(subparser):
export.add_argument("export_folder", help="export folder, defaults to"
" /tmp/postmarketOS-export",
default="/tmp/postmarketOS-export", nargs="?")
export.add_argument("--odin", help="odin flashable tar (boot.img/kernel+initramfs only)",
action="store_true", dest="odin_flashable_tar")
return ret