Skip to content
This repository has been archived by the owner on Jan 17, 2020. It is now read-only.

Have lcrs_embedded installed in Buildroot #1

Open
benjaoming opened this issue Mar 14, 2017 · 1 comment
Open

Have lcrs_embedded installed in Buildroot #1

benjaoming opened this issue Mar 14, 2017 · 1 comment

Comments

@benjaoming
Copy link
Member

benjaoming commented Mar 14, 2017

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 benjaoming self-assigned this Mar 14, 2017
@benjaoming benjaoming removed their assignment May 17, 2017
@benjaoming
Copy link
Member Author

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)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant