History | View | Annotate | Download (5.5 kB)
build_chroot: hard-code the version of blaze-builder
The newest version does not build on Debian squeeze, so avoidit being pulled in as a dependency.
This is the same issue that has been fixed in [1e078ef3] on master.
Signed-off-by: Petr Pudlak <pudlak@google.com>...
Make build_chroot compatible with Squeeze
Modify build_chroot to make it compatible with debian Squeeze. Thisis done by using a function instead of a alias for the command thatwas failing.
Fixes Issue 507.
Signed-off-by: Michele Tartara <mtartara@google.com>...
Add git send-email to the chroot
"git send-email" is used as part of the official workflow but it was notinstalled in the chroot.
This patch adds it.
Signed-off-by: Michele Tartara <mtartara@google.com>Reviewed-by: Klaus Aehlig <aehlig@google.com>
Fix apt-get invocation in chroot_builder
Use the macro containing all the required parameters, instead of just using"apt-get install".
Add tools for building deb packages to build_chroot
The chroot only had tools for building and testing Ganeti, but not forbuilding its Debian packages. They are added by this commit.
Improve the final message of build_chroot
Give more precise instructions on the next steps to actually run thechroot.
Make build_chroot self-contained
The configuration file are included in build_chroot, and areautomatically created by the script if it is not able to find themalready in the directory pointed by $DATA_DIR.
Note that the configuration file directory is cleaned if it's temporary,...
Allow build_chroot to work from any directory
build_chroot used to work only if launched from ./devel/, whereas nowit can be launched from anywhere, and it will store the resulting filesin the current directory.
Fixes Issue 459.
build_chroot: check whether the data dir exists
If the data directory is not in the expected place, the script complainswith an error message and stops, instead of giving obscure messages.
Partially fixes Issue 459.
Add version numbers to chroot build script
Update the script adding explicit version numbers for increased repeatabilityof the build environment construction process. Version numbers are alignedwith those used by the external buildbot slack role.
Add "less" to the chroot
Less is not part of the base debian system, so it has to be addedexplicitly.
Signed-off-by: Michele Tartara <mtartara@google.com>Reviewed-by: Guido Trotter <ultrotter@google.com>
Set the default editor inside the chroot
Allows the chroot builder to set the default editor to be used in thechroot.
Vim is used as the default choice.
Signed-off-by: Michele Tartara <mtartara@google.com>Reviewed-by: Helga Velroyen <helgav@google.com>
Add backports to the chroot builder sources
This allows to have newer software than what is available in Debian Squeeze(the default version of the distribution used by the script), particularlyvim and git.
Add script for building chroot
Setting up a proper environment for building a Ganeti can be quite difficult.
This patch adds a script for building a compressed chroot with all therequired libraries and tools.