Hi,
I tried to modify torizon
with yocto devtool
within Docker crops/poky container
, however it stopped with the error as follow. I’m able to modify source with yocto devshell
. Due to Verdin SOM
and carrier board (Dahlia and Development Board
) configuration hardware version I have to use torizon 5.1.0
.
$repo init -u https://git.toradex.com/toradex-manifest.git -b refs/tags/5.1.0 -m torizoncore/default.xml
$repo sync --no-clone-bundle
$docker run --rm -it -v $(pwd):$(pwd) crops/poky --workdir=$(pwd)
$MACHINE=verdin-imx8mm DISTRO=torizon-rt source setup-environment build-rt
$devtool modify virtual/kernel
........
NOTE: Executing 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: '/mnt/Work/PROJs/yocto/tz/build-rt-test-devtool/conf/../../layers/openembedded-core/meta/classes/devtool-source.bbclass', lineno: 207, function: devtool_post_patch
0203: rm_patches()
0204: # Now we need to reconcile the dev branch with the no-overrides one
0205: # (otherwise we'd likely be left with identical commits that have different hashes)
0206: bb.process.run('git checkout %s' % devbranch, cwd=srcsubdir)
*** 0207: bb.process.run('git rebase devtool-no-overrides', cwd=srcsubdir)
0208: else:
0209: bb.process.run('git checkout %s -b devtool-no-overrides' % devbranch, cwd=srcsubdir)
0210:
0211: for override in extra_overrides:
File: '/mnt/Work/PROJs/yocto/tz/layers/openembedded-core/bitbake/lib/bb/process.py', lineno: 182, function: run
0178: if not stderr is None:
0179: stderr = stderr.decode("utf-8")
0180:
0181: if pipe.returncode != 0:
*** 0182: raise ExecutionError(cmd, pipe.returncode, stdout, stderr)
0183: return stdout, stderr
Exception: bb.process.ExecutionError: Execution of 'git rebase devtool-no-overrides' failed with exit code 1:
It seems that there is already a rebase-apply directory, and
I wonder if you are in the middle of another rebase. If that is the
case, please try
git rebase (--continue | --abort | --skip)
If that is not the case, please
rm -fr "/mnt/Work/PROJs/yocto/tz/build-rt-test-devtool/tmp/work/verdin_imx8mm-tdx-linux/linux-toradex/5.4.77+gitAUTOINC+cea1f4fd7e_322691f7b5-r0/devtooltmp-nx2wisn7/workdir/git/.git/rebase-apply"
and run me again. I am stopping in case you still have something
valuable there.
ERROR: Logfile of failure stored in: /mnt/Work/PROJs/yocto/tz/build-rt-test-devtool/tmp/work/verdin_imx8mm-tdx-linux/linux-toradex/5.4.77+gitAUTOINC+cea1f4fd7e_322691f7b5-r0/devtooltmp-nx2wisn7/temp/log.do_patch.11329
........
Thanks in advance.
ierturk