#2547 builder: mergerepo uses workdir as tmpdir
Merged 2 years ago by tkopecek. Opened 2 years ago by tkopecek.
tkopecek/koji issue2546  into  master

file modified
+3 -1
@@ -5594,7 +5594,9 @@ 

  

          # run command

          logfile = '%s/mergerepos.log' % self.workdir

-         status = log_output(self.session, cmd[0], cmd, logfile, self.getUploadDir(), logerror=True)

+         env = {'TMPDIR': self.workdir}

+         status = log_output(self.session, cmd[0], cmd, logfile, self.getUploadDir(),

+                             logerror=True, env=env)

          if not isSuccess(status):

              raise koji.GenericError('failed to merge repos: %s'

                                      % parseStatus(status, ' '.join(cmd)))

Metadata Update from @tkopecek:
- Pull-request tagged with: testing-ready

2 years ago

Commit e4f607f fixes this pull-request

Pull-Request has been merged by tkopecek

2 years ago

Metadata Update from @jcupova:
- Pull-request tagged with: testing-done

2 years ago
Metadata