Community mailing list archives

community@mail.odoo.com

New readonly posbox images

by
Antony Lesuisse (al)
- 08/19/2015 11:39:37
We published a new image for the posbox. It now uses a script to automate the 
creation of an image, it means that anyone can rebuilt the image himself 
(previous images where done manually).

https://github.com/odoo/odoo/tree/8.0/addons/point_of_sale/tools/posbox

The script takes a default raspbian image and tweak it to remove useless 
packages and configure a minimal version of odoo with the hw_ modules.

The new image works in readonly mode (it never mount -o remount,rw / instead 
we create a tmpfs for /var /etc and /tmp). SD cards were failing after months 
of use, because of the constant writing of logs and tmp files. This problem 
should be solved now.

The image is also much smaller around 500Mb (compared to 2000Mb before). We 
tested it and it seems to work correctly but i would welcome more feedback.

The image can be downloaded from here (it's the v13):

http://nightly.odoo.com/master/posbox/