aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatarChristoph Goehre <christoph.goehre@gmx.de>2008-06-28 19:03:08 +0200
committerLibravatarChristoph Goehre <christoph.goehre@gmx.de>2008-06-28 19:03:08 +0200
commit7b52619636247991ec6363e3a389c44983d59cfc (patch)
treeab2c7df395324168b5f10e680d72615bb7d03b38
parenta94148229a62c158fcfbf190f0060dfda770812c (diff)
downloadmini-dinstall-7b52619636247991ec6363e3a389c44983d59cfc.tar.bz2
mini-dinstall-7b52619636247991ec6363e3a389c44983d59cfc.tar.xz
mini-dinstall-7b52619636247991ec6363e3a389c44983d59cfc.tar.zst
use '--db' in apt-ftparchive run
The usage of --db speed up the Package generation. Debian Bug 225483. Thanke to Joey Hess
-rwxr-xr-xmini-dinstall2
1 files changed, 1 insertions, 1 deletions
diff --git a/mini-dinstall b/mini-dinstall
index 955b642..258dde3 100755
--- a/mini-dinstall
+++ b/mini-dinstall
@@ -1050,7 +1050,7 @@ class ArchiveDirIndexer(threading.Thread):
return apply(os.path.join, [self._name] + list(args))
def _make_indexfile(self, dir, type, name):
- cmdline = ['apt-ftparchive', type, dir]
+ cmdline = ['apt-ftparchive', type, dir, '--db', '%s.db' %dir]
self._logger.debug("Running: " + string.join(cmdline, ' '))
if no_act:
return