Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add docs for how to build a new image #17

Open
decentral1se opened this issue Jan 19, 2020 · 4 comments
Open

Add docs for how to build a new image #17

decentral1se opened this issue Jan 19, 2020 · 4 comments

Comments

@decentral1se
Copy link

Seen from https://github.com/Tenrec-Builders/pi-scan/blob/master/make/README.md, we know that there is a build process to produce a new image but it is not clear how to do that process immediately. I remember messing with debian packaging and chroots before and ending up with getting into difficulty for some $reason on my host computer with mounts. I'd really appreciate some instructions for producing a new pi-scan image.

@duerig
Copy link
Contributor

duerig commented Jan 31, 2020 via email

@abevoelker
Copy link

I started working on this here: https://github.com/abevoelker/pi-gen

I got pretty far, however currently Pi Scan is failing to start due to this error:

lupa._lupa.LuaError: [string "<python>"]:2: module 'chdkptp' not found:

It seems to be an issue reported with chdkptp.py:

However I'm not sure how to resolve it at the moment. python --version is 2.7.18 so it shouldn't be a Python 3 issue (I think).

@abevoelker
Copy link

Okay I got past that error. Very weird but apparently pip install wasn't running chdkptp.py's setup.py instructions to build chdkptp.so, so it couldn't be found. I switched to python setup.py install and it works and Pi Scan is booting up now. Haven't tested actually scanning anything yet though

@geneb
Copy link

geneb commented Oct 11, 2022 via email

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

No branches or pull requests

4 participants