Project

General

Profile

Bug #17287

ENOMEM when importing tor browser with git-annex

Added by CyrilBrulebois 4 months ago. Updated 4 months ago.

Status:
Needs Validation
Priority:
Normal
Category:
Build system
Target version:
-
Start date:
Due date:
% Done:

0%

Feature Branch:
Type of work:
Contributors documentation
Blueprint:
Starter:
Affected tool:

Description

It would be nice to improve commands from https://tails.boum.org/contribute/release_process/tor-browser/

Move the tarballs into your local Git annex:

 cd "$TBB_ARCHIVE" && \
 mkdir "$TBB_VERSION" && cd "$TBB_VERSION" && \
 git annex import --duplicate "$DL_DIR/"* "$TAILS_GIT_REPO/"sha256sums-*

I couldn't get it to finish with my 16GB system, which starts swapping until swap space runs out and git-annex gets killed by the OOMK. That happened reproducibly.

Turns out some variables were unset, which I cannot explain since memory pressure seems to have triggered graphic corruption that makes it impossible to double check earlier output in that particular terminal.

Whatever the reasons, it would be nice to have the usual ?: syntax to make sure not to run any commands that would work on the entire root filesystem…

Associated revisions

Revision e9bd2c0f (diff)
Added by intrigeri 4 months ago

Tor Browser import doc: make instructions more robust (refs: #17287)

I.e. avoid misbehaving when some of the required environment variables
are not set.

History

#1 Updated by intrigeri 4 months ago

  • Status changed from Confirmed to In Progress

#2 Updated by intrigeri 4 months ago

  • Status changed from In Progress to Needs Validation
  • Assignee set to CyrilBrulebois

Also available in: Atom PDF