This commit is contained in:
Marc Beninca 2024-09-13 16:56:01 +02:00
parent 9bb8003812
commit ce3629a776
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -1,3 +1,5 @@
"""Wrap Debian commands."""
import cmd
import ps
@ -8,7 +10,8 @@ BOOTSTRAP_ARCHITECTURE = "amd64"
BOOTSTRAP_VARIANT = "minbase"
def bootstrap(root_path: str, suite: str, mirror_location: str):
def bootstrap(root_path: str, suite: str, mirror_location: str) -> None:
"""Boostrap a base operating filesystem."""
command = [
("debootstrap",),
("--arch", BOOTSTRAP_ARCHITECTURE),