[oe] [meta-networking][PATCH] radvd: fix install issue for S!=B

Otavio Salvador otavio at ossystems.com.br
Wed Jun 4 23:36:40 UTC 2014


On Wed, Jun 4, 2014 at 8:11 PM, Armin Kuster <akuster at mvista.com> wrote:
> Some files are in "S" that are needed for install.
>
> Signed-off-by: Armin Kuster <akuster at mvista.com>
> ---
>  meta-networking/recipes-daemons/radvd/radvd.inc | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/meta-networking/recipes-daemons/radvd/radvd.inc b/meta-networking/recipes-daemons/radvd/radvd.inc
> index 9e19401..b7353fc 100644
> --- a/meta-networking/recipes-daemons/radvd/radvd.inc
> +++ b/meta-networking/recipes-daemons/radvd/radvd.inc
> @@ -33,6 +33,7 @@ do_install_append () {
>
>      install -m 0644 ${WORKDIR}/volatiles.03_radvd ${D}${sysconfdir}/default/volatiles/volatiles.03_radvd
>      # Documentation
> +    cd ${S}

Don't 'cd'...

>      for i in radvd.conf.example README; do \
>          install -m 0644 $i ${D}${docdir}/radvd; \
>      done

Please use:

install -m 0644 ${S}/$i ${D}${docdir}/radvd; \


-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750



More information about the Openembedded-devel mailing list