[Contribution] PATCH: Copy symbolic links when doing a root overlay

View: New views
2 Messages — Rating Filter:   Alert me  

[Contribution] PATCH: Copy symbolic links when doing a root overlay

by El Kindi REZIG-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello guys,
When building a t2 target, you might have noticed that it's unable to copy symbolic links which bothered me a bit, so, I edited the function "copy_and_parse_from_source ()" to make it able to copy symbolic links, it solved my "copy" problems, so I want to share it with you.
Cheers
El Kindi


-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
lists@... with a subject of: unsubscribe t2

SLINK-root-overlay.patch (1K) Download Attachment

Re: [Contribution] PATCH: Copy symbolic links when doing a root overlay

by Rene Rebe :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi,

El Kindi REZIG wrote:
> Hello guys,
> When building a t2 target, you might have noticed that it's unable to
> copy symbolic links which bothered me a bit, so, I edited the function
> "copy_and_parse_from_source ()" to make it able to copy symbolic links,
> it solved my "copy" problems, so I want to share it with you.

We did not implement it initially and never really needed it as most
version control systems do not support symlinks, or have issues with
them.

Symlink should better be create with the #!ln ... shebang-like script
identifier.

Nonetheless:

Committed revision 33402.

--
   RenĂ© Rebe - ExactCODE GmbH - Europe, Germany, Berlin
   http://exactcode.de | http://t2-project.org | http://rene.rebe.name



-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
lists@... with a subject of: unsubscribe t2