[oe-commits] Tom Rini : tar: Switch to INC_PR and fix native builds.
git version control
git at git.openembedded.org
Thu Sep 23 21:07:56 UTC 2010
Module: openembedded.git
Branch: org.openembedded.dev
Commit: eacbc2153d217d5a0d6e5fc0eeb6e028aa57a3d2
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=eacbc2153d217d5a0d6e5fc0eeb6e028aa57a3d2
Author: Tom Rini <tom_rini at mentor.com>
Date: Thu Sep 23 12:31:59 2010 -0700
tar: Switch to INC_PR and fix native builds.
We don't want u-a on native.
Signed-off-by: Tom Rini <tom_rini at mentor.com>
---
recipes/tar/tar.inc | 5 +++--
recipes/tar/tar_1.18.bb | 2 ++
recipes/tar/tar_1.20.bb | 2 ++
recipes/tar/tar_1.23.bb | 2 ++
4 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/recipes/tar/tar.inc b/recipes/tar/tar.inc
index 5f9c899..0e34855 100644
--- a/recipes/tar/tar.inc
+++ b/recipes/tar/tar.inc
@@ -2,14 +2,15 @@ DESCRIPTION = "GNU tar saves many files together into a single tape \
or disk archive, and can restore individual files from the archive."
SECTION = "base"
LICENSE = "GPLv3"
+INC_PR = "r1"
BBCLASSEXTEND = "native"
SRC_URI = "${GNU_MIRROR}/tar/tar-${PV}.tar.bz2"
inherit autotools gettext
-do_install () {
- autotools_do_install
+# We only want rename for update-alternatives on the target
+do_install_append_pn-tar () {
install -d ${D}${base_bindir}
mv ${D}${bindir}/tar ${D}${base_bindir}/tar.${PN}
mv ${D}${libexecdir}/rmt ${D}${libexecdir}/rmt.${PN}
diff --git a/recipes/tar/tar_1.18.bb b/recipes/tar/tar_1.18.bb
index 74ebdf4..0e4adc9 100644
--- a/recipes/tar/tar_1.18.bb
+++ b/recipes/tar/tar_1.18.bb
@@ -1,4 +1,6 @@
require tar.inc
+PR = "${INC_PR}"
+
SRC_URI[md5sum] = "70170208d7c1bb9ab40120579434b6a3"
SRC_URI[sha256sum] = "44944ee0427c8e0d8dbaa0b8f900073a7456819610cc521c53630c3eb117cf5e"
diff --git a/recipes/tar/tar_1.20.bb b/recipes/tar/tar_1.20.bb
index d224c15..4e3e8e0 100644
--- a/recipes/tar/tar_1.20.bb
+++ b/recipes/tar/tar_1.20.bb
@@ -1,4 +1,6 @@
require tar.inc
+PR = "${INC_PR}"
+
SRC_URI[md5sum] = "1a7e17f27abf583b3b0bc059a827e68b"
SRC_URI[sha256sum] = "be8bf33afb5adc2377e45d94693ffd46b75f267f9b808df0c7006e51211f9deb"
diff --git a/recipes/tar/tar_1.23.bb b/recipes/tar/tar_1.23.bb
index 89a0243..dc37247 100644
--- a/recipes/tar/tar_1.23.bb
+++ b/recipes/tar/tar_1.23.bb
@@ -1,4 +1,6 @@
require tar.inc
+PR = "${INC_PR}"
+
SRC_URI[md5sum] = "41e2ca4b924ec7860e51b43ad06cdb7e"
SRC_URI[sha256sum] = "c9328372db62fbb1d94c9e4e3cefc961111af46de47085b635359c00a0eebe36"
More information about the Openembedded-commits
mailing list