Commit 88f3f874 authored by Michal Nowikowski's avatar Michal Nowikowski

added check if --repository-url is passed when native-pkg is enabled

parent 48654dfc
......@@ -1959,6 +1959,11 @@ def build_cmd(args):
_check_system_revision(args.system, args.revision)
if 'native-pkg' in features and not args.repository_url:
msg = "Enabling 'native-pkg' requires passing --repository-url."
print(msg)
sys.exit(1)
if args.provider == 'all':
providers = ['lxc', 'virtualbox']
else:
......
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