forked from Mirror/pmbootstrap
Always use generated boot.img for fastboot boot
command (#370)
This commit is contained in:
parent
401c29af76
commit
a1370bafe1
2 changed files with 3 additions and 19 deletions
|
@ -33,9 +33,6 @@ def run(args, action, flavor=None):
|
|||
_cmdline = args.deviceinfo["kernel_cmdline"]
|
||||
if "cmdline" in args and args.cmdline:
|
||||
_cmdline = args.cmdline
|
||||
_base = args.deviceinfo["flash_offset_base"]
|
||||
if _base == "":
|
||||
_base = "0x10000000"
|
||||
|
||||
# Variable setup
|
||||
vars = {
|
||||
|
@ -43,12 +40,6 @@ def run(args, action, flavor=None):
|
|||
"$FLAVOR": flavor if flavor is not None else "",
|
||||
"$IMAGE": "/home/user/rootfs/" + args.device + ".img",
|
||||
"$KERNEL_CMDLINE": _cmdline,
|
||||
"$OFFSET_BASE": _base,
|
||||
"$OFFSET_KERNEL": args.deviceinfo["flash_offset_kernel"],
|
||||
"$OFFSET_RAMDISK": args.deviceinfo["flash_offset_ramdisk"],
|
||||
"$OFFSET_SECOND": args.deviceinfo["flash_offset_second"],
|
||||
"$OFFSET_TAGS": args.deviceinfo["flash_offset_tags"],
|
||||
"$PAGE_SIZE": args.deviceinfo["flash_pagesize"],
|
||||
"$PARTITION_INITFS": args.deviceinfo["flash_heimdall_partition_initfs"],
|
||||
"$PARTITION_KERNEL": args.deviceinfo["flash_heimdall_partition_kernel"],
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue