forked from josch/mmdebstrap
do not run an additional env command inside the chroot
This commit is contained in:
parent
7ff3f53fb9
commit
62bcf3261e
1 changed files with 6 additions and 10 deletions
12
mmdebstrap
12
mmdebstrap
|
@ -2644,8 +2644,7 @@ sub run_essential() {
|
|||
sub {
|
||||
run_dpkg_progress({
|
||||
ARGV => [
|
||||
@{$chrootcmd}, 'env',
|
||||
'--unset=TMPDIR', 'dpkg',
|
||||
@{$chrootcmd}, 'dpkg',
|
||||
'--install', '--force-depends'
|
||||
],
|
||||
PKGS => $essential_pkgs,
|
||||
|
@ -2852,8 +2851,7 @@ sub run_install() {
|
|||
. (join ', ', @pkgs_to_install_from_outside) . "...";
|
||||
run_dpkg_progress({
|
||||
ARGV => [
|
||||
@{$chrootcmd}, 'env',
|
||||
'--unset=TMPDIR', 'dpkg',
|
||||
@{$chrootcmd}, 'dpkg',
|
||||
'--install', '--force-depends'
|
||||
],
|
||||
PKGS => \@debs_to_install,
|
||||
|
@ -2878,10 +2876,8 @@ sub run_install() {
|
|||
. " chroot...";
|
||||
run_apt_progress({
|
||||
ARGV => [
|
||||
@{$chrootcmd}, 'env',
|
||||
'--unset=APT_CONFIG', '--unset=TMPDIR',
|
||||
'apt-get', '--yes',
|
||||
'install'
|
||||
@{$chrootcmd}, 'apt-get',
|
||||
'--yes', 'install'
|
||||
],
|
||||
PKGS => $pkgs_to_install,
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue