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
|
||||
# packages even though they are already installed
|
||||
info "re-installing packages because of path-exclude...";
|
||||
run_dpkg_progress({
|
||||
ARGV => [
|
||||
@chrootcmd, 'env',
|
||||
'--unset=TMPDIR', 'dpkg',
|
||||
'--install', '--force-depends'
|
||||
],
|
||||
PKGS => \@essential_pkgs,
|
||||
});
|
||||
run_chroot(
|
||||
sub {
|
||||
run_dpkg_progress({
|
||||
ARGV => [
|
||||
@chrootcmd, 'env',
|
||||
'--unset=TMPDIR', 'dpkg',
|
||||
'--install', '--force-depends'
|
||||
],
|
||||
PKGS => \@essential_pkgs,
|
||||
});
|
||||
},
|
||||
$options
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue