Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 2F8E8E002A6 for ; Tue, 18 Mar 2014 05:28:04 -0700 (PDT) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP; 18 Mar 2014 05:23:17 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.97,678,1389772800"; d="scan'208";a="502242162" Received: from mavram-vostro.rb.intel.com ([10.237.105.158]) by orsmga002.jf.intel.com with ESMTP; 18 Mar 2014 05:27:49 -0700 From: Marius Avram To: toaster@yoctoproject.org Date: Tue, 18 Mar 2014 14:32:51 +0200 Message-Id: <1395145971-14958-1-git-send-email-marius.avram@intel.com> X-Mailer: git-send-email 1.7.9.5 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, 18 Mar 2014 12:28:05 -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