pbuilder-dist and flexible configuration files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-dev-tools (Ubuntu) |
Fix Released
|
Wishlist
|
Siegfried Gevatter |
Bug Description
Binary package hint: ubuntu-dev-tools
In the past, with the shell version of pbuilder-dist, it was possible to use flexible configuration files like this:
pbuilderrc:
case "$DIST" in
intrepid) #ubuntu
;;
jaunty) #ubuntu
;;
hardy) # ubuntu
$DIST / $ARCH where simply defined somewhere appropriate in the script.
This seems to be not possible anymore with the python version.
Environment variables seems to be not usable outside the python process.
I tried to add this but it never works:
--- /usr/bin/
+++ ../chroot/
@@ -133,6 +133,10 @@
+ os.environ['DIST'] = distro
+
+ if self.build_
+ os.environ['ARCH'] = self.build_
def set_operation(self, operation):
""" pbuilder_
Thank you for your bug report. I don't understand your request, though, could you please elaborate on which functionality you are missing?
(By the way, the old pbuilder-dist is still available in ubuntu-dev-tools as pbuilder- dist-simple. )