*Hi,*

* I am trying to implement dynamic partition for a device upgrading to 
Android 10 and i am getting a the following build error. Can some one 
please help me in rectifying this*

2020-04-04 22:41:23 - build_super_image.py - ERROR   : 
   ERROR:
Traceback (most recent call last):
  File "build/make/tools/releasetools/build_super_image.py", line 217, in 
<module>
    main(sys.argv[1:])
  File "build/make/tools/releasetools/build_super_image.py", line 211, in 
main
    BuildSuperImage(args[0], args[1])
  File "build/make/tools/releasetools/build_super_image.py", line 196, in 
BuildSuperImage
    return BuildSuperImageFromDict(common.LoadDictionaryFromLines(lines.
split("\n")), out)
  File "build/make/tools/releasetools/build_super_image.py", line 137, in 
BuildSuperImageFromDict
    common.RunAndCheckOutput(cmd)
  File "/u/kyocera_upgrade/ja32q/build/make/tools/releasetools/common.py", 
line 250, in RunAndCheckOutput
    args, proc.returncode, output))
ExternalError: Failed to run command '['lpmake', '--metadata-size', '65536', 
'--super-name', 'system', '--metadata-slots', '2', '--auto-slot-suffixing', 
'--device', 'system:2684354560', '--device', 'product:1073741824', '--device', 
'vendor:1073741824', '--sparse', '--output', 'out/target/product/sdm660_64/
super_empty.img']' (exit code 64):
Partition table must have at least one entry.


*It tells that partition table needs at least one entry and i don't know 
what to do and where to do changes. This is for a qualcomm sdm660_64 based 
device*
*Also i have mentioned the following flags* 

sdm660_64.mk
PRODUCT_USE_DYNAMIC_PARTITIONS := true
PRODUCT_RETROFIT_DYNAMIC_PARTITIONS := true
BOARD_SUPER_PARTITION_METADATA_DEVICE := system

Boardconfig.mk
BOARD_SUPER_PARTITION_BLOCK_DEVICES := system product vendor

BOARD_SUPER_PARTITION_VENDOR_DEVICE_SIZE := <some_size>
BOARD_SUPER_PARTITION_PRODUCT_DEVICE_SIZE := <some_size>
BOARD_SUPER_PARTITION_SYSTEM_DEVICE_SIZE := <some_size>

BOARD_SUPER_PARTITION_SIZE := <total_size_of_all_above_partitions>

*Thanks*


-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-building/1c210e18-a62c-49ce-aaf9-542032c31402%40googlegroups.com.

Reply via email to