Skip to content

Commit

Permalink
build-driver: remove unused get_grml_live function
Browse files Browse the repository at this point in the history
This was necessary before the code got moved to grml-live.git. It is now done
in the gitlab ci job configuration.
  • Loading branch information
zeha committed Dec 18, 2024
1 parent 43b258d commit 3ea3fad
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions build-driver/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,15 +80,6 @@ def apt_satisfy(deps: str):
)


def get_grml_live(branch: str):
checkout_path = Path(os.getcwd()) / "grml-live"
run_x(["git", "clone", "-q", "--depth", "1", "-b", branch, "https://github.com/grml/grml-live", checkout_path])
result = run_x(["git", "describe", "--always"], cwd=checkout_path, capture_output=True)
version = result.stdout.strip()
print(f"I: grml-live version: {version} from branch {branch}")
return checkout_path


def print_grml_live_version(grml_live_path: Path):
result = run_x(["git", "describe", "--always"], cwd=grml_live_path, capture_output=True)
version = result.stdout.strip().decode()
Expand Down

0 comments on commit 3ea3fad

Please sign in to comment.