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

Possible solution to the hard-coded issues #19

Open
stephenyeargin opened this issue Jul 24, 2015 · 0 comments
Open

Possible solution to the hard-coded issues #19

stephenyeargin opened this issue Jul 24, 2015 · 0 comments

Comments

@stephenyeargin
Copy link
Member

The display configs are also hard-coded

https://github.com/websages/raspi/blob/master/sd_build/post_dd_config#L16-L41

I'm starting to think the best approach may be coming up with a template distribution of these files (where the final version is .gitignored) so it looks like:

- [screens]
-- [default]
--- README.md (says to copy the default folder to create a new deployment)
--- display.txt
--- wifi.txt
-- [some-screen-slug-1]
--- display.txt
--- wifi.txt
-- [some-screen-slug-2]
--- display.txt
--- wifi.txt

And then the mkraspi command could take two arguments (third is optional)

$ ./mkraspi
Usage: mkraspi <ip address> <screen-slug> [<ssh key path>]
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

1 participant