This application is intended to create Bitmask standalone bundles. This should eventually become the main tool in order to create reproducible builds.
- Two virtual machines:
- Debian 7.1 32bits - for the 32bits bundle
- Debian 7.1 64bits - for the 64bits bundle
- two scripts in this repository,
- an internet connection,
- approximately 1.3Gb of disk space,
- (optional) configure
sudo
for your non-root user, - patience.
The script uses sudo
which is installed by default on Debian, but you need to
configure your non-root user to be able to use sudo
.
Edit the /etc/sudoers
file and add this line at the bottom:
leap ALL=NOPASSWD: ALL
HEADS UP: That line allows the user 'leap' to use sudo
without being asked
for a password, that makes the script easier to use but it would be a security
problem. If you use this script in a VM and only for bundling purposes then it
shouldn't be a problem.
You need to copy the scripts createbundle.sh
and copy-binaries.sh
to a VM
and run ./createbundle.sh
, after that it should be all automagically
processed.
You can start the script with the parameter nightly
to build a bundle from
the latest develop
code, otherwise it will bundle from the latest tag.
The resulting bundle will be saved in:
/home/leap/bitmask.bundle/bundle.output/
under some name like
Bitmask-linux64-2014-09-24-9b3b7f6f.tar.bz2
in case of bundling a nightly
release, or Bitmask-linux64-0.7.0.tar.bz2
in case of a normal release.