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

epoxy_client should construct URL for epoxy.mrom #38

Open
stephen-soltesz opened this issue Mar 28, 2018 · 0 comments
Open

epoxy_client should construct URL for epoxy.mrom #38

stephen-soltesz opened this issue Mar 28, 2018 · 0 comments

Comments

@stephen-soltesz
Copy link
Contributor

Today, updaterom.sh performs the logic of parsing /proc/cmdline, finding the epoxy.mrom prefix URL, discovering the device model, and building a full URL to download a new mrom image before burning it.

The URL discovery and construction logic should be executed by epoxy_client. And epoxy_client action should be able to specify a URL variable as:

{{kargs `epoxy.mrom_url`}}/{{.vars.device}}/{{.vars.hostname}}.mrom

Then download that image, and pass the local file to a modified updaterom.sh script that accepts a rom file as parameter.

With this support updaterom.sh can be replaced with flashrom.sh.

@stephen-soltesz stephen-soltesz changed the title epoxy_client be able to construct URL to update epoxy.mrom epoxy_client should construct URL to update epoxy.mrom Mar 28, 2018
@stephen-soltesz stephen-soltesz changed the title epoxy_client should construct URL to update epoxy.mrom epoxy_client should construct URL for epoxy.mrom Mar 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants