add --merged-usr and --no-merged-usr no-op options for debootstrap compatibility

This commit is contained in:
Johannes 'josch' Schauer 2019-01-07 13:18:59 +01:00
parent 418b42746e
commit 25bec4d5e1
Signed by: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -1524,9 +1524,11 @@ sub main() {
'dpkgopt=s@' => \$options->{dpkgopts}, 'dpkgopt=s@' => \$options->{dpkgopts},
'aptopt=s@' => \$options->{aptopts}, 'aptopt=s@' => \$options->{aptopts},
'verbose' => \$options->{verbose}, 'verbose' => \$options->{verbose},
# no-op option so that mmdebstrap can be used with # no-op options so that mmdebstrap can be used with
# sbuild-createchroot --debootstrap=mmdebstrap # sbuild-createchroot --debootstrap=mmdebstrap
'resolve-deps' => sub {}, 'resolve-deps' => sub {},
'merged-usr' => sub {},
'no-merged-usr' => sub {},
) or pod2usage(-exitval => 2, -verbose => 1); ) or pod2usage(-exitval => 2, -verbose => 1);
my @valid_variants = ('extract', 'custom', 'essential', 'apt', 'required', my @valid_variants = ('extract', 'custom', 'essential', 'apt', 'required',