From: Paul Eggleton <paul.eggleton@linux.intel.com>
To: bitbake-devel@lists.openembedded.org
Subject: [PATCH 2/8] cooker: add data to the dependency tree dump
Date: Fri, 1 Nov 2013 15:58:29 +0000 [thread overview]
Message-ID: <e1bd6d695679702a128cd8746fbb3d2ea50d97bb.1383321482.git.paul.eggleton@linux.intel.com> (raw)
In-Reply-To: <cover.1383321482.git.paul.eggleton@linux.intel.com>
In-Reply-To: <cover.1383321482.git.paul.eggleton@linux.intel.com>
From: Alexandru DAMIAN <alexandru.damian@intel.com>
Toaster needes to record extra data that needs to
be moved at the time of the dependency tree dump.
This data includes:
* layer priorities for recording in the layer section
* the inherit list for each PN which allows to determine
the type of the PN (regular package, image, etc).
This patch adds this data to the dependency tree dump.
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
lib/bb/cooker.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/bb/cooker.py b/lib/bb/cooker.py
index b504f45..ccc6858 100644
--- a/lib/bb/cooker.py
+++ b/lib/bb/cooker.py
@@ -511,6 +511,7 @@ class BBCooker:
depend_tree["packages"] = {}
depend_tree["rdepends-pkg"] = {}
depend_tree["rrecs-pkg"] = {}
+ depend_tree["layer-priorities"] = self.recipecache.bbfile_config_priorities
for task in xrange(len(rq.rqdata.runq_fnid)):
taskname = rq.rqdata.runq_task[task]
@@ -522,6 +523,7 @@ class BBCooker:
depend_tree["pn"][pn] = {}
depend_tree["pn"][pn]["filename"] = fn
depend_tree["pn"][pn]["version"] = version
+ depend_tree["pn"][pn]["inherits"] = self.recipecache.inherits.get(fn, None)
# if we have extra caches, list all attributes they bring in
extra_info = []
--
1.8.1.2
next prev parent reply other threads:[~2013-11-01 15:58 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-01 15:58 [PATCH 0/8] Toaster-related improvements Paul Eggleton
2013-11-01 15:58 ` [PATCH 1/8] toaster: fixes for null values from events Paul Eggleton
2013-11-01 15:58 ` Paul Eggleton [this message]
2013-11-01 15:58 ` [PATCH 3/8] cooker: do not recreate recipecache in buildfile mode Paul Eggleton
2013-11-01 15:58 ` [PATCH 4/8] build, toaster: record proper task type Paul Eggleton
2013-11-01 15:58 ` [PATCH 5/8] toaster: fix timezone settings Paul Eggleton
2013-11-01 15:58 ` [PATCH 6/8] toaster: server shutdown on terminal exit Paul Eggleton
2013-11-01 15:58 ` [PATCH 7/8] toaster: add variable description for prefixed/suffixed variables Paul Eggleton
2013-11-01 15:58 ` [PATCH 8/8] toaster: enable required classes in the toaster startup script Paul Eggleton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e1bd6d695679702a128cd8746fbb3d2ea50d97bb.1383321482.git.paul.eggleton@linux.intel.com \
--to=paul.eggleton@linux.intel.com \
--cc=bitbake-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox