Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id EFF1DE00C97; Wed, 24 Feb 2016 02:04:39 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high * trust * [134.134.136.65 listed in list.dnswl.org] Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id C8B97E00C65 for ; Wed, 24 Feb 2016 02:04:36 -0800 (PST) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga103.jf.intel.com with ESMTP; 24 Feb 2016 02:04:29 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,493,1449561600"; d="scan'208";a="752290122" Received: from irsmsx151.ger.corp.intel.com ([163.33.192.59]) by orsmga003.jf.intel.com with ESMTP; 24 Feb 2016 02:04:29 -0800 Received: from irsmsx110.ger.corp.intel.com ([169.254.15.31]) by IRSMSX151.ger.corp.intel.com ([169.254.4.72]) with mapi id 14.03.0248.002; Wed, 24 Feb 2016 10:04:26 +0000 From: "Barros Pena, Belen" To: "Lerner, David M (Wind River)" , "toaster@yoctoproject.org" , "Wood, Michael G" Thread-Topic: [Toaster] [PATCH 1/1 Version 2] toaster: fix banner after customimage package add Thread-Index: AQHRbuq9dmKAIdaanEuEX6fDWHbSsA== Date: Wed, 24 Feb 2016 10:04:25 +0000 Message-ID: References: <1456247039-16449-1-git-send-email-dave.lerner@windriver.com> <1456247039-16449-2-git-send-email-dave.lerner@windriver.com> In-Reply-To: <1456247039-16449-2-git-send-email-dave.lerner@windriver.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.6.1.160122 x-originating-ip: [10.252.6.169] MIME-Version: 1.0 Subject: Re: [PATCH 1/1 Version 2] toaster: fix banner after customimage package add X-BeenThere: toaster@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Web based interface for BitBake List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Feb 2016 10:04:40 -0000 Content-Language: en-US Content-Type: text/plain; charset="iso-8859-1" Content-ID: <100C67750D130644AA4227B42FF08EEB@intel.com> Content-Transfer-Encoding: quoted-printable On 23/02/2016 18:03, "toaster-bounces@yoctoproject.org on behalf of Dave Lerner" wrote: >Correct formatting of the banner message after adding a package to a >custom image. > >[YOCTO #9101] I've tried several things, but I can no longer see the truncated message when adding packages. So this seems to be working for me. Thanks! Bel=E9n > >Signed-off-by: Dave Lerner >--- > bitbake/lib/toaster/toastergui/static/js/customrecipe.js | 7 +++++-- > 1 file 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 a1fe486..3c57899 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) { > if (targetPkg.hasOwnProperty('depsAdded') && > targetPkg.depsAdded.length > 0) { >=20 >- msg +=3D "added " + (targetPkg.depsAdded.length + 1); >+ msg +=3D "added "; >+ msg +=3D "" + (targetPkg.depsAdded.length + 1) + >""; > msg +=3D " packages to " + ctx.recipe.name + ": "; > msg +=3D "" + targetPkg.name + " and its >dependencies"; >=20 >@@ -150,7 +151,9 @@ function customRecipePageInit(ctx) { > (targetPkg.depsAdded.length + 1) + " packages added"); >=20 > } else { >- msg +=3D ' ' + targetPkg.name + ''; >+ msg +=3D "added 1"; >+ msg +=3D " package to " + ctx.recipe.name + ": "; >+ msg +=3D "" + targetPkg.name + ""; > inlineNotify.text("1 package added"); > } >=20 >--=20 >1.9.1 > >--=20 >_______________________________________________ >toaster mailing list >toaster@yoctoproject.org >https://lists.yoctoproject.org/listinfo/toaster