diff options
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/staging.bbclass | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/meta/classes/staging.bbclass b/meta/classes/staging.bbclass index 831840456b..259a6611c9 100644 --- a/meta/classes/staging.bbclass +++ b/meta/classes/staging.bbclass | |||
@@ -73,6 +73,21 @@ python sysroot_cleansstate () { | |||
73 | } | 73 | } |
74 | do_configure[prefuncs] += "sysroot_cleansstate" | 74 | do_configure[prefuncs] += "sysroot_cleansstate" |
75 | 75 | ||
76 | |||
77 | BB_SETSCENE_VERIFY_FUNCTION = "sysroot_checkhashes" | ||
78 | |||
79 | def sysroot_checkhashes(covered, tasknames, fnids, fns, d): | ||
80 | problems = set() | ||
81 | configurefnids = set() | ||
82 | for task in xrange(len(tasknames)): | ||
83 | if tasknames[task] == "do_configure" and task not in covered: | ||
84 | configurefnids.add(fnids[task]) | ||
85 | for task in covered: | ||
86 | if tasknames[task] == "do_populate_sysroot" and fnids[task] in configurefnids: | ||
87 | problems.add(task) | ||
88 | bb.error("sysroot task found %s" % fns[fnids[task]]) | ||
89 | return problems | ||
90 | |||
76 | python do_populate_sysroot () { | 91 | python do_populate_sysroot () { |
77 | # | 92 | # |
78 | # if do_stage exists, we're legacy. In that case run the do_stage, | 93 | # if do_stage exists, we're legacy. In that case run the do_stage, |