mirror of
https://git.yoctoproject.org/poky
synced 2026-04-21 03:32:12 +02:00
classes/testimage: When image is systemd, enable debug log level
In order to get more information about systemd boot process to be able to debug random failures due to high I/O. [YOCTO #9299] (From OE-Core rev: a0bb64973e767c3b8e0bae18ee84ed92693922f0) Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
140f6c7308
commit
a86a1b2703
@@ -144,7 +144,10 @@ def testimage_main(d):
|
||||
tc.extract_packages()
|
||||
target.deploy()
|
||||
try:
|
||||
target.start()
|
||||
bootparams = None
|
||||
if d.getVar('VIRTUAL-RUNTIME_init_manager', '') == 'systemd':
|
||||
bootparams = 'systemd.log_level=debug systemd.log_target=console'
|
||||
target.start(extra_bootparams=bootparams)
|
||||
starttime = time.time()
|
||||
result = tc.runTests()
|
||||
stoptime = time.time()
|
||||
|
||||
Reference in New Issue
Block a user