only set apt Dir config option instead of setting apt directories individually
This commit is contained in:
parent
e1a41fac94
commit
473bc354ae
1 changed files with 1 additions and 4 deletions
|
@ -941,10 +941,7 @@ sub setup {
|
||||||
} else {
|
} else {
|
||||||
print $conf "Apt::Architectures \"$options->{nativearch}\";\n";
|
print $conf "Apt::Architectures \"$options->{nativearch}\";\n";
|
||||||
}
|
}
|
||||||
print $conf "Dir::Etc \"$options->{root}/etc/apt\";\n";
|
print $conf "Dir \"$options->{root}\";\n";
|
||||||
print $conf "Dir::State \"$options->{root}/var/lib/apt\";\n";
|
|
||||||
print $conf "Dir::Cache \"$options->{root}/var/cache/apt\";\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