[Piuparts-devel] Bug#735923: piuparts: maybe --pbuilder should also set --tmpdir?

Helmut Grohne helmut at subdivi.de
Sat Jan 18 16:44:26 UTC 2014

Package: piuparts
Version: 0.56
Severity: wishlist
Tags: patch


When using piuparts --pbuilder I noticed that it feels slow. Now that's
not the fault of piuparts, but instead an artifact of my setup that made
me ponder whether piuparts' defaults are good. It happens that I mounted
/var/cache/pbuilder/build as an fs tuned for performance. I was kind of
expecting piuparts to use pbuilders build directory. So maybe setting
--pbuilder should also set --tmpdir?

diff against /usr/sbin/pbuilder
 def set_basetgz_to_pbuilder(option, opt, value, parser, *args, **kwargs):
     parser.values.basetgz = "/var/cache/pbuilder/base.tgz"
+    parser.values.tmpdir = "/var/cache/pbuilder/build"
 def parse_command_line():
     """Parse the command line, change global settings, return non-options."""

If you disagree, please just close this bug after tagging it wontfix.
Thanks for considering.


More information about the Piuparts-devel mailing list