@@ -448,12 +448,7 @@ sub run_xapt {
# dpkg since 1.4.1.18 issues an error on the conffile question if
# it reads EOF -- hardwire the new --force-confold option to avoid
# the questions.
- use Data::Dumper;
- debug("Source Dir = " . $self->get('Source Dir') . "\n");
- print "Dump Source Dir\n";
- print Dumper ($self->get('Source Dir'));
- # chdir ($dir);
- my @xapt_command = ($self->get_conf('EMBUILDDEPS'));
+ my @xapt_command = ($self->get_conf('XAPT'));
my $pipe =
$self->pipe_xapt_command(
{ COMMAND => \@xapt_command,
@@ -68,10 +68,7 @@ sub install_deps {
# Install the dummy package
my (@instd, @rmvd);
$self->log("Installing cross-build dependencies\n");
-# if (!$self->run_apt("-yf", \@instd, \@rmvd, 'install', $dummy_pkg_name)) {
- print "checking pwd\n";
- system("pwd");
- if (!$self->run_xapt("-a", $self->get_conf('HOST_ARCH'))) {
+ if (!$self->run_xapt("-a", $self->get_conf('HOST_ARCH'), @pkgs)) {
$self->log("Package installation failed\n");
if (defined ($self->get('Session')->get('Session Purged')) &&
$self->get('Session')->get('Session Purged') == 1) {