Commit c7a15286 authored by Nirbheek Chauhan's avatar Nirbheek Chauhan

cerbero: Fix bundle-source command

It was missing an --offline flag, to match build and package.
parent db9a5c47
Pipeline #15722 passed with stages
in 64 minutes and 23 seconds
......@@ -41,6 +41,8 @@ class BundleSource(Command):
ArgparseArgument('--no-bootstrap', action='store_true',
help=_('Don\'t include bootstrep sources')),
ArgparseArgument('--offline', action='store_true',
default=False, help=_('Use only the source cache, no network')),
Command.__init__(self, args)
......@@ -89,7 +91,7 @@ class BundleSource(Command):
if not args.no_bootstrap:
build_tools = BuildTools(config)
build_tools = BuildTools(config, args.offline)
bs_recipes = build_tools.BUILD_TOOLS + \
build_tools.PLAT_BUILD_TOOLS.get(config.platform, [])
b_recipes = []
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment