@@ -685,12 +685,12 @@ sub run_fetch_install_packages {
# install cross-deps. Hacked for now - need to generate dummy package
$self->log('Cross-deps: Running apt-get -a ' . $self->get('Host_Arch') . ' build-dep ' . $self->get('Package') . "\n");
$resolver->run_apt_command(
- { COMMAND => [$self->get_conf('APT_GET'), '-a ' . $self->get('Host_Arch'), 'build-dep', $self->get('Package')],
+ { COMMAND => [$self->get_conf('APT_GET'), '-a' . $self->get('Host_Arch'), 'build-dep', '-yf', $self->get('Package')],
ENV => {'DEBIAN_FRONTEND' => 'noninteractive'},
USER => 'root',
DIR => '/' });
if ($?) {
- $self->log("Failed to get cross build-deps:\n");
+ $self->log("Failed to get cross build-deps\n");
return 1;
}
}
From: Wookey <wookey@wookware.org> --- lib/Sbuild/Build.pm | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)