Yocto doesn't support git binary diff - workaround?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Yocto doesn't support git binary diff - workaround?

跳至解决方案
6,793 次查看
chris_f
Contributor V

I'm making minor modifications to my Yocto project using a layer that includes git patch files called up by bbappend files.

This was working fine until I tried to add a new logo BMP file which causes git to produce a binary diff.

This cause bitbake to fail with:

File tools/logos/mx6ullevk.bmp: git binary diffs are not supported.
Patch 0002-First-steps-at-a-useable-python-file-to-create-bitma.patch does not apply (enforce with -f)

That's a pain. Can someone suggest a simple work around?

Build Configuration:
BB_VERSION = "1.30.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "Ubuntu-16.04"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "imx6ull14x14evk"
DISTRO = "fsl-imx-fb"
DISTRO_VERSION = "4.1.15-2.0.1"

标签 (2)
标记 (1)
1 解答
5,948 次查看
chris_f
Contributor V

I worked around the problem by storing my new bmp in base64 encoded format and using the Makefile to produce the binary. It's not nice but it works.

在原帖中查看解决方案

0 项奖励
回复
1 回复
5,949 次查看
chris_f
Contributor V

I worked around the problem by storing my new bmp in base64 encoded format and using the Makefile to produce the binary. It's not nice but it works.

0 项奖励
回复