[oe-commits] Tom Rini : quilt-native: Provide a new do_install based on the target one.

git version control git at git.openembedded.org
Tue Aug 17 23:42:21 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 298a48ca78b3b907fd4f6fdf71b4e8e7e7b922b1
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=298a48ca78b3b907fd4f6fdf71b4e8e7e7b922b1

Author: Tom Rini <tom_rini at mentor.com>
Date:   Tue Aug 17 16:39:34 2010 -0700

quilt-native: Provide a new do_install based on the target one.

As seen in quilt-package.inc we need to pass 'BUILD_ROOT=${D}'
to have things installed where we want.  Otherwise we end up with legacy
staging (and empty pstaging packages).  Switch to INC_PR

Signed-off-by: Tom Rini <tom_rini at mentor.com>

---

 recipes/quilt/quilt-native.inc     |    4 ++++
 recipes/quilt/quilt-native_0.48.bb |    2 +-
 recipes/quilt/quilt.inc            |    1 +
 recipes/quilt/quilt_0.48.bb        |    2 +-
 4 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/recipes/quilt/quilt-native.inc b/recipes/quilt/quilt-native.inc
index 10d8183..1306b1f 100644
--- a/recipes/quilt/quilt-native.inc
+++ b/recipes/quilt/quilt-native.inc
@@ -15,6 +15,10 @@ do_configure () {
 	oe_runconf
 }
 
+do_install () {
+	oe_runmake 'BUILD_ROOT=${D}' install
+}
+
 do_test() {
     oe_runmake check
 }
diff --git a/recipes/quilt/quilt-native_0.48.bb b/recipes/quilt/quilt-native_0.48.bb
index b180e58..efb37ca 100644
--- a/recipes/quilt/quilt-native_0.48.bb
+++ b/recipes/quilt/quilt-native_0.48.bb
@@ -1,6 +1,6 @@
 require quilt-native.inc
 
-PR="r4"
+PR = "${INC_PR}"
 
 SRC_URI_append = "file://fix_new_GNU_patch_detection.patch"
 
diff --git a/recipes/quilt/quilt.inc b/recipes/quilt/quilt.inc
index a9ed163..ac657fb 100644
--- a/recipes/quilt/quilt.inc
+++ b/recipes/quilt/quilt.inc
@@ -2,6 +2,7 @@ DESCRIPTION = "Tool to work with series of patches."
 HOMEPAGE = "http://savannah.nongnu.org/projects/quilt/"
 SECTION = "devel"
 LICENSE = "GPL"
+INC_PR = "r5"
 
 SRC_URI = "http://download.savannah.gnu.org/releases/quilt/quilt-${PV}.tar.gz \
            file://install.patch \
diff --git a/recipes/quilt/quilt_0.48.bb b/recipes/quilt/quilt_0.48.bb
index 0a066df..3a6fd4b 100644
--- a/recipes/quilt/quilt_0.48.bb
+++ b/recipes/quilt/quilt_0.48.bb
@@ -1,6 +1,6 @@
 require quilt-package.inc
 
-PR="r1"
+PR="${INC_PR}"
 
 SRC_URI[md5sum] = "f77adda60039ffa753f3c584a286f12b"
 SRC_URI[sha256sum] = "73fd760d3b5cbf06417576591dc37d67380d189392db9000c21b7cbebee49ffc"





More information about the Openembedded-commits mailing list