[oe] [PATCH 5/7] device-mapper_1.02.28.bb: Get rid of legacy staging

Khem Raj raj.khem at gmail.com
Wed Aug 4 18:58:03 UTC 2010


Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 recipes/device-mapper/device-mapper_1.02.28.bb |   13 +++----------
 1 files changed, 3 insertions(+), 10 deletions(-)

diff --git a/recipes/device-mapper/device-mapper_1.02.28.bb b/recipes/device-mapper/device-mapper_1.02.28.bb
index bd0cbb9..075d34b 100644
--- a/recipes/device-mapper/device-mapper_1.02.28.bb
+++ b/recipes/device-mapper/device-mapper_1.02.28.bb
@@ -4,13 +4,15 @@ that supports logical volume management. It is required by LVM2 and EVMS. \
 The original LVM (included in stock 2.4 kernels) does not use it."
 LICENSE = "GPL"
 
+PR = "r1"
+
 S = "${WORKDIR}/${PN}.${PV}"
 
 SRC_URI = "ftp://sources.redhat.com/pub/dm/device-mapper.${PV}.tgz \
        file://devmap-mknod-busybox.patch \
 	   file://remove_insanity.patch "
 
-inherit autotools_stage update-rc.d
+inherit autotools update-rc.d
 AUTOTOOLS_STAGE_PKGCONFIG = "1"
 
 # The install-script will fail without this.
@@ -27,14 +29,5 @@ do_install_append() {
 
 FILES_${PN}-dev += "${libdir}/ioctl/*.a"
 
-do_stage_append() {
-	install -d ${STAGING_LIBDIR}/pkgconfig/
-	for pc in ${S}/*/*.pc ; do
-		cp $pc ${STAGING_LIBDIR}/pkgconfig/
-		cp $pc ${STAGING_LIBDIR}/pkgconfig/$(echo $(basename $pc) | sed s:lib::g)
-	done
-}
-
-
 SRC_URI[md5sum] = "c9ae0776994a419f9e1ba842164bb626"
 SRC_URI[sha256sum] = "24c7887fe896325a6cdc86b8beeb0d9c2de8b1c4cb20f53c2dc8f90963fc39bf"
-- 
1.7.1





More information about the Openembedded-devel mailing list