commit de8b6a45 forgot to also run re-install with /proc, /dev and /sys mounted

This commit is contained in:
Johannes 'josch' Schauer 2020-03-22 14:09:24 +01:00
parent 02ed5e33f8
commit 412039bd66
Signed by untrusted user: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -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
);
}
}