From: André Draszik <[email protected]>

The shell script uses time, which is either a bash built-in, or
a GNU utility. Not all build machines will have either bash or
GNU time available out of the box. Make sure it is available.

Note that this needs the patch to OE-core to enable the
time-native BBCLASSEXTEND to be applied before this here can
go in.

Signed-off-by: André Draszik <[email protected]>
---
 classes/swupd-image.bbclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/classes/swupd-image.bbclass b/classes/swupd-image.bbclass
index 5ba9cfb..60f7edb 100644
--- a/classes/swupd-image.bbclass
+++ b/classes/swupd-image.bbclass
@@ -563,6 +563,7 @@ SWUPDDEPENDS = "\
     virtual/fakeroot-native:do_populate_sysroot \
     rsync-native:do_populate_sysroot \
     bsdiff-native:do_populate_sysroot \
+    time-native:do_populate_sysroot \
 "
 
 # We don't know exactly which formats will be in use during
-- 
2.11.0

-- 
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to