How to apply patch manually?

marizonne.villafranc
Wed, 16 Jun 2021 03:46:59 +0000
Yocto Project

Hi,

I got the following error when integrating mender in Yocto Zues release.
How to perform patch manually?

ERROR: u-boot-variscite-1.0-r0 do_patch: Command Error: ‘quilt --quiltrc /home/herodev/mender-variscite-zeus/build/tmp/work/imx6ul_var_dart-fslc-linux-gnueabi/u-boot-variscite/1.0-r0/recipe-sysroot-native/etc/quiltrc push’ exited with 0 Output:
Applying patch 0001-Switch-to-CONFIG_DISTRO_DEFAULTS-for-bootcmd.patch
patching file configs/mx6ul_var_dart_mmc_defconfig
patching file include/configs/mx6ul_var_dart.h
Hunk #3 FAILED at 123.
1 out of 4 hunks FAILED – rejects in file include/configs/mx6ul_var_dart.h
Patch 0001-Switch-to-CONFIG_DISTRO_DEFAULTS-for-bootcmd.patch does not apply (enforce with -f)
ERROR: Logfile of failure stored in: /home/herodev/mender-variscite-zeus/build/tmp/work/imx6ul_var_dart-fslc-linux-gnueabi/u-boot-variscite/1.0-r0/temp/log.do_patch.6553
ERROR: Task (/home/herodev/mender-variscite-zeus/sources/meta-variscite-imx/recipes-bsp/u-boot/u-boot-variscite.bb:do_patch) failed with exit code ‘1’

4 posts - 2 participants