summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2023-12-19 14:29:32 +0000
committerSteve Sakoman <steve@sakoman.com>2023-12-22 05:23:26 -1000
commit958a1ab3d0a987983fcda888bab167943d3ae3f4 (patch)
tree43c3610c58d9f12190c3cde0980897d62aa2cd49 /meta
parentc2bf7886048a8e70cd280c80ad27764cafc089e9 (diff)
downloadpoky-958a1ab3d0a987983fcda888bab167943d3ae3f4.tar.gz
testimage: Exclude wtmp from target-dumper commands
wtmp is filled with binary data which the run_serial command can't cope with. Catting this results in confusion of the serial interface and potentially large backlogs of data in the buffers which can hang qemu. Exclude the problematic files from the command. (From OE-Core rev: 1a14503ff5b4bc8192ae1b0d22622b8aefb718be) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 599ac08a6f6fb3f6a89a897c8e06367c63c2f979) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes-recipe/testimage.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes-recipe/testimage.bbclass b/meta/classes-recipe/testimage.bbclass
index 7c56fe9674..c6b7a1e142 100644
--- a/meta/classes-recipe/testimage.bbclass
+++ b/meta/classes-recipe/testimage.bbclass
@@ -121,7 +121,7 @@ testimage_dump_target () {
121 netstat -an 121 netstat -an
122 ip address 122 ip address
123 # Next command will dump logs from /var/log/ 123 # Next command will dump logs from /var/log/
124 find /var/log/ -type f 2>/dev/null -exec echo "====================" \; -exec echo {} \; -exec echo "====================" \; -exec cat {} \; -exec echo "" \; 124 find /var/log/ -type f -name !wtmp* 2>/dev/null -exec echo "====================" \; -exec echo {} \; -exec echo "====================" \; -exec cat {} \; -exec echo "" \;
125} 125}
126 126
127testimage_dump_monitor () { 127testimage_dump_monitor () {