Feature #8431

Get check-mirrors able to download in tmpfs

Added by bertagaz 2014-12-13 16:11:48 . Updated 2014-12-13 16:52:22 .

Status:
Duplicate
Priority:
Normal
Assignee:
Category:
Target version:
Start date:
2014-12-13
Due date:
% Done:

0%

Feature Branch:
Type of work:
Code
Blueprint:

Starter:
0
Affected tool:
Deliverable for:

Description

When running on lizard, check_mirrors.rb does some I/O we could and should easily avoid by downloading the iso images in a tmpfs.

For that, we can hack around in puppet, but the easiest and most standard way would be that check_mirrors.rb sets TMPDIR to ENV[‘TMPDIR’] if the last one is set, rather than only assuming doing all its work in PWD.

But then, that would mean also adapt the —keep option so that it copies the downloads where they belong.


Subtasks


Related issues

Is duplicate of Tails - Feature #8426: Have check-mirrors download to TMPDIR instead of PWD Resolved 2014-12-12

History

#1 Updated by bertagaz 2014-12-13 16:13:06

  • Assignee set to sajolida

Being bold and assigning to sajolida, as the main author, and as I’m not running this code myself.

#2 Updated by bertagaz 2014-12-13 16:44:51

  • Category deleted (214)
  • Status changed from New to Rejected
  • Assignee deleted (sajolida)

That’s a duplicate, sorry.

#3 Updated by intrigeri 2014-12-13 16:51:45

  • is duplicate of Feature #8426: Have check-mirrors download to TMPDIR instead of PWD added

#4 Updated by intrigeri 2014-12-13 16:51:57

  • Status changed from Rejected to Duplicate

#5 Updated by intrigeri 2014-12-13 16:52:22

bertagaz wrote:
> Being bold and assigning to sajolida, as the main author, and as I’m not running this code myself.

FYI, you are: we’re running it on our infrastructure :)