diff options
| author | Aaron Bohy <aab@odoo.com> | 2015-01-15 11:59:57 +0100 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2015-01-15 15:22:02 +0100 |
| commit | 67959566edc87885ec4b7e31807d48514a7b5944 (patch) | |
| tree | 77f4ad00f86b1a95eac68d16de7a86629dc6f067 /setup/package.py | |
| parent | 7530d2818321ce0e71c79a0edc6bb9abc541816f (diff) | |
[FIX] Packaging: Debian Dockerfile for nightly tests
Remove installation of v8 requirements in package.dfdebian as this
is unnecessary for v7. This fixes a bug occuring during the installation
of openerp (precisely when installing reportlab dependencies), because
reportlab now requires a more recent version of pillow than 2.5.1.
Also use pip instead of /usr/local/bin/pip in test_tgz (package.py)
as pip script isn't installed there anymore.
Diffstat (limited to 'setup/package.py')
| -rwxr-xr-x | setup/package.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/setup/package.py b/setup/package.py index d3d2465beef..779a49902ea 100755 --- a/setup/package.py +++ b/setup/package.py @@ -317,7 +317,7 @@ def test_tgz(o): with docker('openerp-debian-nightly-tests', o.build_dir, o.pub) as wheezy: wheezy.release = 'openerp.tar.gz' wheezy.system("service postgresql start") - wheezy.system('/usr/local/bin/pip install /opt/release/%s' % wheezy.release) + wheezy.system('pip install /opt/release/%s' % wheezy.release) wheezy.system("useradd --system --no-create-home openerp") wheezy.system('su postgres -s /bin/bash -c "createuser -s openerp"') wheezy.system('su postgres -s /bin/bash -c "createdb mycompany"') |
