mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-14 00:21:08 +00:00
* pbuilder-dist, doc/pbuilder-dist.1:
- Export the distribution and architecture information to the environment so that it is available in pbuilderrc, etc. (LP: #628933).
This commit is contained in:
parent
a07da2e246
commit
3515d7ac78
8
debian/changelog
vendored
8
debian/changelog
vendored
@ -1,3 +1,11 @@
|
||||
ubuntu-dev-tools (0.105) UNRELEASED; urgency=low
|
||||
|
||||
* pbuilder-dist, doc/pbuilder-dist.1:
|
||||
- Export the distribution and architecture information to the environment
|
||||
so that it is available in pbuilderrc, etc. (LP: #628933).
|
||||
|
||||
-- Siegfried-Angel Gevatter Pujals <rainct@ubuntu.com> Sun, 26 Sep 2010 17:36:59 +0200
|
||||
|
||||
ubuntu-dev-tools (0.104) experimental; urgency=low
|
||||
|
||||
[ Siegfried-Angel Gevatter Pujals ]
|
||||
|
@ -99,6 +99,11 @@ saved in the results subdirectory of each build environment.
|
||||
.PP
|
||||
The default authentication method is \fBsudo\fP. You can change this by
|
||||
setting the \fBPBUILDAUTH\fP variable.
|
||||
.PP
|
||||
You may also want to know that \fBpbuilder\-dist\fP exports \fBDIST\fP and
|
||||
\fBARCH\fP environment variables to the invoked process, containing the name
|
||||
of the distribution and the architecture targeted by the current build. You
|
||||
can make use of them, for example, in \fBpbuilderrc\fP.
|
||||
|
||||
.SH BUGS
|
||||
If you experience any problem with this script contact me on rainct@ubuntu.com
|
||||
|
@ -259,7 +259,10 @@ class pbuilder_dist:
|
||||
return argument
|
||||
return '"%s"' % argument
|
||||
|
||||
return '%s /usr/sbin/%s %s' % (self.auth, self.builder,
|
||||
# Export the distribution and architecture information to the
|
||||
# environment so that it is accessible to ~/.pbuilderrc (LP: #628933).
|
||||
return '%s ARCH="%s" DIST="%s" /usr/sbin/%s %s' % (self.auth,
|
||||
self.build_architecture, self.target_distro, self.builder,
|
||||
' '.join(map(quote, arguments)))
|
||||
|
||||
def ask(question):
|
||||
|
Loading…
x
Reference in New Issue
Block a user