forked from josch/mmdebstrap
commit de8b6a45
forgot to also run re-install with /proc, /dev and /sys mounted
This commit is contained in:
parent
02ed5e33f8
commit
412039bd66
1 changed files with 13 additions and 8 deletions
21
mmdebstrap
21
mmdebstrap
|
@ -2174,14 +2174,19 @@ sub setup {
|
||||||
# without --skip-same-version, dpkg will install the given
|
# without --skip-same-version, dpkg will install the given
|
||||||
# packages even though they are already installed
|
# packages even though they are already installed
|
||||||
info "re-installing packages because of path-exclude...";
|
info "re-installing packages because of path-exclude...";
|
||||||
run_dpkg_progress({
|
run_chroot(
|
||||||
ARGV => [
|
sub {
|
||||||
@chrootcmd, 'env',
|
run_dpkg_progress({
|
||||||
'--unset=TMPDIR', 'dpkg',
|
ARGV => [
|
||||||
'--install', '--force-depends'
|
@chrootcmd, 'env',
|
||||||
],
|
'--unset=TMPDIR', 'dpkg',
|
||||||
PKGS => \@essential_pkgs,
|
'--install', '--force-depends'
|
||||||
});
|
],
|
||||||
|
PKGS => \@essential_pkgs,
|
||||||
|
});
|
||||||
|
},
|
||||||
|
$options
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue