Commit Graph

19 Commits (master)

Author SHA1 Message Date
Joseph Bisch e3c2e8d3da Add support for Debian guests using LXC 8 years ago
Joseph Bisch c0c8392d49 Purge grub-legacy and bcron-run to work around Debian guest issue 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
Devrandom 7219c490cc make bootstrap-fixup idempotent 9 years ago
Devrandom 1ae746f68f LXC cleanup 9 years ago
Devrandom f4b72bbec4 hold packages for lucid 9 years ago
Devrandom af56f89a6a improved LXC support
fixes #86
9 years ago
Christopher Gurnee 04ab7c1218 prevent upgrade of grub-pc which can fail in lxc
fixes #86
9 years ago
Devrandom 81bf5d7025 ensure guest upgrade occurs before attempting to get manifest
fixes #85
9 years ago
Devrandom 7d1e7c5419 trusty fixes, remove legacy grub
fixes #84
9 years ago
Cory Fields ea24af1043 Add common cache and per-build cache
Allow each builder to cache some files for re-use in the next build. This
allows for poor-man's dependency chaining.

Additionally, add a common cache pool for all builds. This can be used for
saving (for example) downloaded files to be shared between builds.
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
devrandom f0c9e68fed Do not hardcode suite in bootstrap fixup 12 years ago
devrandom 0bc83c5f44 Use image file for lxc 12 years ago
devrandom 28bb421156 First pass lxc support 12 years ago
devrandom 6b46963acf properly handle the local host by using IP addresses 13 years ago
devrandom 928a5f0880 multi-architecture builds 13 years ago
devrandom 4db2a9dfa0 initial 13 years ago