How to reproducibly build Monero in Split Linux (torified)

cross-posted from: zoo.splitlinux.org/post/5266

Posting here, for Void users looking to produce their own verifiable Monero build:

This is a script I made to assist in reproducibly building the Monero binaries on Split Linux, the distribution that splits your various identities into separate TTY’s.

The logic creates a containerized vanilla Ubuntu install where it then executes the Gitian-Docker build variant.

An upcoming Split Linux version will ship the script, but I thought I’d do a little pre-release so you may build the recently released Monero v0.18.3.2.

Usage

While logged in as root to any TTY, ideally in a tmux window, run


<span style="color:#323232;">OS=l ./monero-gitian.sh  [container_name]
</span>
  • OS can be any lower-case initial of “Linux”, “Android”, “FreeBSD”, “Windows” or “MacOS”. Set OS=lafwm to build all (required for sharing your results via the official channel).
  • Github username is used for correctly naming directories in case in intend to publish your checksums later on.
  • Optional container name can be freely chosen, as long it doesn’t clash with an existing one (defaults to gitian-TIMESTAMP).

At the password prompts, simply provide a matching one each time.

The resulting binaries can be used as-is as long as you are on a supported platform and using glibc.


To learn how to sign and publish your results, refer to Monero’s Gitian documentation.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • voidlinux@lemmy.ml
  • GTA5RPClips
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • tacticalgear
  • cubers
  • Youngstown
  • mdbf
  • slotface
  • rosin
  • osvaldo12
  • ngwrru68w68
  • kavyap
  • InstantRegret
  • JUstTest
  • everett
  • Durango
  • cisconetworking
  • khanakhh
  • ethstaker
  • tester
  • anitta
  • Leos
  • normalnudes
  • modclub
  • megavids
  • provamag3
  • lostlight
  • All magazines