All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] linux-ti: Drop unneeded update_data calls
@ 2022-12-01  6:48 Khem Raj
  2022-12-01 14:36 ` [meta-ti] " Denys Dmytriyenko
  0 siblings, 1 reply; 6+ messages in thread
From: Khem Raj @ 2022-12-01  6:48 UTC (permalink / raw)
  To: meta-ti; +Cc: Khem Raj

 datastore works dynamically we don't need the update_data calls
 anymore, so far they were no-ops, now bitbake has recently dropped this
 API and hence compile fails with core/master

 Fixes
  *** 0052:        bb.data.update_data(localdata)
     0053:
     0054:        cmem_dtsi.add(localdata.getVar('CMEM_DTSI'))
     0055:
     0056:    d.appendVar('SRC_URI', ' file://'.join(cmem_dtsi))
Exception: AttributeError: module 'bb.data' has no attribute 'update_data'

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta-ti-bsp/recipes-kernel/linux/cmem.inc        | 2 --
 meta-ti-extras/recipes-ti/includes/ti-unpack.inc | 1 -
 2 files changed, 3 deletions(-)

diff --git a/meta-ti-bsp/recipes-kernel/linux/cmem.inc b/meta-ti-bsp/recipes-kernel/linux/cmem.inc
index fd913f6c..f560932c 100644
--- a/meta-ti-bsp/recipes-kernel/linux/cmem.inc
+++ b/meta-ti-bsp/recipes-kernel/linux/cmem.inc
@@ -49,7 +49,6 @@ python do_unpack() {
         # Create copy of data for additional override
         localdata = bb.data.createCopy(d)
         localdata.setVar('OVERRIDES', '%s:%s' % (cmem_machine, old_overrides))
-        bb.data.update_data(localdata)
 
         cmem_dtsi.add(localdata.getVar('CMEM_DTSI'))
 
@@ -67,7 +66,6 @@ python do_setup_cmem() {
             # Create copy of data for additional override
             localdata = bb.data.createCopy(d)
             localdata.setVar('OVERRIDES', '%s:%s' % (cmem_machine, old_overrides))
-            bb.data.update_data(localdata)
 
             # Get source directory and dtsi filename
             src_dir  = localdata.getVar('WORKDIR')
diff --git a/meta-ti-extras/recipes-ti/includes/ti-unpack.inc b/meta-ti-extras/recipes-ti/includes/ti-unpack.inc
index 46bfb957..13068843 100644
--- a/meta-ti-extras/recipes-ti/includes/ti-unpack.inc
+++ b/meta-ti-extras/recipes-ti/includes/ti-unpack.inc
@@ -24,7 +24,6 @@ python ti_bin_do_unpack() {
         bb.fatal("TI installer requires 32bit glibc libraries for proper operation\nrun 'yum install glibc.i686' on Fedora or 'apt-get install libc6:i386' on Ubuntu/Debian")
 
     localdata = bb.data.createCopy(d)
-    bb.data.update_data(localdata)
 
     binfile  = localdata.getVar('BINFILE')
     binfile  = bb.data.expand(binfile, localdata)
-- 
2.38.1



^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-12-02 19:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-01  6:48 [PATCH] linux-ti: Drop unneeded update_data calls Khem Raj
2022-12-01 14:36 ` [meta-ti] " Denys Dmytriyenko
2022-12-01 17:40   ` Khem Raj
2022-12-01 20:48     ` Ryan Eatmon
2022-12-02 18:57       ` Khem Raj
2022-12-02 19:53         ` Ryan Eatmon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.