|
|
|
@ -794,16 +794,16 @@ sub run_apt_progress {
|
|
|
|
|
my $get_exec = sub {
|
|
|
|
|
my @prefix = ();
|
|
|
|
|
my @opts = ();
|
|
|
|
|
my $solverpath = "/usr/lib/mmdebstrap/solvers";
|
|
|
|
|
if (exists $options->{EDSP_RES}) {
|
|
|
|
|
push @prefix, 'env', "APT_EDSP_DUMP_FILENAME=$tmpedsp";
|
|
|
|
|
if (-e "./proxysolver") {
|
|
|
|
|
# for development purposes, use the current directory if it
|
|
|
|
|
# contains a file called proxysolver
|
|
|
|
|
$solverpath = getcwd();
|
|
|
|
|
}
|
|
|
|
|
if (exists $options->{EDSP_RES}) {
|
|
|
|
|
push @prefix, 'env', "APT_EDSP_DUMP_FILENAME=$tmpedsp";
|
|
|
|
|
push @opts, "-oDir::Bin::solvers=$solverpath",
|
|
|
|
|
push @opts, ("-oDir::Bin::solvers=" . getcwd()),
|
|
|
|
|
'--solver=proxysolver';
|
|
|
|
|
} else {
|
|
|
|
|
push @opts, '--solver=mmdebstrap-dump-solution';
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return (
|
|
|
|
|
@prefix,
|
|
|
|
|