summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/tar
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2015-07-13 12:04:46 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-07-13 13:47:27 +0100
commitbc2191d4a1e9576411c01978f467bbddcf6f3648 (patch)
tree47510142d83564813eef17c3198b0fb628c1358e /meta/recipes-extended/tar
parent7f8286fb9ec9f9d9f606c69e5abd717078ace5b2 (diff)
downloadpoky-bc2191d4a1e9576411c01978f467bbddcf6f3648.tar.gz
tar: Add symlink to tar from gtar
dpkg-deb accesses tar via "gtar", add a symlink to ensure that nativesdk for example correctly catches these accesses to tar (for buildtools-tarball). This likely also fixes on target dpkg-deb usage. [YOCTO #7988] (From OE-Core rev: 18ccd233810869c84af28783a9fa1906c1b30232) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/tar')
-rw-r--r--meta/recipes-extended/tar/tar.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-extended/tar/tar.inc b/meta/recipes-extended/tar/tar.inc
index de2ed3108e..74169274f4 100644
--- a/meta/recipes-extended/tar/tar.inc
+++ b/meta/recipes-extended/tar/tar.inc
@@ -21,12 +21,14 @@ EXTRAINSTALL_class-nativesdk = ""
21 21
22do_install () { 22do_install () {
23 autotools_do_install 23 autotools_do_install
24 ln -s tar ${D}${bindir}/gtar
24 ${EXTRAINSTALL} 25 ${EXTRAINSTALL}
25} 26}
26 27
27do_install_extra () { 28do_install_extra () {
28 install -d ${D}${base_bindir} 29 install -d ${D}${base_bindir}
29 mv ${D}${bindir}/tar ${D}${base_bindir}/tar 30 mv ${D}${bindir}/tar ${D}${base_bindir}/tar
31 mv ${D}${bindir}/gtar ${D}${base_bindir}/gtar
30 rmdir ${D}${bindir}/ 32 rmdir ${D}${bindir}/
31} 33}
32 34