check for dpkg-dev being installed for dpkg-architecture when doing foreign fakechroot
This commit is contained in:
parent
35cd477fea
commit
81589889f9
1 changed files with 6 additions and 0 deletions
|
@ -5227,6 +5227,12 @@ sub main() {
|
|||
}
|
||||
}
|
||||
|
||||
if (defined $options->{qemu} && $options->{mode} eq 'fakechroot') {
|
||||
if (!can_execute 'dpkg-architecture') {
|
||||
error "cannot find dpkg-architecture";
|
||||
}
|
||||
}
|
||||
|
||||
{
|
||||
$options->{suite} = undef;
|
||||
if (scalar @ARGV > 0) {
|
||||
|
|
Loading…
Reference in a new issue