Copy file has conflict problem

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Copy file has conflict problem

866 Views
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.

Labels (1)
0 Kudos
Reply
3 Replies

796 Views
b36401
NXP Employee
NXP Employee

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

0 Kudos
Reply

796 Views
hankwang
Contributor V

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

0 Kudos
Reply

796 Views
b36401
NXP Employee
NXP Employee

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

0 Kudos
Reply