summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorDave Lerner <dave.lerner@windriver.com>2016-02-25 14:24:49 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-26 17:20:35 +0000
commitc8dd72c7979043ac643c0b86a9f431916115005e (patch)
treefecbfdb53d264df6c7481708b66df1577e5aee93 /bitbake
parent149f57470cacf029febc4c1c9de499faba141466 (diff)
downloadpoky-c8dd72c7979043ac643c0b86a9f431916115005e.tar.gz
bitbake: toaster: fix banner after customimage package add
Correct formatting of the banner message after adding a package to a custom image. [YOCTO #9101] (Bitbake rev: da233005eb8cfa7842cd1a768c16e42aaaa55fad) Signed-off-by: Dave Lerner <dave.lerner@windriver.com> Signed-off-by: Elliot Smith <elliot.smith@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/toaster/toastergui/static/js/customrecipe.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/toastergui/static/js/customrecipe.js b/bitbake/lib/toaster/toastergui/static/js/customrecipe.js
index a1fe4862e5..3c57899420 100644
--- a/bitbake/lib/toaster/toastergui/static/js/customrecipe.js
+++ b/bitbake/lib/toaster/toastergui/static/js/customrecipe.js
@@ -127,7 +127,8 @@ function customRecipePageInit(ctx) {
127 if (targetPkg.hasOwnProperty('depsAdded') && 127 if (targetPkg.hasOwnProperty('depsAdded') &&
128 targetPkg.depsAdded.length > 0) { 128 targetPkg.depsAdded.length > 0) {
129 129
130 msg += "added " + (targetPkg.depsAdded.length + 1); 130 msg += "added ";
131 msg += "<strong>" + (targetPkg.depsAdded.length + 1) + "</strong>";
131 msg += " packages to " + ctx.recipe.name + ": "; 132 msg += " packages to " + ctx.recipe.name + ": ";
132 msg += "<strong>" + targetPkg.name + "</strong> and its dependencies"; 133 msg += "<strong>" + targetPkg.name + "</strong> and its dependencies";
133 134
@@ -150,7 +151,9 @@ function customRecipePageInit(ctx) {
150 (targetPkg.depsAdded.length + 1) + " packages added"); 151 (targetPkg.depsAdded.length + 1) + " packages added");
151 152
152 } else { 153 } else {
153 msg += ' <strong>' + targetPkg.name + '<strong>'; 154 msg += "added <strong>1</strong>";
155 msg += " package to " + ctx.recipe.name + ": ";
156 msg += "<strong>" + targetPkg.name + "</strong>";
154 inlineNotify.text("1 package added"); 157 inlineNotify.text("1 package added");
155 } 158 }
156 159