Commit Graph

34 Commits (543e0d506123f6c92614bfcab28cf79735ad0cd3)

Author SHA1 Message Date
Kevin Gallagher 543e0d5061 Check existence of lxc-init before cp to init.lxc 8 years ago
Nicolas Vigier ad0a871e07 make-base-vm: fix init.lxc path 8 years ago
Joseph Bisch e3c2e8d3da Add support for Debian guests using LXC 8 years ago
Joseph Bisch ddd3aed172 Switch to xenial for default suite
It can be confusing to new users for make-base-vm to create a lucid vm
by default, so switch to xenial, which is also a LTS release, but isn't
EOL yet. Using lucid with gitian-builder is broken anyway, because
lucid has been moved to old-releases.ubuntu.com since it is EOL and
gitian-builder doesn't support old-releases.ubuntu.com.
8 years ago
Tigusoft Admin 0db6c05200
Allow custom DEBOOTSTRAP_DIR, to give own template (v3)
So you can make local copy of /usr/share/debootstrap/ and
e.g. add there missing e.g. "xenial" or other script/template,
without mucking around in system directory managed by
package manager.
8 years ago
MarcoFalke 7e4b665acb Replace deprecated dsa with rsa 9 years ago
Joseph Bisch 23ccc3d1dd Use grub package instead of grub-pc unless distro is ubuntu
According to the Debian wiki, installing the package grub installs the
correct version of grub for your suite automatically. This fixes a "you
have held broken packages" error when creating the package manifest due
to a conflict between grub-pc and grub-legacy (at least with Wheezy).
9 years ago
Joseph Bisch 1aad9f4079 Expand on apt issue/workaround and correct affected Debian suites 9 years ago
Joseph Bisch 5b7c52b231 Swap Debian i386 flavour checks
Check for older suites with 686 flavour before checking for 686-pae
flavour suites, because the former should never change, but the latter
would have to be changed whenever a new suite was released if it wasn't
the last if statement.
9 years ago
Joseph Bisch 4f69707c4d Fix issue with apt in Debian <= Squeeze 9 years ago
Joseph Bisch fe1abd1153 Fix flavour for i386 arch
Wheezy on up has linux-image-686-pae. Squeeze on down has
linux-image-686.
9 years ago
Joseph Bisch 8b297cbcdf Initial Debian guest support 9 years ago
Joseph Bisch dbf04f4ece Use lsb_release to get codename rather than /etc/lsb-release
It seems like a lsb_release program should be available on any distro if
the appropriate package is installed. So it seems better to use
lsb_release instead of /etc/lsb-release, because Debian doesn't appear
to have /etc/lsb-release.
9 years ago
Daniel Morante aac596e346 Missing wget
The build process for [Bitcoin](https://github.com/bitcoin/bitcoin/blob/master/doc/gitian-building.md) was failing with the following error

```
./bin/gbuild:21:in `system!': failed to run on-target setarch x86_64 bash -x < var/build-script > var/build.log 2>&1 (RuntimeError)
        from ./bin/gbuild:137:in `build_one_configuration'
        from ./bin/gbuild:267:in `block (2 levels) in <main>'
        from ./bin/gbuild:262:in `each'
        from ./bin/gbuild:262:in `block in <main>'
        from ./bin/gbuild:260:in `each'
        from ./bin/gbuild:260:in `<main>'
```

Inside the log file `var/build.log` the entries towards the end show

```
/bin/sh: 1: wget: not found
```
9 years ago
Devrandom ec56a82d4b full path to mkfs.ext4 9 years ago
Devrandom 1ae746f68f LXC cleanup 9 years ago
Devrandom af56f89a6a improved LXC support
fixes #86
9 years ago
Dev Random b4201676d8 fix trusty kernel install 9 years ago
Christopher Gurnee 63fe5d1de2 Fix issue #63: use lxc-execute instead of lxc-start 10 years ago
Giuseppe Mazzotta 25db707b34 Use a clean environment when building VMs 10 years ago
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.
10 years ago
Tom Robinson a6fdc28839 Add VirtualBox support to make-base-vm via Vagrant 10 years ago
Matt Corallo 95e09ae608 Increase disk size for things like Firefox that need it. 11 years ago
devrandom e82c0b4760 Work around cron issue during make-base-vm 12 years ago
devrandom f9d155c3ac Fix loop device detection 12 years ago
devrandom 0bc83c5f44 Use image file for lxc 12 years ago
devrandom 28bb421156 First pass lxc support 12 years ago
Matt Corallo 73d8868c8a Use server kernel for Hardy amd64.
Hardy (and probably others) doesnt have a linux-image-virtual for
amd64, thus we use the server kernel.
13 years ago
devrandom 6b46963acf properly handle the local host by using IP addresses 13 years ago
devrandom a344ed9dac Make guest default to 10.0.2.2 as the apt mirror, fix skip_image vs quiet flags 13 years ago
devrandom d765459667 security mirror, command line commit specification 14 years ago
devrandom 928a5f0880 multi-architecture builds 14 years ago
devrandom 85809700da use apt cacher, minor cleanup 14 years ago
devrandom 4db2a9dfa0 initial 14 years ago