diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-07-13 12:04:46 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-07-13 13:46:45 +0100 |
commit | 18ccd233810869c84af28783a9fa1906c1b30232 (patch) | |
tree | 9eb986247268bbe56df05c7cc82e2bd55949bee9 /meta/recipes-extended/tar/tar.inc | |
parent | e6f66370c6ce15aca18ef64491bab3dc92b80c57 (diff) | |
download | openembedded-core-18ccd233810869c84af28783a9fa1906c1b30232.tar.gz openembedded-core-18ccd233810869c84af28783a9fa1906c1b30232.tar.bz2 openembedded-core-18ccd233810869c84af28783a9fa1906c1b30232.zip |
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]
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/tar/tar.inc')
-rw-r--r-- | meta/recipes-extended/tar/tar.inc | 2 |
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 = "" do_install () { autotools_do_install + ln -s tar ${D}${bindir}/gtar ${EXTRAINSTALL} } do_install_extra () { install -d ${D}${base_bindir} mv ${D}${bindir}/tar ${D}${base_bindir}/tar + mv ${D}${bindir}/gtar ${D}${base_bindir}/gtar rmdir ${D}${bindir}/ } |