Wladimir J. van der Laan
5785dfc3ae
Un-hardcode host/guest IP
...
I was running into trouble using gitian LXC INSIDE a VirtualBox VM, because
the 10.0.2.x IP range overlaps with the range that VirtualBox uses for
its internal NAT network.
This commit makes it possible to override the host and guest IP that
is used during LXC image creation and the build, using environment variables:
- `GITIAN_HOST_IP` (default=10.0.2.2, host IP from the viewpoint of the
VM, can be used for both LXC and KVM)
- `LXC_GUEST_IP` (default=10.0.2.5, guest IP from the viewpoint of the
host, effective for LXC only)
When these are not defined the behavior remains the same as before.
8 years ago
Dev Random
c9e62adc21
Merge pull request #50 from simondlr/increase_time
...
Increase time for checking if a target has started.
8 years ago
Dev Random
f0ec85e788
Merge pull request #51 from laanwj/master
...
Make it possible to override source URL
8 years ago
Wladimir J. van der Laan
534248d236
Make it possible to override source URL
...
To make test builds it can be useful to point gitian at an
alternative repository.
This commit makes this possible by adding a `--url PAIRS` command line
option, that allows to optionally specify where to fetch the code, for
example:
gbuild --url bitcoin=https://github.com/laanwj/bitcoin.git --commit bitcoin=2014_03_...
8 years ago
Simon de la Rouviere
d8d01f7bad
Increase time for checking if a target has started.
9 years ago
Dev Random
69de033bf4
Merge pull request #46 from tlrobinson/master
...
Add VirtualBox support to make-base-vm via Vagrant
9 years ago
devrandom
af10dad1fd
Fix sanity checking in README
9 years ago
Tom Robinson
a6fdc28839
Add VirtualBox support to make-base-vm via Vagrant
9 years ago
devrandom
ac4f77bcd1
Initialize umask to a known value (002)
9 years ago
Dev Random
bdcbce6a0d
Merge pull request #37 from TheBlueMatt/master
...
Fix bug + increase disk size
9 years ago
Matt Corallo
4e8ea08ee3
Fix gitian_updater checksum matching.
9 years ago
Matt Corallo
95e09ae608
Increase disk size for things like Firefox that need it.
9 years ago
devrandom
54f74f9c23
qemu-utils are required
9 years ago
devrandom
79c1217cb1
make passing env vars work across guest OS suites
9 years ago
devrandom
6919e04de1
use sudo even for root lxc so that path is set
9 years ago
devrandom
f7148de91b
try again
9 years ago
devrandom
c47e51af72
second try
9 years ago
devrandom
af52ebf6cb
use shell for lxc-start exec
9 years ago
devrandom
054a72167c
update README some more
9 years ago
devrandom
84796af6ac
make README.md Sanity Test section work as written
9 years ago
Dev Random
47ec544d6a
Merge pull request #42 from mmlb/patch-1
...
Update the README.md file to work better with github.
9 years ago
Manuel Mendez
acc07d281b
Update the README.md file to work better with github.
9 years ago
devrandom
6b0117e623
Complete license
9 years ago
devrandom
84fe4405c0
License file
9 years ago
Dev Random
6a76dccf97
Merge pull request #41 from arlolra/probably
...
Don't warn in if LXC.
9 years ago
Arlo Breault
d9cc3d14b9
Don't warn in if LXC.
9 years ago
Dev Random
4295ee2b47
Merge pull request #40 from wtogami/ontargetuserfix
...
Fix --user in --help to display how the command actually works
9 years ago
Warren Togami
e51dbdc9e3
Fix --user in --help to display how the command actually works
9 years ago
Dev Random
3c6379e89e
Merge pull request #38 from laanwj/master
...
Increase ssh timeout to 30 seconds
9 years ago
Wladimir J. van der Laan
cdb3bb4d43
Increase ssh connection timeout to 30 seconds
...
The previous 5-second timeout causes random errors during compilation
here, increasing it to 30 seconds solves this problem.
9 years ago
Dev Random
5512bb3cec
Merge pull request #35 from luke-jr/no_recommends
...
Don't install package recommends implicitly
9 years ago
Dev Random
41c3545e3b
Merge pull request #34 from luke-jr/bugfix_noninteractive
...
Bugfix: Use noninteractive frontend for apt-get
9 years ago
Dev Random
6134fe03b9
Merge pull request #33 from luke-jr/bugfix_update_head_ok
...
Bugfix: Pass --update-head-ok to git fetch to avoid problems overwriting checked out branch
9 years ago
Luke Dashjr
f43ff49fa7
Don't install package recommends implicitly (require yml to specify them)
9 years ago
Luke Dashjr
ffe46ca40b
Bugfix: Use noninteractive frontend for apt-get
9 years ago
Luke Dashjr
46b75df3d3
Bugfix: Pass --update-head-ok to git fetch to avoid problems overwriting checked out branch
9 years ago
Dev Random
2e9ffa0f54
Merge pull request #32 from sipa/enablekvm
...
Perhaps also actually enable KVM...
9 years ago
Pieter Wuille
9a198b32a7
Perhaps also actually enable KVM...
9 years ago
Dev Random
67c24197d2
Merge pull request #31 from sipa/qemusystem
...
Use qemu-system- instead of kvm -m
9 years ago
Pieter Wuille
b7b24bd401
Use qemu-system- instead of kvm -m
...
As kvm -m doesn't work in Ubuntu 13.04 anymore.
9 years ago
Dev Random
1f8299b9a0
Merge pull request #28 from luke-jr/custom_kvm
...
Allow environment-configurable KVM binary name
9 years ago
Dev Random
7e846db55e
Merge pull request #29 from luke-jr/bugfix_changing_remote_uri
...
Bugfix: git fetch directly from the remote URL, rather than only setting a default the first time
9 years ago
Dev Random
72e4410d33
Merge pull request #30 from luke-jr/gentoo
...
Update README to include Gentoo instructions as well
9 years ago
Luke Dashjr
fa1de4aca0
Update README to include Gentoo instructions as well
9 years ago
Luke Dashjr
9512784622
Bugfix: git fetch directly from the remote URL, rather than only setting a default the first time
...
- Fixes problem where the gitian URL varies for different branches of the same repository
- Explicitly fetching tags using + allows repository to overwrite existing tags (changed tag)
- Fetching branch heads to local heads correctly makes branch names available for commit option
- Fetching both branches and tags at the same time optimizes things slightly
9 years ago
Luke Dashjr
54aeb2df27
Allow environment-configurable KVM binary name
9 years ago
Dev Random
11d8efec50
Merge pull request #27 from gavinandresen/virtualbox
...
Virtualbox support
10 years ago
Gavin Andresen
8d937f553b
VirtualBox support
10 years ago
devrandom
f0c9e68fed
Do not hardcode suite in bootstrap fixup
10 years ago
devrandom
5746af15e0
setarch on guest for LXC
...
Some packages use uname -m, which is not set to i386 on LXC on a 64 bit
host.
fixes #24
10 years ago