diff options
author | Ioan-Adrian Ratiu <adrian.ratiu@ni.com> | 2017-08-21 20:09:35 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-08-23 12:06:51 +0100 |
commit | e36fbb338232005c0b6db43239cb539c746215bf (patch) | |
tree | 90994f60f2a97d239767dbd607f9b6ef8e13bf7e /meta-skeleton | |
parent | 06ff0a9c8a26e394d65cf00ec6b9f1d1958c7fcf (diff) | |
download | poky-e36fbb338232005c0b6db43239cb539c746215bf.tar.gz |
oe/path.py: copyhardlinktree: don't overwrite existing symlinks
Before GNU tar 1.24, only the archive creation command had the '-h'
argument to preserve and follow symlinks. After >= 1.24 via commit
14efeb9f956e38d7be (tar: --dereference consistency) the capability to
preserve symlinks was also added to the archive extraction command.
-h is default at archive creation but is not default at extraction,
meaning that it will replace symlinks with directories even if the
original filesystem directory tree and archive contains them.
Add -h to the copyhardlinktree extraction step so the build can
support symlinks in variables like ${DEPLOY_DIR_IPK/RPM/DEB}.
(From OE-Core rev: c1b73fe26540c38086e259be6eb313e0826dceed)
Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-skeleton')
0 files changed, 0 insertions, 0 deletions