Don't use TMPDIR with buildinstall for now

This commit is contained in:
jkeating@reducto.boston.redhat.com 2007-02-21 16:12:31 -05:00 committed by Jesse Keating
parent f00a7145a5
commit f60b531ee9
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,6 @@
* Wed Feb 21 2007 Jesse Keating <jkeating@redhat.com>
- Don't use TMPDIR with buildinstall for now
* Fri Feb 16 2007 Jesse Keating <jkeating@redhat.com>
- Make use of anaconda's TMPDIR support
- Put yum tempdirs in the workdir

View File

@ -78,7 +78,9 @@ class Pungi:
self.config.get('default', 'version'), '%s %s' % (self.config.get('default', 'product_name'),
self.config.get('default', 'version')), self.config.get('default', 'product_path'),
bugurl, self.topdir)
res = commands.getoutput('TMPDIR=%s /usr/lib/anaconda-runtime/buildinstall %s' % (self.workdir, args))
#res = commands.getoutput('TMPDIR=%s /usr/lib/anaconda-runtime/buildinstall %s' % (self.workdir, args))
# TMPDIR is broken in buildinstall + friends right now
res = commands.getoutput('/usr/lib/anaconda-runtime/buildinstall %s' % args)
log.info("Result from buildinstall %s: %s" % (args, res))
self.writeinfo('tree: %s' % self.mkrelative(self.topdir))