Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 2EDECE009C4 for ; Tue, 11 Mar 2014 09:32:23 -0700 (PDT) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP; 11 Mar 2014 09:32:18 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.97,631,1389772800"; d="scan'208";a="496285687" Received: from mavram-vostro.rb.intel.com ([10.237.105.158]) by fmsmga002.fm.intel.com with ESMTP; 11 Mar 2014 09:32:15 -0700 From: Marius Avram To: toaster@yoctoproject.org Date: Tue, 11 Mar 2014 18:37:06 +0200 Message-Id: <1394555826-8305-1-git-send-email-marius.avram@intel.com> X-Mailer: git-send-email 1.7.9.5 X-Mailman-Approved-At: Wed, 19 Mar 2014 16:53:45 -0700 Subject: [PATCH] toaster: full path in variable history 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: Tue, 11 Mar 2014 16:32:26 -0000 When an evaluation was made for a configuration file the path to the file was saved as a relative one. The change in this commit will save the location as an absolute path. This way the user will have full information regarding the location of the file where a variable was changed and the line withing the file. [YOCTO #5562] Signed-off-by: Marius Avram --- bitbake/lib/bb/parse/parse_py/ConfHandler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitbake/lib/bb/parse/parse_py/ConfHandler.py b/bitbake/lib/bb/parse/parse_py/ConfHandler.py index f4fb2aa..978ebe4 100644 --- a/bitbake/lib/bb/parse/parse_py/ConfHandler.py +++ b/bitbake/lib/bb/parse/parse_py/ConfHandler.py @@ -144,7 +144,7 @@ def handle(fn, data, include): # skip comments if s[0] == '#': continue - feeder(lineno, s, fn, statements) + feeder(lineno, s, abs_fn, statements) # DONE WITH PARSING... time to evaluate data.setVar('FILE', abs_fn) -- 1.7.9.5