[oe-commits] [openembedded-core] 04/06: busybox: add debug

git at git.openembedded.org git at git.openembedded.org
Thu Jun 27 12:29:22 UTC 2019


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 188be7a403ba45152458a3ee54909bd771255837
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Thu Jun 27 12:29:17 2019 +0100

    busybox: add debug
    
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/recipes-core/busybox/files/syslog | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta/recipes-core/busybox/files/syslog b/meta/recipes-core/busybox/files/syslog
index 2208613..36d2d8d 100644
--- a/meta/recipes-core/busybox/files/syslog
+++ b/meta/recipes-core/busybox/files/syslog
@@ -54,6 +54,7 @@ fi
 waitpid ()
 {
   pid=$1
+  echo "Checking $pid exited"
   # Give pid a chance to exit before we restart with a 5s timeout in 1s intervals
   if [ -z "$pid" ]; then
     return
@@ -65,6 +66,9 @@ waitpid ()
     kill -0 $pid 2> /dev/null || break
     sleep 1
   done
+  if [ $timeout != 5 ]; then
+    echo "Timeout was $timeout"
+  fi
 }
 
 case "$1" in

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list