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
This commit is contained in:
Johannes 'josch' Schauer 2019-11-29 08:18:28 +01:00
parent 3a1d5413e2
commit de8b6a457d
Signed by untrusted user: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -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