Public bug reported:
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
MIRRORSITE="http://de.archive.ubuntu.com/ubuntu"
COMPONENTS="main restricted universe multiverse"
;;
jaunty) #ubuntu
MIRRORSITE="http://de.archive.ubuntu.com/ubuntu"
COMPONENTS="main restricted universe multiverse"
;;
hardy) # ubuntu
MIRRORSITE="http://de.archive.ubuntu.com/ubuntu"
COMPONENTS="main restricted universe multiverse"
OTHERMIRROR="http://de.archive.ubuntu.com/hardy-backports main
restricted universe multiverse"
$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/pbuilder-dist 2010-04-22 21:48:49.000000000 +0200
+++ ../chroot/pbuilder-dist 2010-09-02 17:30:05.012478148 +0200
@@ -133,6 +133,10 @@
sys.exit(1)
self.target_distro = distro
+ os.environ['DIST'] = distro
+
+ if self.build_architecture:
+ os.environ['ARCH'] = self.build_architecture
def set_operation(self, operation):
""" pbuilder_dist.set_operation -> None
** Affects: ubuntu-dev-tools (Ubuntu)
Importance: Undecided
Status: New
--
pbuilder-dist and flexible configuration files
https://bugs.launchpad.net/bugs/628933
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs