lint deb
This commit is contained in:
parent
592023d214
commit
470d7aa1e9
1 changed files with 6 additions and 6 deletions
|
@ -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,),
|
||||||
|
|
Loading…
Reference in a new issue