Comment 2 for bug 628933

Revision history for this message
Gunnar Thielebein (lorem-ipsum) wrote :

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 not with using s.t. like os.environ['DIST'] = distribution .
So what I need is a solution to make use of the flexibility of the above pbuildrc config for setting specific MIRROR/OTHERMIRROR/COMPONENTS options for different distributions. I want to integrate packages from my ppa and other sources into the build-chroot on build process. And yes, I want to stay with the python script whenever possible :-)