[OE-core] [PATCH] oe/path.py: copyhardlinktree: don't overwrite existing symlinks

Richard Purdie richard.purdie at linuxfoundation.org
Fri Aug 18 09:53:37 UTC 2017


On Wed, 2017-08-16 at 14:13 +0300, Ioan-Adrian Ratiu wrote:
> Starting with tar>=1.26 the default behaviour when extracting is to
> overwrite symlinks and a '-h' flag was added for tar to follow them.
> 
> The primary use case for this is to allow ${DEPLOY_DIR_IPK/RPM/DEB}
> to
> be symlinks and avoid copyhardlinktree replacing those symlinks with
> a
> normal directory.
> 
> Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu at ni.com>
> ---
>  meta/lib/oe/path.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Does the -h option exist for tar < 1.26?

Cheers,

Richard



More information about the Openembedded-core mailing list