From de8b6a457d8ea5fa67394107fee796c44f37c32e Mon Sep 17 00:00:00 2001 From: Johannes 'josch' Schauer Date: Fri, 29 Nov 2019 08:18:28 +0100 Subject: [PATCH] also run initial installation of Essential:yes with /proc, /dev and /sys mounted In Debian Jessie, init is part of Essential:yes and thus systemd gets installed which needs working /proc, /dev and /sys --- mmdebstrap | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/mmdebstrap b/mmdebstrap index 20cddab..8b5ef5b 100755 --- a/mmdebstrap +++ b/mmdebstrap @@ -1654,11 +1654,13 @@ sub setup { # account and thus doesn't install them in the right order # And the --predep-package option is broken: #539133 info "installing packages..."; - run_dpkg_progress({ - ARGV => [@chrootcmd, 'env', '--unset=TMPDIR', - 'dpkg', '--install', '--force-depends'], - PKGS => \@essential_pkgs, - }); + run_chroot { + run_dpkg_progress({ + ARGV => [@chrootcmd, 'env', '--unset=TMPDIR', + 'dpkg', '--install', '--force-depends'], + PKGS => \@essential_pkgs, + }); + } $options; # if the path-excluded option was added to the dpkg config, reinstall all # packages