forked from josch/mmdebstrap
add Dir::State::Status to apt config for apt << 1.3
This commit is contained in:
parent
dd5214a8c8
commit
14d3a4e30f
1 changed files with 2 additions and 0 deletions
|
@ -949,6 +949,8 @@ sub setup {
|
||||||
print $conf "Apt::Architectures \"$options->{nativearch}\";\n";
|
print $conf "Apt::Architectures \"$options->{nativearch}\";\n";
|
||||||
}
|
}
|
||||||
print $conf "Dir \"$options->{root}\";\n";
|
print $conf "Dir \"$options->{root}\";\n";
|
||||||
|
# not needed anymore for apt 1.3 and newer
|
||||||
|
print $conf "Dir::State::Status \"$options->{root}/var/lib/dpkg/status\";\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