Skip to contentSkip to conversation

how to local debug or modify systemd in openbmc?

DISCUSSION www 1 participant 1 message Dec 14, 2018

lore
Share & tools
lore

www

author
#0 lore raw

Dear all,

I want to debug or modify systemd in openbmc. I use devtool modify it, but it fail(devtool modify systemd). Who can tell me how can I modify it and test in openbmc?
NOTE: Executing RunQueue Tasks
ERROR: Error executing a python function in exec_python_func() autogenerated:

The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_python_func() autogenerated', lineno: 2, function: <module>

     0001:
 *** 0002:devtool_post_patch(d)
     0003:
File: '/home/wanghp/wsp/ibm-obmc/newt/meta/classes/devtool-source.bbclass', lineno: 212, function: devtool_post_patch
     0208:                bb.build.exec_func('do_patch', localdata)
     0209:                rm_patches()
     0210:                # Now we need to reconcile the new branch with the no-overrides one
     0211:                # (otherwise we'd likely be left with identical commits that have different hashes)
 *** 0212:                bb.process.run('git rebase devtool-no-overrides', cwd=srcsubdir)

0213: bb.process.run('git checkout %s' % devbranch, cwd=srcsubdir)
0214: bb.process.run('git tag -f devtool-patched', cwd=srcsubdir)
0215:}
0216:
File: '/home/wanghp/wsp/ibm-obmc/newt/poky/bitbake/lib/bb/process.py', lineno: 178, function: run

     0174:        if not stderr is None:
     0175:            stderr = stderr.decode("utf-8")
     0176:
     0177:    if pipe.returncode != 0:

*** 0178: raise ExecutionError(cmd, pipe.returncode, stdout, stderr)
0179: return stdout, stderr
Exception: bb.process.ExecutionError: Execution of 'git rebase devtool-no-overrides' failed with exit code 1:
It looks like 'git am' is in progress. Cannot rebase.

ERROR: Function failed: devtool_post_patch
ERROR: Logfile of failure stored in: /home/wanghp/wsp/ibm-obmc/newt/build/tmp/work/armv6-openbmc-linux-gnueabi/systemd/1_237-r0/devtooltmp-qn6oasry/temp/log.do_patch.26985
NOTE: Tasks Summary: Attempted 3 tasks of which 0 didn't need to be rerun and 1 failed.
ERROR: Extracting source for systemd failed

thanks,
Byron