File tree Expand file tree Collapse file tree 1 file changed +13
-11
lines changed
Expand file tree Collapse file tree 1 file changed +13
-11
lines changed Original file line number Diff line number Diff line change @@ -552,18 +552,20 @@ def patch_addons():
552552
553553
554554def repack_super ():
555- infile = glob (V .DNA_CONF_DIR + '*_contexts.txt' )
556- if not infile :
557- parts = [
558- 'system' ,
559- 'system_ext' ,
560- 'product' ,
561- 'vendor' ,
562- 'odm' ]
563- else :
564- parts = []
555+ parts_1 = [
556+ 'system' ,
557+ 'system_ext' ,
558+ 'product' ,
559+ 'vendor' ,
560+ 'odm' ,
561+ "vendor_dlmk" ,
562+ "my_"
563+ ]
564+ parts = []
565+ for i in parts_1 :
566+ infile = glob (V .DNA_DIST_DIR + i + '*' + '.img' )
565567 for file in infile :
566- parts .append (os .path .basename (file ).rsplit ('_ ' , 1 )[0 ])
568+ parts .append (os .path .basename (file ).rsplit ('. ' , 1 )[0 ])
567569 argvs = f'lpmake --metadata-size 65536 --super-name super --device super:{ V .SETUP_MANIFEST ["SUPER_SIZE" ]} :{ int (V .SETUP_MANIFEST ["SUPER_SECTOR" ]) * 512 } '
568570 if V .SETUP_MANIFEST ['IS_VAB' ] == '1' :
569571 argvs += '--metadata-slots 3 --virtual-ab -F '
You can’t perform that action at this time.
0 commit comments