Project

General

Profile

Housekeeping #1973

[libremakepkg] Should extract the sourceball into the chroot, instead of a tmpdir

lukeshu - over 5 years ago - . Updated over 4 years ago.

Status:
open
Priority:
feature
Category:
-
Assignee:
-
% Done:

0%


Description

"Theoretically", this would make no difference. But it would really speed things up for huge hg repos, the startdir->srcdir clone takes way longer the way libremakepkg does it now. (for iceweasel it's on the scale of 15 minutes vs 90 minutes)


Related issues

Related to libretools - Feature Request #2403: [libremakepkg]: eradicate mksource() from abslibreinfo needed

Actions

History

#1

Updated by lukeshu over 5 years ago

So, since in order for the sterility of the whole thing to be ensured, it would have to rm -rf the existing startdir anyway. So that doesn't actually give us the hg speedup.

But right now we extract it to $TMPDIR, which could be on any filesystem. I'm not sure that's the right call.

#2

Updated by bill-auger over 4 years ago

iceweasel clones from git again now but this may still be a good idea per the recent discussion in #2403

#3

Updated by bill-auger over 4 years ago

Also available in: Atom PDF