cli: remove --source command line option
This was deprecated in favor of always having the source in the manifest. Remove the command line option and the corresponding code that would override the sources definitions. Update the docs accordingly.
This commit is contained in:
parent
e85d340cd8
commit
c466b40e14
2 changed files with 0 additions and 8 deletions
|
|
@ -85,8 +85,6 @@ def parse_arguments(sys_argv):
|
|||
parser.add_argument("--store", metavar="DIRECTORY", type=os.path.abspath,
|
||||
default=".osbuild",
|
||||
help="directory where intermediary os trees are stored")
|
||||
parser.add_argument("--sources", metavar="FILE", type=os.path.abspath,
|
||||
help="json file containing a dictionary of source configuration")
|
||||
parser.add_argument("-l", "--libdir", metavar="DIRECTORY", type=os.path.abspath, default="/usr/lib/osbuild",
|
||||
help="the directory containing stages, assemblers, and the osbuild library")
|
||||
parser.add_argument("--checkpoint", metavar="ID", action="append", type=str, default=None,
|
||||
|
|
@ -120,10 +118,6 @@ def osbuild_cli():
|
|||
pipeline = manifest.get("pipeline", {})
|
||||
sources_options = manifest.get("sources", {})
|
||||
|
||||
if args.sources:
|
||||
with open(args.sources) as f:
|
||||
sources_options = json.load(f)
|
||||
|
||||
pipeline = osbuild.load(pipeline, sources_options)
|
||||
|
||||
if args.checkpoint:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue