]> err.no Git - dak/commitdiff
Switch to 'dak contents generate'.
authorTorsten Werner <twerner@debian.org>
Fri, 11 Mar 2011 19:30:22 +0000 (20:30 +0100)
committerTorsten Werner <twerner@debian.org>
Fri, 11 Mar 2011 19:30:22 +0000 (20:30 +0100)
It replaces APT::FTPArchive::Contents.

Signed-off-by: Torsten Werner <twerner@debian.org>
config/debian/dinstall.functions
dak/generate_packages_sources.py

index 635d99c4bf6b21c1b30d3f7f04f90e4a0ea39869..508e60e6435b7016143853b31bd0119b623b1cdd 100644 (file)
@@ -209,8 +209,7 @@ function packages() {
     cd $configdir
     #apt-ftparchive generate apt.conf
     dak generate-packages-sources
-    #TEST: try experimental
-    dak contents -s experimental generate
+    dak contents generate
 }
 
 function pdiff() {
index fe2a4ed5ecc9e651655a1b0a0cb090ea7c30c5c0..bdd318056f14d2262b0fcf19c1101996826d3d58 100755 (executable)
@@ -338,7 +338,7 @@ tree "dists/oldstable-proposed-updates/main"
         # it has errormessages we like to see
         os.environ['GZIP'] = '--rsyncable'
         os.chdir(tmppath)
-        (result, output) = commands.getstatusoutput('apt-ftparchive generate %s' % os.path.basename(ac_name))
+        (result, output) = commands.getstatusoutput('apt-ftparchive -o APT::FTPArchive::Contents=off generate %s' % os.path.basename(ac_name))
         sn="a-f %s,%s: " % (suite, arch)
         print sn + output.replace('\n', '\n%s' % (sn))