diff options
| author | Aníbal Limón <anibal.limon@linux.intel.com> | 2016-07-27 17:40:40 -0500 | 
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-08-01 11:46:37 +0100 | 
| commit | a0bb64973e767c3b8e0bae18ee84ed92693922f0 (patch) | |
| tree | 1cb29c4a637786f103f5118b931093dcd6ab23b5 | |
| parent | 07ea6b5fb1eae175e18ecdab3ca37304215cd428 (diff) | |
| download | openembedded-core-a0bb64973e767c3b8e0bae18ee84ed92693922f0.tar.gz openembedded-core-a0bb64973e767c3b8e0bae18ee84ed92693922f0.tar.bz2 openembedded-core-a0bb64973e767c3b8e0bae18ee84ed92693922f0.zip | |
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]
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
| -rw-r--r-- | meta/classes/testimage.bbclass | 5 | 
1 files changed, 4 insertions, 1 deletions
| diff --git a/meta/classes/testimage.bbclass b/meta/classes/testimage.bbclass index 0b6c779dbc..e42c5acce9 100644 --- a/meta/classes/testimage.bbclass +++ b/meta/classes/testimage.bbclass @@ -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() | 
