]> git.saurik.com Git - apt.git/commitdiff
* apt-pkg/deb/debsystem.cc:
authorDavid Kalnischkies <kalnischkies@gmail.com>
Wed, 18 Aug 2010 22:31:55 +0000 (00:31 +0200)
committerDavid Kalnischkies <kalnischkies@gmail.com>
Wed, 18 Aug 2010 22:31:55 +0000 (00:31 +0200)
  - set dir::state::status based at least on dir

apt-pkg/deb/debsystem.cc
debian/changelog

index 7056d771d9e3755f49bc92fff096e12b740b6f36..ab08a8f4dafbb31c940519c375554e59ff40a684 100644 (file)
@@ -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) {
index ecd1b24d10d3efa7acd6b72ff942fd3f4ca9e0b2..88b22c01bdb962599dea0acaeeb5f077559cce09 100644 (file)
@@ -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