我们的项目有两层,每一层都在同一文件中添加一个补丁。较低优先级层的第一个修补程序将创建一个简单文件,较高优先级层将向该文件添加更多内容。此操作在do_patch中总是失败,因为(尽管有任何层优先级),bitbake总是首先尝试第二个补丁,但由于尚未创建文件而失败。我正在显示两个日志,其中.bbappend顺序被翻转,但在两种情况下都首先搜索第二个补丁
日志1:
DEBUG: Appending .bbappend file /home/bdawood/Desktop/projects/mm-chips-kernel/meta-morse-core/recipes-bsp/u-boot/u-boot-xlnx_2018.1.bbappend to /home/bdawood/Desktop/projects/mm-chips-kernel/meta-xilinx/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-xlnx_2018.1.bb
DEBUG: Appending .bbappend file /home/bdawood/Desktop/projects/mm-chips-kernel/meta-morse-devkit/recipes-bsp/u-boot/u-boot-xlnx_%.bbappend to /home/bdawood/Desktop/projects/mm-chips-kernel/meta-xilinx/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-xlnx_2018.1.bb
DEBUG: Executing task do_patch
NOTE: recipe u-boot-xlnx-v2018.01-xilinx-v2018.1+gitAUTOINC+949e5cb9a7-r0: task do_patch: Started
DEBUG: u-boot-xlnx-v2018.01-xilinx-v2018.1+gitAUTOINC+949e5cb9a7-r0 do_patch: Executing python function extend_recipe_sysroot
DEBUG: u-boot-xlnx-v2018.01-xilinx-v2018.1+gitAUTOINC+949e5cb9a7-r0 do_patch: Python function extend_recipe_sysroot finished
DEBUG: u-boot-xlnx-v2018.01-xilinx-v2018.1+gitAUTOINC+949e5cb9a7-r0 do_patch: Executing python function do_patch
DEBUG: u-boot-xlnx-v2018.01-xilinx-v2018.1+gitAUTOINC+949e5cb9a7-r0 do_patch: Executing python function patch_do_patch
DEBUG: u-boot-xlnx-v2018.01-xilinx-v2018.1+gitAUTOINC+949e5cb9a7-r0 do_patch: Searching for 0002-Adding-sdhci1-through-mio.patch in paths:
DEBUG: u-boot-xlnx-v2018.01-xilinx-v2018.1+gitAUTOINC+949e5cb9a7-r0 do_patch: Searching for 0001-Add-u-boot-support-for-morse-m-series-board.patch in paths:
DEBUG: u-boot-xlnx-v2018.01-xilinx-v2018.1+gitAUTOINC+949e5cb9a7-r0 do_patch: Python function patch_do_patch finished
DEBUG: u-boot-xlnx-v2018.01-xilinx-v2018.1+gitAUTOINC+949e5cb9a7-r0 do_patch: Python function do_patch finished
NOTE: recipe u-boot-xlnx-v2018.01-xilinx-v2018.1+gitAUTOINC+949e5cb9a7-r0: task do_patch: Failed
DEBUG: Teardown for bitbake-worker
NOTE: Tasks Summary: Attempted 500 tasks of which 499 didn't need to be rerun and 1 failed.
日志2:
DEBUG: Appending .bbappend file /home/bdawood/Desktop/projects/mm-chips-kernel/meta-morse-devkit/recipes-bsp/u-boot/u-boot-xlnx_%.bbappend to /home/bdawood/Desktop/projects/mm-chips-kernel/meta-xilinx/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-xlnx_2018.1.bb
DEBUG: Appending .bbappend file /home/bdawood/Desktop/projects/mm-chips-kernel/meta-morse-core/recipes-bsp/u-boot/u-boot-xlnx_2018.1.bbappend to /home/bdawood/Desktop/projects/mm-chips-kernel/meta-xilinx/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-xlnx_2018.1.bb
DEBUG: Executing task do_patch
NOTE: recipe u-boot-xlnx-v2018.01-xilinx-v2018.1+gitAUTOINC+949e5cb9a7-r0: task do_patch: Started
DEBUG: u-boot-xlnx-v2018.01-xilinx-v2018.1+gitAUTOINC+949e5cb9a7-r0 do_patch: Executing python function extend_recipe_sysroot
DEBUG: u-boot-xlnx-v2018.01-xilinx-v2018.1+gitAUTOINC+949e5cb9a7-r0 do_patch: Python function extend_recipe_sysroot finished
DEBUG: u-boot-xlnx-v2018.01-xilinx-v2018.1+gitAUTOINC+949e5cb9a7-r0 do_patch: Executing python function do_patch
DEBUG: u-boot-xlnx-v2018.01-xilinx-v2018.1+gitAUTOINC+949e5cb9a7-r0 do_patch: Executing python function patch_do_patch
DEBUG: u-boot-xlnx-v2018.01-xilinx-v2018.1+gitAUTOINC+949e5cb9a7-r0 do_patch: Searching for 0002-Adding-sdhci1-through-mio.patch in paths:...
DEBUG: u-boot-xlnx-v2018.01-xilinx-v2018.1+gitAUTOINC+949e5cb9a7-r0 do_patch: Searching for 0001-Add-u-boot-support-for-morse-m-series-board.patch in paths:
DEBUG: u-boot-xlnx-v2018.01-xilinx-v2018.1+gitAUTOINC+949e5cb9a7-r0 do_patch: Python function patch_do_patch finished
DEBUG: u-boot-xlnx-v2018.01-xilinx-v2018.1+gitAUTOINC+949e5cb9a7-r0 do_patch: Python function do_patch finished
NOTE: recipe u-boot-xlnx-v2018.01-xilinx-v2018.1+gitAUTOINC+949e5cb9a7-r0: task do_patch: Failed
DEBUG: Teardown for bitbake-worker
NOTE: Tasks Summary: Attempted 500 tasks of which 499 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
/home/bdawood/Desktop/projects/mm-chips-kernel/meta-xilinx/meta-xilinx- bsp/recipes-bsp/u-boot/u-boot-xlnx_2018.1.bb:do_patch
Summary: There were 2 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.