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