* [PATCH] tar: Add symlink to tar from gtar
@ 2015-07-13 11:04 Richard Purdie
0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2015-07-13 11:04 UTC (permalink / raw)
To: openembedded-core
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>
diff --git a/meta/recipes-extended/tar/tar.inc b/meta/recipes-extended/tar/tar.inc
index de2ed31..7416927 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}/
}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2015-07-13 11:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-13 11:04 [PATCH] tar: Add symlink to tar from gtar Richard Purdie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox