From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dan.rpsys.net (5751f4a1.skybroadband.com [87.81.244.161]) by mail.openembedded.org (Postfix) with ESMTP id 6DB00607BB for ; Mon, 13 Jul 2015 11:05:02 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by dan.rpsys.net (8.14.4/8.14.4/Debian-4.1ubuntu1) with ESMTP id t6DB52W8025134 for ; Mon, 13 Jul 2015 12:05:02 +0100 Received: from dan.rpsys.net ([127.0.0.1]) by localhost (dan.rpsys.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id KRC0Jx_6qils for ; Mon, 13 Jul 2015 12:05:02 +0100 (BST) Received: from [192.168.3.10] ([192.168.3.10]) (authenticated bits=0) by dan.rpsys.net (8.14.4/8.14.4/Debian-4.1ubuntu1) with ESMTP id t6DB4kUJ025129 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NOT) for ; Mon, 13 Jul 2015 12:04:57 +0100 Message-ID: <1436785486.3310.51.camel@linuxfoundation.org> From: Richard Purdie To: openembedded-core Date: Mon, 13 Jul 2015 12:04:46 +0100 X-Mailer: Evolution 3.12.10-0ubuntu1~14.10.1 Mime-Version: 1.0 Subject: [PATCH] tar: Add symlink to tar from gtar X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Jul 2015 11:05:04 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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 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}/ }