Implement a debootstrap task
The debootstrap task would implement the SystemBootstrap interface except that it only supports a single repository in the bootstrap_repositories key.
On top of the keys defined in that interface, it also supports the following additional keys in task_data:
-
bootstrap_options-
script: last parameter on debootstrap's command line
-
The various keys in the first entry of bootstrap_repositories are mapped to the
corresponding command line options and parameters:
-
mirror,suiteandscriptmap to positional command line parameters -
componentsmaps to--components -
check_signaturemaps to--check-gpgor--no-check-gpg -
keyring_packagemaps to an extra package name in--include -
keyringmaps to--keyring
The following keys from bootstrap_options are also mapped:
-
variantmaps to--variant -
extra_packagesmaps to--include
NB: This was part of an initial devel-blueprint design but since the mmdebstrap-based implementation is sufficient for now, this is left as a wishlist, it's not in any roadmap.