Statistics
| Branch: | Tag: | Revision:

root / devel / build_chroot @ 31d3b918

History | View | Annotate | Download (8.6 kB)

# Date Author Comment
918512c0 01/27/2014 10:50 am Jose A. Lopes

Fix chroot for sid to include the development tools

Signed-off-by: Jose A. Lopes <>
Reviewed-by: Klaus Aehlig <>

f3ac6f36 12/19/2013 01:59 pm Klaus Aehlig

Merge branch 'stable-2.10' into master

  • stable-2.10
    Version bump for 2.10.0~rc1
    Update NEWS for 2.10.0 rc1 release
    Fix pylint 0.26.0/Python 2.7 warning
    Update INSTALL and devnotes for 2.10 release
  • stable-2.9
    Bump revision for 2.9.2
    Update NEWS for 2.9.2 release...
c486fb6c 12/16/2013 12:37 pm Thomas Thrainer

Merge branch 'stable-2.9' into stable-2.10

  • stable-2.9
    Bump revision for 2.9.2
    Update NEWS for 2.9.2 release
    Pass hvparams to GetInstanceInfo
    Adapt parameters that moved to instance variables
    Avoid lines longer than 80 chars
    SingleNotifyPipeCondition: don't share pollers...
affe1792 12/11/2013 07:43 pm Klaus Aehlig

Merge branch 'stable-2.8' into stable-2.9

  • stable-2.8
    Version bump for 2.8.3
    Update NEWS for 2.8.3 release
    Support reseting arbitrary params of ext disks
    Allow modification of arbitrary params for ext
    Do not clear disk.params in UpgradeConfig()...
b4e8599b 11/28/2013 04:45 pm Petr Pudlak

build_chroot: hard-code the version of blaze-builder

The newest version does not build on Debian squeeze, so avoid
it being pulled in as a dependency.

This is the same issue that has been fixed in [1e078ef3] on master.

Signed-off-by: Petr Pudlak <>...

ee2a6b3f 11/27/2013 03:43 pm Santi Raffa

build_chroot: install pyinotify inside the chroot

Commit 0e3f65d2 erroneously installed pyinotify on the host system.
This commit fixes that and adds a comment on why we have to install
this dependency separately in the first place.

Signed-off-by: Santi Raffa <>...

dd3f81ab 11/26/2013 07:12 pm Klaus Aehlig

build_chroot: for wheezy install base64-bytestring via cabal

The version packaged in debian wheezy is less than the minimally
required version 1.0.0.0.

Signed-off-by: Klaus Aehlig <>
Reviewed-by: Helga Velroyen <>

7afed8fe 11/26/2013 03:31 pm Klaus Aehlig

Add zlib and base64-bytestring as haskell dependencies

With luxid taking over more and more job management, replicating job
files should use the compressed option, as is currently done by masterd.
This requires gzip compression and base64 encoding available in haskell...

dabaa0b0 11/26/2013 02:02 pm Petr Pudlak

build_chroot: Add packages for JSON patching (used in QA)

These (optional) packages allow patching QA JSON configuration file (see
[e5398c3a]). While it's meant to be used on Buildbot, it can be useful
to have it installed locally too, for example for testing patches in a...

1e078ef3 11/22/2013 05:42 pm Klaus Aehlig

build_chroot: hard-code the version of blaze-builder

The newest version does not build on debian squeeze, so avoid
it beeing pulled in as a dependency.

Signed-off-by: Klaus Aehlig <>
Reviewed-by: Jose Lopes <>

0e3f65d2 10/16/2013 05:12 pm Santi Raffa

Fix indentation of devel/build_chroot

This commit is separated from the previous one for reviewing
convenience. If git-blame points to this revision as the culprit of
your problem, you probably have to go deeper.

Signed-off-by: Santi Raffa <>...

ed2c3597 10/16/2013 05:11 pm Santi Raffa

Support wheezy schroots

Add support for wheezy in build_chroot.

  • Run squeeze-specific install logic only when building squeeze * Collapse consecutive apt-get commands
  • Add wheezy-specific install logic * Ask for python-pyinotify 0.9.4 to avoid py-apidoc failures...
42e85303 09/25/2013 04:49 pm Klaus Aehlig

