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

login
register
mail settings
Submitter Armin Kuster
Date June 4, 2014, 11:11 p.m.
Message ID <1401923502-22673-1-git-send-email-akuster@mvista.com>
Download mbox | patch
Permalink /patch/73265/
State Superseded, archived
Headers show

Comments

Armin Kuster - June 4, 2014, 11:11 p.m.
Some files are in "S" that are needed for install.

Signed-off-by: Armin Kuster <akuster@mvista.com>
---
 meta-networking/recipes-daemons/radvd/radvd.inc | 1 +
 1 file changed, 1 insertion(+)
Otavio Salvador - June 4, 2014, 11:36 p.m.
On Wed, Jun 4, 2014 at 8:11 PM, Armin Kuster <akuster@mvista.com> wrote:
> Some files are in "S" that are needed for install.
>
> Signed-off-by: Armin Kuster <akuster@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; \
Armin Kuster - June 4, 2014, 11:51 p.m.
On 06/04/2014 04:36 PM, Otavio Salvador wrote:
> On Wed, Jun 4, 2014 at 8:11 PM, Armin Kuster <akuster@mvista.com> wrote:
>> Some files are in "S" that are needed for install.
>>
>> Signed-off-by: Armin Kuster <akuster@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'...
ok.
>
>>       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; \

thanks.

I will sent out V2 shortly.

- Armin
>
>

Patch

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}
     for i in radvd.conf.example README; do \
         install -m 0644 $i ${D}${docdir}/radvd; \
     done