Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Nirbheek Chauhan
cerbero
Commits
c7a15286
Commit
c7a15286
authored
Jan 21, 2019
by
Nirbheek Chauhan
🐜
Browse files
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
cerbero/commands/bundlesource.py
View file @
c7a15286
...
...
@@ -41,6 +41,8 @@ class BundleSource(Command):
ArgparseArgument
(
'--no-bootstrap'
,
action
=
'store_true'
,
default
=
False
,
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):
bundle_dirs
.
append
(
r
.
repo_dir
)
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
=
[]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment