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

MYNEWT-860 Newt - Empty pkg.yml issues. #105

Merged
merged 1 commit into from
Oct 28, 2017

Conversation

ccollins476ad
Copy link
Contributor

(Jira ticket: https://issues.apache.org/jira/browse/MYNEWT-860)

Specifically, an empty pkg.yml file causes problems because it describes a package with no name. When there is a package whose name is "", it matches some unset settings. In this case, the target being built does not specify a target.loader value, as it is not a split image. However, newt thinks the target actually specifies the unnamed packages as its loader, so it attempts to build a split image.

The fix is to ignore packages with no name (and warn the user).

Bug described in https://issues.apache.org/jira/browse/MYNEWT-860.  The
fix is to ignore packages that don't have a "pkg.name" field.
@ccollins476ad ccollins476ad merged commit 3d396f6 into apache:master Oct 28, 2017
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