Merge branch 'stable-2.9' into master

  • stable-2.9
    Including missing RST files in packaging
    Update supported lint tools version numbers
    Fix some wrong indentations in the code
    Disable parenthesis indentation check
    Fix an improperly escaped string...
ab6536ba 09/25/2013 12:07 pm Michele Tartara

Update supported lint tools version numbers

Linting is now verified against the lint tools version numbers as listed in this
patch.

These version are corresponding to the ones that can be found in the
repositories of Ubuntu 13.04.

Signed-off-by: Michele Tartara <>...

0c5f1b13 09/12/2013 03:23 pm Thomas Thrainer

Merge branch 'stable-2.9' into master

  • stable-2.9
    Fix bridging in net-common
    Sync build_chroot with buildbot slack role
    Auto-upgrade of disks' config wrt LD-renaming
    Fix tests regarding DISK_LD_DEFAULTS
    Fixing renaming of DISK_LD_DEFAULTS
    Replace LD_* constants with DT_* constants...
e2bbdded 08/30/2013 04:41 pm Michele Tartara

Sync build_chroot with buildbot slack role

Keep the build_chroot script as similar as possible to the buildbot's slack role
for squeeze.

Signed-off-by: Michele Tartara <>
Reviewed-by: Klaus Aehlig <>

71a3ad07 08/20/2013 01:54 pm Helga Velroyen

Set pcre version to 0.94.4

Running 'make' in the chroot complains about pcre 0.94.4
being required.

Signed-off-by: Helga Velroyen <>
Reviewed-by: Michele Tartara <>

3d85d4bf 08/09/2013 02:08 pm Sebastian Gebhard

Remove duplicate argument from cabal install

network==2.3 is duplicate in cabal install. One occurrence can thus be removed.

Signed-off-by: Sebastian Gebhard <>
Reviewed-by: Guido Trotter <>

72a7f6b3 08/07/2013 06:48 pm Thomas Thrainer

Install python mock using easy_install in chroot

We require a newer mock library, so install it using easy_install in
chroot.

Signed-off-by: Thomas Thrainer <>
Reviewed-by: Michele Tartara <>

804d72eb 08/07/2013 05:41 pm Thomas Thrainer

Merge branch 'stable-2.8' into stable-2.9

  • stable-2.8
    Fix batch creation of instances
    Fix documentation of gnt-instance batch-create
    Support multi instance allocs without iallocator
    Support DSA SSH keys in bootstrap
    Include VCS version in `gnt-cluster version`...
3b308f47 07/31/2013 10:03 am Michele Tartara

Make build_chroot compatible with Squeeze

Modify build_chroot to make it compatible with debian Squeeze. This
is done by using a function instead of a alias for the command that
was failing.

Fixes Issue 507.

Signed-off-by: Michele Tartara <>...

c832f7e9 07/16/2013 10:29 am Klaus Aehlig

Merge branch 'stable-2.8' into master

  • stable-2.8
    Change method dispatch in ClientOps to enforce luxi.REQ_ALL
    Allow modify_etc_hosts to be changed
    Add --modify-etc-hosts option for CLI tools
    Add luxiReqQueryNetworks to LuxiOp
    Log received message at debug level...
c4101ab5 07/10/2013 05:14 pm Michele Tartara

Add git send-email to the chroot

"git send-email" is used as part of the official workflow but it was not
installed in the chroot.

This patch adds it.

Signed-off-by: Michele Tartara <>
Reviewed-by: Klaus Aehlig <>

2bc994ce 07/08/2013 12:45 pm Michele Tartara

Fix apt-get invocation in chroot_builder

Use the macro containing all the required parameters, instead of just using
"apt-get install".

Signed-off-by: Michele Tartara <>
Reviewed-by: Klaus Aehlig <>

6676f007 06/28/2013 06:34 pm Klaus Aehlig

Allow customization of the chroot

As different users have different needs about the chroot, allow
customization in its build script. This is achieved as follows.
- The environment variable EXTRA_DEBIAN_PACKAGES is honored,
and the packages named there are additionally installed in...

f5263f86 06/28/2013 06:34 pm Klaus Aehlig

build_chroot: fix duplicate install

In the last change to the chroot build script, the
apt-get command 'install' was moved to the APT_INSTALL
macro; however, it was forgotten to remove it outside
the macro, causing an error, as there is no package
with name 'install'....

