Patchwork libcap_1.10: remove `do_stage()`

login
register
mail settings
Submitter Paul Menzel
Date Jan. 9, 2011, 3:14 p.m.
Message ID <1294586079.4036.63.camel@mattotaupa>
Download mbox | patch
Permalink /patch/203/
State Superseded
Headers show

Comments

Paul Menzel - Jan. 9, 2011, 3:14 p.m.
Date: Sun, 9 Jan 2011 15:59:33 +0100

Convert `libcap_1.10` to new staging system by removing `do_stage()` [1].

This change is build tested with the following configuration and `PREFERRED_BINUTILS_VERSION = "2.21"`.

        Build Configuration:
        BB_VERSION        = "1.10.2"
        METADATA_BRANCH   = "org.openembedded.dev"
        METADATA_REVISION = "224c193"
        TARGET_ARCH       = "arm"
        TARGET_OS         = "linux-uclibceabi"
        MACHINE           = "beagleboard"
        DISTRO            = "minimal-uclibc"
        DISTRO_VERSION    = "dev-snapshot-20110109"
        TARGET_FPU        = "soft"

[1] http://wiki.openembedded.org/index.php/Legacy_staging

Signed-off-by: Paul Menzel <paul@gw90.de>
---
 recipes/libcap/libcap_1.10.bb |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
Khem Raj - Jan. 9, 2011, 7:03 p.m.
On 1/9/2011 7:14 AM, Paul Menzel wrote:
> Date: Sun, 9 Jan 2011 15:59:33 +0100
>
> Convert `libcap_1.10` to new staging system by removing `do_stage()` [1].
>
> This change is build tested with the following configuration and `PREFERRED_BINUTILS_VERSION = "2.21"`.
>
>          Build Configuration:
>          BB_VERSION        = "1.10.2"
>          METADATA_BRANCH   = "org.openembedded.dev"
>          METADATA_REVISION = "224c193"
>          TARGET_ARCH       = "arm"
>          TARGET_OS         = "linux-uclibceabi"
>          MACHINE           = "beagleboard"
>          DISTRO            = "minimal-uclibc"
>          DISTRO_VERSION    = "dev-snapshot-20110109"
>          TARGET_FPU        = "soft"
>
> [1] http://wiki.openembedded.org/index.php/Legacy_staging
>
> Signed-off-by: Paul Menzel<paul@gw90.de>

this patch is malformed and have spurious line breaks and other stuff. 
Please redo and send again

> ---
>   recipes/libcap/libcap_1.10.bb |    6 ------
>   1 files changed, 0 insertions(+), 6 deletions(-)
>
> diff --git a/recipes/libcap/libcap_1.10.bb b/recipes/libcap/libcap_1.10.bb
> index e6ca393..af5600b 100644
> --- a/recipes/libcap/libcap_1.10.bb
> +++ b/recipes/libcap/libcap_1.10.bb
> @@ -22,11 +22,5 @@ do_install() {
>          oe_libinstall -s -C libcap libcap ${D}${libdir}
>   }
>
> -do_stage() {
> -       install -d ${STAGING_INCDIR}/sys
> -       install -m 0644 libcap/include/sys/capability.h ${STAGING_INCDIR}/sys/
> -       oe_libinstall -s -C libcap libcap ${STAGING_LIBDIR}
> -}
> -
>   SRC_URI[md5sum] = "4426a413128142cab89eb2e6f13d8571"
>   SRC_URI[sha256sum] = "66c3f033fdc8f9ba0bd9d0ae2d1f2c11f9fa51bf0d1418e5cb75e29e6577a5bc"
>
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Patch

diff --git a/recipes/libcap/libcap_1.10.bb b/recipes/libcap/libcap_1.10.bb
index e6ca393..af5600b 100644
--- a/recipes/libcap/libcap_1.10.bb
+++ b/recipes/libcap/libcap_1.10.bb
@@ -22,11 +22,5 @@  do_install() {
        oe_libinstall -s -C libcap libcap ${D}${libdir}
 }
 
-do_stage() {
-       install -d ${STAGING_INCDIR}/sys
-       install -m 0644 libcap/include/sys/capability.h ${STAGING_INCDIR}/sys/
-       oe_libinstall -s -C libcap libcap ${STAGING_LIBDIR}
-}
-
 SRC_URI[md5sum] = "4426a413128142cab89eb2e6f13d8571"
 SRC_URI[sha256sum] = "66c3f033fdc8f9ba0bd9d0ae2d1f2c11f9fa51bf0d1418e5cb75e29e6577a5bc"