git-pbuilder 1.27

Two changes in this release. First, Guido Günther submitted a patch (which I then mangled) to notice if the DIST ends in -backports and git-pbuilder is calling the builder with an action like create and, in that case, passing --othermirror with the Debian backports mirror. This lets one create new build chroots for squeeze-backports with just:

    env DIST=squeeze-backports git-pbuilder create

without any additional configuration required.

Second, Rafał Długołęcki pointed out the cause of the weird error message that I'd been noticing for years: "W: /root/.pbuilderrc does not exist". git-pbuilder runs the builder with sudo when performing an action like login or create, but sudo resets the environment including HOME, so it tries to load .pbuilderrc from root's home directory. This isn't very useful, so now git-pbuilder checks if a .pbuilderrc exists in the user's home directory and loads it with an explicit --configfile option if it does.

You can get the latest version from my scripts distribution page, and I expect it will turn up in the git-buildpackage package before long.

Posted: 2012-01-12 20:18 — Why no comments?

Last spun 2013-07-01 from thread modified 2013-01-04