Bug#798560: debootstrap: Add a --suite-config option replacing the need for the script parameter
Package: debootstrap
Version: 1.0.72
Severity: wishlist
User: devel@kali.org
Usertags: origin-kali
Most debootstrap wrappers allow you to inject arbitrary options and let
you customize the target suite and the mirror. But very few let you
specify the "script" parameter (the specific wrapper that is causing me
problem right now is live-build 5.x).
I would thus suggest to offer named options for all optional positional
parameters... so that we can rely on the fact that we can inject arbitrary
options to compensate.
Note that cdebootstrap already made such a choice, since it does not have
a script positional argument but a --suite-config option.
So maybe it would make sense for debootstrap to have --suite-config=foo
actually run /usr/share/debootstrapt/scripts/foo and that way you
would (partly) solve #742672 too.
And --mirror=url too although it's ok if you don't want this option.
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.1.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages debootstrap depends on:
ii wget 1.16.3-3
Versions of packages debootstrap recommends:
ii debian-archive-keyring 2014.3
ii gnupg 1.4.19-5
debootstrap suggests no packages.
-- no debconf information
Reply to: