Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bitbake: fix removing all generated files before re-creating them
* without split() it was trying to remove all these files as one path in quotes and failing as shown after removing --ignore-unmatch git.exc.GitCommandError: Cmd('git') failed due to: exit code(128) cmdline: git rm -rf meta-ros2-eloquent/generated-recipes meta-ros2-eloquent/conf/ros-distro/include/eloquent/generated meta-ros2-eloquent/files/eloquent/generated/newer-platform-components.list meta-ros2-eloquent/files/eloquent/generated/rosdep-resolve.yaml meta-ros2-eloquent/files/eloquent/generated/superflore-change-summary.txt stderr: 'fatal: pathspec 'meta-ros2-eloquent/generated-recipes meta-ros2-eloquent/conf/ros-distro/include/eloquent/generated meta-ros2-eloquent/files/eloquent/generated/newer-platform-components.list meta-ros2-eloquent/files/eloquent/generated/rosdep-resolve.yaml meta-ros2-eloquent/files/eloquent/generated/superflore-change-summary.txt ' did not match any files' with split() it correctly complains only about superflore-change-summary.txt which will be fixed by returning --ignore-unmatch git.exc.GitCommandError: Cmd('git') failed due to: exit code(128) cmdline: git rm -rf meta-ros2-eloquent/generated-recipes meta-ros2-eloquent/conf/ros-distro/include/eloquent/generated meta-ros2-eloquent/files/eloquent/generated/newer-platform-components.list meta-ros2-eloquent/files/eloquent/generated/rosdep-resolve.yaml meta-ros2-eloquent/files/eloquent/generated/superflore-change-summary.txt stderr: 'fatal: pathspec 'meta-ros2-eloquent/files/eloquent/generated/superflore-change-summary.txt' did not match any files' Signed-off-by: Martin Jansa <martin.jansa@lge.com>
- Loading branch information