forked from Mirror/pmbootstrap
Migration guide: https://github.com/postmarketOS/pmbootstrap/wiki/Migration-to-aports-subfolders
This commit is contained in:
parent
6dbf3c7872
commit
314c17e03c
253 changed files with 58 additions and 42 deletions
|
@ -39,7 +39,7 @@ def list_chroot(args, suffix, remove_prefix=True):
|
|||
def list_aports(args):
|
||||
ret = []
|
||||
prefix = pmb.config.initfs_hook_prefix
|
||||
for path in glob.glob(args.aports + "/" + prefix + "*"):
|
||||
for path in glob.glob(args.aports + "/*/" + prefix + "*"):
|
||||
ret.append(os.path.basename(path)[len(prefix):])
|
||||
return ret
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue