[Bug 628933] Re: pbuilder-dist and flexible configuration files

2010-10-30 Thread Launchpad Bug Tracker
This bug was fixed in the package ubuntu-dev-tools - 0.105 --- ubuntu-dev-tools (0.105) experimental; urgency=low [ Siegfried-Angel Gevatter Pujals ] * pbuilder-dist, doc/pbuilder-dist.1: - Export the distribution and architecture information to the environment so

[Bug 628933] Re: pbuilder-dist and flexible configuration files

2010-09-26 Thread Gunnar Thielebein
Hi Sigfried, Of course I use symlinks all the time, what do you want to tell me in your last comment? The goal is too use other urls of package archives in the chroots, but only for specific distriubutions. In the config snippet, posted initially, you see that there is the -backports

[Bug 628933] Re: pbuilder-dist and flexible configuration files

2010-09-26 Thread Siegfried Gevatter
Oh, I see. Sorry, I got confused about what you were asking for. I'll look into this somewhen soon. ** Changed in: ubuntu-dev-tools (Ubuntu) Status: Incomplete = Confirmed ** Changed in: ubuntu-dev-tools (Ubuntu) Assignee: (unassigned) = Siegfried Gevatter (rainct) --

[Bug 628933] Re: pbuilder-dist and flexible configuration files

2010-09-26 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu-dev-tools -- pbuilder-dist and flexible configuration files https://bugs.launchpad.net/bugs/628933 You received this bug notification because you are a member of MOTU, which is subscribed to ubuntu-dev-tools in ubuntu. -- universe-bugs mailing list

[Bug 628933] Re: pbuilder-dist and flexible configuration files

2010-09-26 Thread Siegfried Gevatter
I have just pushed a possible solution, can you please test whether this works for you? If I understood the problem correctly, your attempt to change os.environ didn't work because by default `sudo' strips out all unknown variables (see sudo -s 'sudo -V'). This can be worked around by defining

[Bug 628933] Re: pbuilder-dist and flexible configuration files

2010-09-26 Thread Benjamin Drung
Can you change the get_command function to return a list and use subprocess.call instead of os.system like we do in sponsor-patch? -- pbuilder-dist and flexible configuration files https://bugs.launchpad.net/bugs/628933 You received this bug notification because you are a member of MOTU, which

[Bug 628933] Re: pbuilder-dist and flexible configuration files

2010-09-25 Thread Siegfried Gevatter
Are you aware that if you create symlinks with names like pbuilder- maverick or pbuilder-experimental-i386 pointing to /usr/bin/pbuilder- dist it will take the distribution and architecture from the executable name? -- pbuilder-dist and flexible configuration files

[Bug 628933] Re: pbuilder-dist and flexible configuration files

2010-09-02 Thread Siegfried Gevatter
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.) ** Changed in: ubuntu-dev-tools (Ubuntu) Importance:

[Bug 628933] Re: pbuilder-dist and flexible configuration files

2010-09-02 Thread Gunnar Thielebein
Hi Sigfried, thanks to your fast reply. To hopefully clarify it more shortly: The old shell pbuilder-dist script had the possibility to add some variable exports somewhere like export DIST = $DISTRIBUTION export ARCH = $ARCHITECTURE This is not possible for me within the python script at least