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

Fix --imgfile option for the load command #404

Merged
merged 1 commit into from
Jun 12, 2020

Conversation

ccollins476ad
Copy link
Contributor

--imgfile lets the user specify the image file to load rather than
letting newt derive it from the target name.

This option wasn't working properly. For the download scripts to load
the specified file, the BIN_BASENAME environment variable needs to be
set to the file's base (i.e., strip the .img extension).

Prior to this commit, this environment variable wasn't being overridden
at all. The effect was that the --imgfile option was ignored
completely.

`--imgfile` lets the user specify the image file to load rather than
letting newt derive it from the target name.

This option wasn't working properly.  For the download scripts to load
the specified file, the `BIN_BASENAME` environment variable needs to be
set to the file's *base* (i.e., strip the `.img` extension).

Prior to this commit, this environment variable wasn't being overridden
at all.  The effect was that the `--imgfile` option was ignored
completely.
Copy link
Contributor

@mlaz mlaz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ccollins476ad
Copy link
Contributor Author

Thanks @mlaz.

@ccollins476ad ccollins476ad merged commit d7efc36 into apache:master Jun 12, 2020
@ccollins476ad ccollins476ad deleted the imgfile-fix branch June 12, 2020 20:52
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

Successfully merging this pull request may close these issues.

None yet

2 participants