You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by cc...@apache.org on 2016/11/10 22:38:33 UTC

[21/50] incubator-mynewt-newt git commit: newt - Fix reporting of bad boot path for mfg img.

newt - Fix reporting of bad boot path for mfg img.


Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/commit/f04edf54
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/tree/f04edf54
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/diff/f04edf54

Branch: refs/heads/master
Commit: f04edf545f5c1c3d241ea443370fff77dcc87ce8
Parents: 54d3c0b
Author: Christopher Collins <cc...@apache.org>
Authored: Mon Oct 31 13:12:10 2016 -0700
Committer: Christopher Collins <cc...@apache.org>
Committed: Mon Oct 31 13:12:10 2016 -0700

----------------------------------------------------------------------
 newt/mfg/paths.go | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/blob/f04edf54/newt/mfg/paths.go
----------------------------------------------------------------------
diff --git a/newt/mfg/paths.go b/newt/mfg/paths.go
index cd9d38f..f05abb3 100644
--- a/newt/mfg/paths.go
+++ b/newt/mfg/paths.go
@@ -92,7 +92,7 @@ func (mi *MfgImage) BootBinPath() string {
 	}
 
 	return MfgBootBinPath(mi.basePkg.Name(),
-		pkg.ShortName(mi.boot.Package()))
+		pkg.ShortName(mi.boot.App()))
 }
 
 func (mi *MfgImage) BootElfPath() string {
@@ -100,7 +100,7 @@ func (mi *MfgImage) BootElfPath() string {
 		return ""
 	}
 
-	return MfgBootElfPath(mi.basePkg.Name(), pkg.ShortName(mi.boot.Package()))
+	return MfgBootElfPath(mi.basePkg.Name(), pkg.ShortName(mi.boot.App()))
 }
 
 func (mi *MfgImage) BootManifestPath() string {
@@ -109,7 +109,7 @@ func (mi *MfgImage) BootManifestPath() string {
 	}
 
 	return MfgBootManifestPath(mi.basePkg.Name(),
-		pkg.ShortName(mi.boot.Package()))
+		pkg.ShortName(mi.boot.App()))
 }
 
 func (mi *MfgImage) AppImgPath(imageIdx int) string {