43ffd839 06/28/2013 04:00 pm Klaus Aehlig

build_chroot: use APT_INSTALL macro for packet installation

In this way, it is easier to change all the apt calls in the chroot.
In particular, this patch fixes the missing -y option for the installation
of the tools needed to build debian packages.

Signed-off-by: Klaus Aehlig <>...

dad226e3 06/26/2013 12:18 pm Thomas Thrainer

Merge branch 'stable-2.8' into master

  • stable-2.8:
    gnt-cluster info (py): add enabled disk templates
    Version bump to 2.8.0~beta1
    Change version numbers in documentation
    Fix issue with python coverage tests
    Merge branch 'stable-2.7' into stable-2.8...
9839902a 06/20/2013 04:23 pm Michele Tartara

Add tools for building deb packages to build_chroot

The chroot only had tools for building and testing Ganeti, but not for
building its Debian packages. They are added by this commit.

Signed-off-by: Michele Tartara <>
Reviewed-by: Klaus Aehlig <>

3be0f700 06/20/2013 03:27 pm Michele Tartara

Improve the final message of build_chroot

Give more precise instructions on the next steps to actually run the
chroot.

Signed-off-by: Michele Tartara <>
Reviewed-by: Klaus Aehlig <>

d1068153 06/20/2013 03:27 pm Michele Tartara

Make build_chroot self-contained

The configuration file are included in build_chroot, and are
automatically created by the script if it is not able to find them
already in the directory pointed by $DATA_DIR.

Note that the configuration file directory is cleaned if it's temporary,...

1bb99a33 05/17/2013 05:42 pm Bernardo Dal Seno

Merge branch 'stable-2.8' into master

  • stable-2.8: (45 commits)
    Update NEWS with disk creation fixes
    Sort cmdlib-related entries in Makefile.am
    cmdlib: Cleanup public/private functions
    cmdlib: Extract instance query related functionality
    cmdlib: Extract instance operation functionality...
74685117 05/13/2013 04:20 pm Michele Tartara

Add dependency on the process library

The tests are already using this library, so it's not really a new build
dependency, but it was not specified esplicitly.

Furthermore, it's going to be used by the instance status collector, so it's
added to the requirements for the monitoring subsystem....

87414481 05/10/2013 06:50 pm Michele Tartara

Allow build_chroot to work from any directory

build_chroot used to work only if launched from ./devel/, whereas now
it can be launched from anywhere, and it will store the resulting files
in the current directory.

Fixes Issue 459.

Signed-off-by: Michele Tartara <>...

85b66af5 05/10/2013 06:50 pm Michele Tartara

build_chroot: check whether the data dir exists

If the data directory is not in the expected place, the script complains
with an error message and stops, instead of giving obscure messages.

Partially fixes Issue 459.

Signed-off-by: Michele Tartara <>...

71e00202 05/07/2013 04:30 pm Michele Tartara

Add version numbers to chroot build script

Update the script adding explicit version numbers for increased repeatability
of the build environment construction process. Version numbers are aligned
with those used by the external buildbot slack role.

Signed-off-by: Michele Tartara <>...

7a694e30 04/29/2013 07:05 pm Thomas Thrainer

Add dependency on python-mock

Python Mock (http://www.voidspace.org.uk/python/mock/) is a mocking
library for Python. It is included in the standard Python distribution
as of Python 3.3, but has been around for quite a while. Debian unstable
contains a version we require....

4cbf242b 04/11/2013 07:20 pm Michele Tartara

Add "less" to the chroot

Less is not part of the base debian system, so it has to be added
explicitly.

Signed-off-by: Michele Tartara <>
Reviewed-by: Guido Trotter <>

35133aae 04/10/2013 03:08 pm Michele Tartara

Set the default editor inside the chroot

Allows the chroot builder to set the default editor to be used in the
chroot.

Vim is used as the default choice.

Signed-off-by: Michele Tartara <>
Reviewed-by: Helga Velroyen <>

d8e3c5c9 04/10/2013 11:06 am Michele Tartara

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), particularly
vim and git.

Signed-off-by: Michele Tartara <>...

8b3f1f42 04/05/2013 05:10 pm Michele Tartara

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 the
required libraries and tools.

Signed-off-by: Michele Tartara <>...