From 8c4c4394730bf77d44f831ca97d565bc2fb14e47 Mon Sep 17 00:00:00 2001 From: Christophe Monniez Date: Fri, 27 Sep 2019 10:01:58 +0000 Subject: [REF] packaging: use docker to build packages Actually, docker is used to test Linux packages once they are built. The packaging process is done on the host system where package.py is run. Consequences: * difficult to reproduce an exact same build on another host * changing a Debian/Ubuntu target version means some upgrade steps on the build host (mix that with the fact that the host also could build old Odoo versions) * Fedora rpm package is built on an Ubuntu system (which is not a real problem but it could be) With this commit, the package.py utility is refactored to use Docker containers to build the Gnu/Linux packages. Also, the Debian package is adapted for Debian Buster, the RPM package is built based on Fedora 30. Some minor changes are also made in the windows packaging system. closes odoo/odoo#37766 Signed-off-by: Christophe Monniez (moc) --- setup.cfg | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'setup.cfg') diff --git a/setup.cfg b/setup.cfg index 5b0fa922022..ffccdc094ac 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,3 +1,6 @@ +[install] +optimize=1 + [bdist_rpm] no-autoreq = yes install-script = setup/redhat/install.sh @@ -48,3 +51,4 @@ requires = python3-werkzeug python3-xlwt python3-xlrd + -- cgit v1.2.3