Skip to contentSkip to conversation

oeqa/runtime/parselogs.py: Fix dmesg log retrieve in sato

PATCH New Aníbal Limón 1 participant 2 messages Sep 23, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 oeqa/runtime/parselogs.py: Fix dmesg log retrieve in sato

Sato uses busybox that fails to write log using echo "" because dmesg output can contain special characters.

[YOCTO #8377]

---
 meta/lib/oeqa/runtime/parselogs.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
meta/lib/oeqa/runtime/parselogs.py +1 -2
index e20947b..e2dd3eb 100644
@@ -233,8 +233,7 @@ class ParseLogsTest(oeRuntimeTest):
 
     #get the output of dmesg and write it in a file. This file is added to log_locations.
     def write_dmesg(self):
-        (status, dmesg) = self.target.run("dmesg")
-        (status, dmesg2) = self.target.run("echo \""+str(dmesg)+"\" > /tmp/dmesg_output.log")
+        (status, dmesg) = self.target.run("dmesg > /tmp/dmesg_output.log")
 
     @testcase(1059)
     @skipUnlessPassed('test_ssh')
Signature · 1 line
1.9.1
#1 lore raw

PATCH 2/2 kmod: Change SRCREV to fix return code in error path

Systemd is failing trying to load kdbus [1] because kmod have an error in return code when try to insert module [2].

This change of SRCREV is a MINOR one only include the fix described.

[YOCTO #8377]

[1] https://bugzilla.yoctoproject.org/show_bug.cgi?id=8377#c0
[2] http://lists.freedesktop.org/archives/systemd-devel/2015-July/033549.html

---
 meta/recipes-kernel/kmod/kmod.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-kernel/kmod/kmod.inc +1 -1
index e9aa67d..71ffdf8 100644
@@ -16,7 +16,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \
                    "
 inherit autotools gtk-doc
 
-SRCREV = "0d833715eaa65636dda2705b89359a1e0154dc58"
+SRCREV = "114ec87c85c35a2bd3682f9f891e494127be6fb5"
 # Lookout for PV bump too when SRCREV is changed
 PV = "21+git${SRCPV}"
 
Signature · 1 line
1.9.1