forked from josch/mmdebstrap
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:
parent
3a1d5413e2
commit
de8b6a457d
1 changed files with 7 additions and 5 deletions
|
@ -1654,11 +1654,13 @@ sub setup {
|
||||||
# account and thus doesn't install them in the right order
|
# account and thus doesn't install them in the right order
|
||||||
# And the --predep-package option is broken: #539133
|
# And the --predep-package option is broken: #539133
|
||||||
info "installing packages...";
|
info "installing packages...";
|
||||||
|
run_chroot {
|
||||||
run_dpkg_progress({
|
run_dpkg_progress({
|
||||||
ARGV => [@chrootcmd, 'env', '--unset=TMPDIR',
|
ARGV => [@chrootcmd, 'env', '--unset=TMPDIR',
|
||||||
'dpkg', '--install', '--force-depends'],
|
'dpkg', '--install', '--force-depends'],
|
||||||
PKGS => \@essential_pkgs,
|
PKGS => \@essential_pkgs,
|
||||||
});
|
});
|
||||||
|
} $options;
|
||||||
|
|
||||||
# if the path-excluded option was added to the dpkg config, reinstall all
|
# if the path-excluded option was added to the dpkg config, reinstall all
|
||||||
# packages
|
# packages
|
||||||
|
|
Loading…
Reference in a new issue