From 412039bd66ed443e55e0538ca15f6484116a28f4 Mon Sep 17 00:00:00 2001 From: Johannes 'josch' Schauer Date: Sun, 22 Mar 2020 14:09:24 +0100 Subject: [PATCH] commit de8b6a45 forgot to also run re-install with /proc, /dev and /sys mounted --- mmdebstrap | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/mmdebstrap b/mmdebstrap index e8d396c..ee1973e 100755 --- a/mmdebstrap +++ b/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 + ); } }