-
-
Notifications
You must be signed in to change notification settings - Fork 17
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
fix: is_rockpi and is_raspberry_pi should not break outside Balena #69
Comments
@marvinmarnold for the version check, perhaps we could use This gives the following output: ROCK PI 4B |
|
Seems like a reasonable fallback. |
Partially solved by #84 |
* read model information from /proc/device-tree/model in the absense of balena env variable
* read model information from /proc/device-tree/model in the absense of balena env variable
* read model information from /proc/device-tree/model in the absense of balena env variable
* read model information from /proc/device-tree/model in the absense of balena env variable
* read model information from /proc/device-tree/model in the absense of balena env variable
* read model information from /proc/device-tree/model in the absense of balena env variable
* read model information from /proc/device-tree/model in the absense of balena env variable
* read model information from /proc/device-tree/model in the absense of balena env variable
* read model information from /proc/device-tree/model in the absense of balena env variable
* read model information from /proc/device-tree/model in the absense of balena env variable
* read model information from /proc/device-tree/model in the absense of balena env variable
* read model information from /proc/device-tree/model in the absense of balena env variable
fix: is_rockpi and is_raspberry_pi should not break outside Balena #69
User Story
As a user, I should not hit an exception if running outside Balena.
Notes
We currently detect hardware by inspecting the
BALENA_DEVICE_TYPE
environment variable, created by Balena. In test cases, this will raise an exception.Acceptance Criteria
The text was updated successfully, but these errors were encountered: