INNER CODE UNIT · Python
build_deb
XRPLF/rippled · package/build_pkg.py:268
def build_deb(
build_dir: Path,
*,
version: str,
reported: str,
pkg_release: str,
channel: str,
epoch: int,
name: str,
) -> None:
"""Stage the debian directory and its sources, then build the binary DEBs."""
staging = build_dir / "debbuild" / "source"
stage_common(build_dir, staging)
stage_debian(staging / "debian", name)
# Prefixed whether it is a variant's name or not: debian/rules names them
# explicitly either way.
stage_units(staging / "debian", prefix=f"{name}.")