osbuild.py: add systemResourcesFromEtc key
Some programs have resources in /etc (for example, /etc/pki or grub's config scripts). Give stages a way to access these.
This commit is contained in:
parent
bd87038210
commit
2d487fe685
2 changed files with 20 additions and 7 deletions
4
osbuild
4
osbuild
|
|
@ -26,7 +26,7 @@ def run_interactive(pipeline_path, input_dir, output_dir):
|
|||
print("Inspect with:")
|
||||
print(f"\t# nsenter -a --wd=/root -t `machinectl show {buildroot.machine_name} -p Leader --value`")
|
||||
print()
|
||||
buildroot.run_stage(name, tree, options, input_dir)
|
||||
buildroot.run_stage(stage, tree, input_dir)
|
||||
|
||||
assembler = pipeline.get("assembler")
|
||||
if assembler:
|
||||
|
|
@ -37,7 +37,7 @@ def run_interactive(pipeline_path, input_dir, output_dir):
|
|||
print("Inspect with:")
|
||||
print(f"\t# nsenter -a --wd=/root -t `machinectl show {buildroot.machine_name} -p Leader --value`")
|
||||
print()
|
||||
buildroot.run_assembler(name, tree, options, input_dir, output_dir)
|
||||
buildroot.run_assembler(assembler, tree, input_dir, output_dir)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue