add --resolve-deps no-op option for sbuild-createchroot compatibility

This commit is contained in:
Johannes 'josch' Schauer 2018-12-28 05:09:39 +01:00
parent 3f29fa461a
commit 4a2bf62931
Signed by: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -1442,6 +1442,9 @@ 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
# sbuild-createchroot --debootstrap=mmdebstrap
'resolve-deps' => 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',