[meta-ti] Denys Dmytriyenko : cmem.inc: only mangle SRC_URI in do_unpack instead of anon function

Arago Project git git at arago-project.org
Wed Dec 21 10:24:47 PST 2016


Module: meta-ti
Branch: master
Commit: e022e00e66673af9fbfc3755bcdb9cd8dc9567e2
URL:    http://arago-project.org/git/meta-ti.git?a=commit;h=e022e00e66673af9fbfc3755bcdb9cd8dc9567e2

Author: Denys Dmytriyenko <denys at ti.com>
Date:   Wed Dec 21 07:13:45 2016 +0000

cmem.inc: only mangle SRC_URI in do_unpack instead of anon function

Avoid taskhash mismatch errors.

Signed-off-by: Denys Dmytriyenko <denys at ti.com>

---

 recipes-kernel/linux/cmem.inc |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/recipes-kernel/linux/cmem.inc b/recipes-kernel/linux/cmem.inc
index 4541185..a61b899 100644
--- a/recipes-kernel/linux/cmem.inc
+++ b/recipes-kernel/linux/cmem.inc
@@ -27,7 +27,7 @@ CMEM_DEVICETREE_dra74x = "dra7-evm.dtb dra7-evm-lcd-lg.dtb dra7-evm-lcd-osd.dtb
 RESERVE_CMEM ?= "0"
 
 # Add correct cmem.dtsi to SRC_URI for each variant for a given machine
-python() {
+python do_unpack() {
     old_overrides = d.getVar('OVERRIDES', False)
 
     # Initialize with empty string to simplify logic to append to SRC_URI
@@ -42,6 +42,7 @@ python() {
         cmem_dtsi.add(localdata.getVar('CMEM_DTSI', True))
 
     d.appendVar('SRC_URI', ' file://'.join(cmem_dtsi))
+    bb.build.exec_func('base_do_unpack', d)
 }
 
 python do_setup_cmem() {



More information about the meta-ti mailing list