Patchwork ipkg.inc: remove unused `do_stage()`

login
register
mail settings
Submitter Paul Menzel
Date March 22, 2011, 9:59 a.m.
Message ID <1300787993.3827.18.camel@mattotaupa>
Download mbox | patch
Permalink /patch/1671/
State New, archived
Headers show

Comments

Paul Menzel - March 22, 2011, 9:59 a.m.
Date: Tue, 22 Mar 2011 09:53:17 +0100

`do_stage()` is also present in `ipkg_0.99.163.bb` which is the only recipe available for `ipkg`.

Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
---
 recipes/ipkg/ipkg.inc |   11 -----------
 1 files changed, 0 insertions(+), 11 deletions(-)
Khem Raj - March 22, 2011, 5:24 p.m.
On (22/03/11 10:59), Paul Menzel wrote:
> Date: Tue, 22 Mar 2011 09:53:17 +0100
> 
> `do_stage()` is also present in `ipkg_0.99.163.bb` which is the only recipe available for `ipkg`.
> 
> Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>

I think we do not use ipkg anywhere now a days can you instead look into
removing these bits
> ---
>  recipes/ipkg/ipkg.inc |   11 -----------
>  1 files changed, 0 insertions(+), 11 deletions(-)
> 
> diff --git a/recipes/ipkg/ipkg.inc b/recipes/ipkg/ipkg.inc
> index c28cf8b..701322c 100644
> --- a/recipes/ipkg/ipkg.inc
> +++ b/recipes/ipkg/ipkg.inc
> @@ -43,17 +43,6 @@ do_install_append() {
>  	install -m 0755 ${WORKDIR}/${INITSCRIPT_NAME} ${D}${sysconfdir}/init.d/
>  }
>  
> -do_stage() {
> -	oe_libinstall -so libipkg ${STAGING_LIBDIR}
> -	install -d ${STAGING_INCDIR}/replace/
> -	install -m 0644 replace/replace.h ${STAGING_INCDIR}/replace/
> -	install -d ${STAGING_INCDIR}/libipkg/
> -	for f in *.h
> -	do
> -		install -m 0644 $f ${STAGING_INCDIR}/libipkg/
> -	done
> -}
> -
>  #
>  # FIXME: Install /etc/ipkg.conf and /etc/ipkg/arch.conf
>  #
> -- 
> 1.7.4.1



> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Patch

diff --git a/recipes/ipkg/ipkg.inc b/recipes/ipkg/ipkg.inc
index c28cf8b..701322c 100644
--- a/recipes/ipkg/ipkg.inc
+++ b/recipes/ipkg/ipkg.inc
@@ -43,17 +43,6 @@  do_install_append() {
 	install -m 0755 ${WORKDIR}/${INITSCRIPT_NAME} ${D}${sysconfdir}/init.d/
 }
 
-do_stage() {
-	oe_libinstall -so libipkg ${STAGING_LIBDIR}
-	install -d ${STAGING_INCDIR}/replace/
-	install -m 0644 replace/replace.h ${STAGING_INCDIR}/replace/
-	install -d ${STAGING_INCDIR}/libipkg/
-	for f in *.h
-	do
-		install -m 0644 $f ${STAGING_INCDIR}/libipkg/
-	done
-}
-
 #
 # FIXME: Install /etc/ipkg.conf and /etc/ipkg/arch.conf
 #