forked from Mirror/pmbootstrap
pmb.aportgen: add deviceinfo_bootimg_qcdt_type (MR 2276)
This commit is contained in:
parent
416781d2c2
commit
75dcab4405
1 changed files with 5 additions and 0 deletions
|
@ -139,6 +139,11 @@ def generate_deviceinfo_fastboot_content(bootimg=None):
|
||||||
deviceinfo_flash_pagesize="{bootimg["pagesize"]}"
|
deviceinfo_flash_pagesize="{bootimg["pagesize"]}"
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
if "qcdt_type" in bootimg.keys():
|
||||||
|
content += f"""\
|
||||||
|
deviceinfo_bootimg_qcdt_type="{bootimg["qcdt_type"]}"
|
||||||
|
"""
|
||||||
|
|
||||||
if "mtk_label_kernel" in bootimg.keys():
|
if "mtk_label_kernel" in bootimg.keys():
|
||||||
content += f"""\
|
content += f"""\
|
||||||
deviceinfo_mtk_label_kernel="{bootimg["mtk_label_kernel"]}"
|
deviceinfo_mtk_label_kernel="{bootimg["mtk_label_kernel"]}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue