From 191bc47f2cad0650d328252b8e82662d67b5d873 Mon Sep 17 00:00:00 2001 From: Johannes 'josch' Schauer Date: Mon, 22 Oct 2018 11:12:11 +0200 Subject: [PATCH] make sure that apt puts its logs into the chroot --- mmdebstrap | 1 + 1 file changed, 1 insertion(+) diff --git a/mmdebstrap b/mmdebstrap index 4f2f591..0323eeb 100755 --- a/mmdebstrap +++ b/mmdebstrap @@ -582,6 +582,7 @@ sub setup { print $conf "Dir::Cache \"$options->{root}/var/cache/apt\";\n"; # for retrieving the essential packages set, only download print $conf "Apt::Get::Download-Only true;\n"; + print $conf "Dir::Log \"$options->{root}/var/log/apt\";\n"; # for authentication, use the keyrings from the host print $conf "Dir::Etc::Trusted \"/etc/apt/trusted.gpg\";\n"; print $conf "Dir::Etc::TrustedParts \"/etc/apt/trusted.gpg.d\";\n";