osbuild: make --input and --output absolute paths
This commit is contained in:
parent
9703b975c3
commit
0178cce4ee
1 changed files with 2 additions and 2 deletions
4
osbuild
4
osbuild
|
|
@ -149,9 +149,9 @@ if __name__ == "__main__":
|
|||
parser = argparse.ArgumentParser(description="Build operating system images")
|
||||
parser.add_argument("pipeline_path", metavar="PIPELINE",
|
||||
help="json file containing the pipeline that should be built")
|
||||
parser.add_argument("--input", dest="input_dir", metavar="DIRECTORY",
|
||||
parser.add_argument("--input", dest="input_dir", metavar="DIRECTORY", type=os.path.abspath,
|
||||
help="provide the contents of DIRECTORY to the first stage")
|
||||
parser.add_argument("--output", dest="output_dir", metavar="DIRECTORY",
|
||||
parser.add_argument("--output", dest="output_dir", metavar="DIRECTORY", type=os.path.abspath,
|
||||
help="provide the empty DIRECTORY as output argument to the last stage")
|
||||
parser.add_argument("--sit", action="store_true",
|
||||
help="keep the build environment up when a stage failed")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue