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

Warn when zip file is provided to image config commands #2293

Open
klutchell opened this issue Jul 15, 2021 · 1 comment
Open

Warn when zip file is provided to image config commands #2293

klutchell opened this issue Jul 15, 2021 · 1 comment

Comments

@klutchell
Copy link
Contributor

Expected Behavior

Attempting to perform image config commands when provided a zip file should present a helpful warning.

  • balena config write
  • balena config inject
  • ...

Actual Behavior

Attempting to perform image config commands when provided a zip file results in confusing errors:

Invalid MBR boot signature. Expected 0xAA55, but saw 0x501A

SyntaxError: Invalid MBR boot signature. Expected 0xAA55, but saw 0x501A

Examples

sudo balena config write --type jetson-nano --drive balena-cloud-staging-linux-armv8-l4t-t210-jetson-nano-2.75.0+rev1-dev-v12.5.10.img.zip  os.udevRules.101 "ACTION==\"add\", SUBSYSTEMS==\"usb\", RUN+=\"/usr/sbin/nvpmodel -m 0\"" --debug
sudo balena config inject ./staging-linux-armv8-l4t-t210.config.json --drive ./balena-cloud-staging-linux-armv8-l4t-t210-jetson-nano-2.75.0+rev1-dev-v12.5.10.img.zip --type jetson-nano

Steps to Reproduce the Problem

This is the most important and helpful part of a bug report. If we cannot reproduce the
problem, it is difficult to tell what the fix should be, or whether code changes have
fixed it.

Specifications

  • balena CLI version: 12.44.24
  • **Cloud backend: balenaCloud
  • Operating system version:
  • 32/64 bit OS and processor:
  • Install method:
  • If npm install, Node.js and npm version:

Additional References

If applicable, please add additional links to GitHub projects, forums.balena.io threads,
gist.github.com, Google Drive attachments, etc.

@jellyfish-bot
Copy link

[klutchell] This issue has attached support thread https://jel.ly.fish/9157338e-c63d-4a53-b7b6-8070d9818677

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

2 participants