make sure that apt puts its logs into the chroot
This commit is contained in:
parent
11633c7278
commit
191bc47f2c
1 changed files with 1 additions and 0 deletions
|
@ -582,6 +582,7 @@ sub setup {
|
||||||
print $conf "Dir::Cache \"$options->{root}/var/cache/apt\";\n";
|
print $conf "Dir::Cache \"$options->{root}/var/cache/apt\";\n";
|
||||||
# for retrieving the essential packages set, only download
|
# for retrieving the essential packages set, only download
|
||||||
print $conf "Apt::Get::Download-Only true;\n";
|
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
|
# for authentication, use the keyrings from the host
|
||||||
print $conf "Dir::Etc::Trusted \"/etc/apt/trusted.gpg\";\n";
|
print $conf "Dir::Etc::Trusted \"/etc/apt/trusted.gpg\";\n";
|
||||||
print $conf "Dir::Etc::TrustedParts \"/etc/apt/trusted.gpg.d\";\n";
|
print $conf "Dir::Etc::TrustedParts \"/etc/apt/trusted.gpg.d\";\n";
|
||||||
|
|
Loading…
Reference in a new issue