stages/ostree.passwd: delete dead code ostree function
As far as I can tell this is unused in this file.
This commit is contained in:
parent
0f477889be
commit
34d3471fdd
1 changed files with 0 additions and 11 deletions
|
|
@ -14,7 +14,6 @@ in UIDs and GIDs.
|
|||
|
||||
import contextlib
|
||||
import os
|
||||
import subprocess
|
||||
import sys
|
||||
|
||||
import osbuild.api
|
||||
|
|
@ -42,16 +41,6 @@ SUBUID_PATH = "etc/subuid"
|
|||
SUBGID_PATH = "etc/subgid"
|
||||
|
||||
|
||||
def ostree(*args, _input=None, **kwargs):
|
||||
args = list(args) + [f'--{k}={v}' for k, v in kwargs.items()]
|
||||
print("ostree " + " ".join(args), file=sys.stderr)
|
||||
subprocess.run(["ostree"] + args,
|
||||
encoding="utf8",
|
||||
stdout=sys.stderr,
|
||||
input=_input,
|
||||
check=True)
|
||||
|
||||
|
||||
def parse_input(inputs):
|
||||
commits = inputs["commits"]
|
||||
source_root = commits["path"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue