From e55347315d6f71829a1ec7295c0c0912cccb3a5b Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Thu, 8 Jun 2017 18:19:17 +0200 Subject: [PATCH] pmbootstrap index: Automatically set up abuild --- pmb/build/other.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pmb/build/other.py b/pmb/build/other.py index e5a3c282..2d650d37 100644 --- a/pmb/build/other.py +++ b/pmb/build/other.py @@ -97,10 +97,13 @@ def is_necessary(args, suffix, carch, apkbuild): return False return True -# When arch is not defined, reindex all repos - def index_repo(args, arch=None): + """ + :param arch: when not defined, re-index all repos + """ + pmb.build.init(args) + if arch: paths = [args.work + "/packages/" + arch] else: