summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2010-08-19 00:31:55 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2010-08-19 00:31:55 +0200
commit86f33b2382bbc8a4c06343801564f6a74e3081f4 (patch)
tree5dfa0d63ec7a36ac1d815ee4ba31ed247bdfc727
parent754b55091a75ddf3be5bf39df0c5021ff3e567e0 (diff)
* apt-pkg/deb/debsystem.cc:
- set dir::state::status based at least on dir
-rw-r--r--apt-pkg/deb/debsystem.cc2
-rw-r--r--debian/changelog4
2 files changed, 4 insertions, 2 deletions
diff --git a/apt-pkg/deb/debsystem.cc b/apt-pkg/deb/debsystem.cc
index 7056d771d..ab08a8f4d 100644
--- a/apt-pkg/deb/debsystem.cc
+++ b/apt-pkg/deb/debsystem.cc
@@ -165,7 +165,7 @@ bool debSystem::Initialize(Configuration &Cnf)
which is yet to be determined. The functions in pkgcachegen should
be the only users of these */
Cnf.CndSet("Dir::State::extended_states", Cnf.FindDir("Dir::State").append("extended_states"));
- Cnf.CndSet("Dir::State::status","/var/lib/dpkg/status");
+ Cnf.CndSet("Dir::State::status", Cnf.FindDir("Dir", "/").append("var/lib/dpkg/status"));
Cnf.CndSet("Dir::Bin::dpkg","/usr/bin/dpkg");
if (StatusFile) {
diff --git a/debian/changelog b/debian/changelog
index ecd1b24d1..88b22c01b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,8 +11,10 @@ apt (0.8.0~pre2) UNRELEASED; urgency=low
- set the default values for dir::etc::trusted options correctly
* ftparchive/writer.cc:
- init valid-until correctly to prevent garbage entering Release file
+ * apt-pkg/deb/debsystem.cc:
+ - set dir::state::status based at least on dir
- -- David Kalnischkies <kalnischkies@gmail.com> Thu, 19 Aug 2010 00:09:00 +0200
+ -- David Kalnischkies <kalnischkies@gmail.com> Thu, 19 Aug 2010 00:28:21 +0200
apt (0.8.0~pre1) experimental; urgency=low