Leosac  0.7.0
OpenSourceAccessControl
guide_full_cc

Full guide to cc from scratch.

On a fresh debian Stretch machine:

Install docker. https://docs.docker.com/install/linux/docker-ce/debian/

apt-get install git python3 python3-virtualenv python3-pip virtualenv

Download leosac. git clone git@g.nosp@m.ithu.nosp@m.b.com:leosac/leosac.git cd leosac; git submodule init; git submodule update;

Clone the "bin resource". Its package source code of library

git clone https://github.com/leosac/bin-resources

Move the "cross-compile-resources" into root leosac directory.

mv bin-resources/cross-compile-resources .

Copy rpi.cmake toolchain file.

cp cmake/rpi.cmake /cross-compile-resources .

Install leosaccli

#Create python3 virtualenv. virtualenv -p which python3 /path/to/venv

#Activate venv source /path/to/venv/bin/activate

cd python pip install -e .

Build the cross-compile container.

leosaccli dev docker build cross_compile leosaccli dev cc make -j16 leosaccli dev cc fakeroot-package leosaccli dev cc package