Modify

Opened 10 years ago

Closed 10 years ago

#3508 closed defect (wontfix)

Cannot put /etc/resolve.conf into image from files/ directory

Reported by: camh <openwrt@…> Owned by: developers
Priority: normal Milestone:
Component: base system Version:
Keywords: Cc:

Description

When putting /etc/resolv.conf in files/ to build into the image, it fails to copy over as there is already a symlink there to /tmp/resolv.conf from base-files and cp will not write through a dangling symlink.

The solution in the attached patch is to always copy with the gnu option --remove-destination. This ensures that the files can be written.

Attachments (1)

buildroot--copy-over-symlinks (1000 bytes) - added by camh <openwrt@…> 10 years ago.
Add ability to overwrite dangling symlinks

Download all attachments as: .zip

Change History (2)

Changed 10 years ago by camh <openwrt@…>

Add ability to overwrite dangling symlinks

comment:1 Changed 10 years ago by blogic

  • Resolution set to wontfix
  • Status changed from new to closed

adapt your own makefile so it deletes the symlink. patch as supplied wont we applied, sorry

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.