[yocto] [meta-swupd][PATCH] swupd-image.bbclass: do_swupd_update() depends on time-native

André Draszik git at andred.net
Tue Jan 17 07:59:10 PST 2017


From: André Draszik <adraszik at tycoint.com>

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 <adraszik at tycoint.com>
---
 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




More information about the yocto mailing list