diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-23 11:56:44 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-24 23:43:33 +0000 |
commit | 3d3194a68fceba3fcc6b072ae9956870a8b5c4fd (patch) | |
tree | 7ce5035c28a8f2f57f30ac390a67487e4320f5da /meta/classes | |
parent | 6e74b4e031e11b13436391b542c4d8b5bab9daea (diff) | |
download | poky-3d3194a68fceba3fcc6b072ae9956870a8b5c4fd.tar.gz |
staging: Drop BB_SETSCENE_VERIFY_FUNCTION2
The original description for this was:
"""
Since we clean out do_populate_sysroot if do_configure runs, don't
allow do_populate_sysroot_setscene functions if we're going to
run do_configure.
"""
With RSS, we don't need to clean do_populate_sysroot any more. Since
we no longer do that, this function also has no purpose any longer
and can also be removed.
(From OE-Core rev: 637c6d17b4a812379cbab64d340660092e046965)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/staging.bbclass | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/meta/classes/staging.bbclass b/meta/classes/staging.bbclass index 93d39c3335..f7a1707933 100644 --- a/meta/classes/staging.bbclass +++ b/meta/classes/staging.bbclass | |||
@@ -173,19 +173,6 @@ addtask populate_sysroot after do_install | |||
173 | SYSROOT_PREPROCESS_FUNCS ?= "" | 173 | SYSROOT_PREPROCESS_FUNCS ?= "" |
174 | SYSROOT_DESTDIR = "${WORKDIR}/sysroot-destdir" | 174 | SYSROOT_DESTDIR = "${WORKDIR}/sysroot-destdir" |
175 | 175 | ||
176 | BB_SETSCENE_VERIFY_FUNCTION2 = "sysroot_checkhashes2" | ||
177 | |||
178 | def sysroot_checkhashes2(covered, tasknames, fns, d, invalidtasks): | ||
179 | problems = set() | ||
180 | configurefns = set() | ||
181 | for tid in invalidtasks: | ||
182 | if tasknames[tid] == "do_configure" and tid not in covered: | ||
183 | configurefns.add(fns[tid]) | ||
184 | for tid in covered: | ||
185 | if tasknames[tid] == "do_populate_sysroot" and fns[tid] in configurefns: | ||
186 | problems.add(tid) | ||
187 | return problems | ||
188 | |||
189 | python do_populate_sysroot () { | 176 | python do_populate_sysroot () { |
190 | bb.build.exec_func("sysroot_stage_all", d) | 177 | bb.build.exec_func("sysroot_stage_all", d) |
191 | bb.build.exec_func("sysroot_strip", d) | 178 | bb.build.exec_func("sysroot_strip", d) |