This commit is contained in:
Marc Beninca 2024-06-10 09:52:56 +02:00
parent 592023d214
commit 470d7aa1e9
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -1,17 +1,17 @@
import cmd import cmd
import ps import ps
cmd.need('debootstrap') cmd.need("debootstrap")
BOOTSTRAP_ARCHITECTURE = 'amd64' BOOTSTRAP_ARCHITECTURE = "amd64"
BOOTSTRAP_VARIANT = 'minbase' BOOTSTRAP_VARIANT = "minbase"
def bootstrap(root_path: str, suite: str, mirror_location: str): def bootstrap(root_path: str, suite: str, mirror_location: str):
command = [ command = [
('debootstrap',), ("debootstrap",),
('--arch', BOOTSTRAP_ARCHITECTURE), ("--arch", BOOTSTRAP_ARCHITECTURE),
('--variant', BOOTSTRAP_VARIANT), ("--variant", BOOTSTRAP_VARIANT),
(suite,), (suite,),
(root_path,), (root_path,),
(mirror_location,), (mirror_location,),