Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

-1

How to build a complete odoo deb package from git?

By
Martin
on 11/26/14, 6:10 PM 737 views

I cloned git@github.com:odoo/odoo.git and build a .deb by dpkg-buildpackage -rfakeroot, but the package seems to be incomplete. It has only 3.5 MB, while the official nightly deb has 44 MB. What am I missing? Thanks in advance!

0
Ananias Batista Filho
On 10/20/16, 7:44 AM

Hello Martin!

The procedure is hard to found =)


So, let me show start steps:

1 - clone repo into a directory: Eg. /opt/odoo

2 - make sure the odoo is running as expected with all dependencies

3 - Go to /opt/odoo/setup folder

4 - run package.py and system will install some dependencies on your system and build deb and rpm

5 - for more informations, read the package.py file content (https://github.com/odoo/odoo/blob/10.0/setup/package.py) and/or run package.py --help


I hope these single steps can help you!

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 11/26/14, 6:10 PM
Seen: 737 times
Last updated: 10/20/16, 7:44 AM