Copy file has conflict problem

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

Copy file has conflict problem

920 次查看
hankwang
Contributor V

Hi , I have a problem that i want to modify "issue" file in the /etc/issue. i crated a bb file and use below command

install -m 0755 ${WORKDIR}/etc/issue ${D}${sysconfdir}/issue

When i built the rootfs image, the message will show error " file /etc/issue conflicts between attempted installs of extendfile -1-r0.cortexa7hf_neon and base-files-3.0.14-r89.rsb201.

For this problem, how can i to do ?  

thanks.

标签 (1)
0 项奖励
回复
3 回复数

850 次查看
b36401
NXP Employee
NXP Employee

Please try to replace "install" command with simple "cp -p".

0 项奖励
回复

850 次查看
hankwang
Contributor V

Hi , We have still the same error using "cp - p".

0 项奖励
回复

850 次查看
b36401
NXP Employee
NXP Employee

Please try to add "--force" option to cp command.

0 项奖励
回复