fairdk / lcrs-embedded

LCRS embedded components - "slave" + embedded linux kernel
https://lcrs.fairdanmark.dk/
GNU General Public License v3.0
1 stars 3 forks source link

Have lcrs_embedded installed in Buildroot #1

Open benjaoming opened 7 years ago

benjaoming commented 7 years ago

In LCRS2, we ran our own script after building the output. It is run before building the actual images.

The script did this: https://github.com/fairdk/lcrs2/blob/master/buildroot/postbuild.sh

Perhaps this is still the best and most flexible option. But it should ideally invoke python setup.py sdist to pack an actual distributed version of lcrs-embedded and then pip install it into a complete virtual environment of the host target with all dependencies?

Another option would be if there's somehow already a recipe for installing custom python packages and dependencies on a target system.

benjaoming commented 7 years ago

I have a feeling that redistributable virtualenvs aren't the way to go, because virtualenv --relocatable <dir> needs to be run inside the target system - and because it's still considered buggy and experimental (see: https://github.com/pypa/virtualenv/issues/11)