Patchwork [v2] opkg-nogpg: add file path

login
register
mail settings
Submitter Paul Eggleton
Date May 24, 2012, 4:06 p.m.
Message ID <1337875572-17969-1-git-send-email-paul.eggleton@linux.intel.com>
Download mbox | patch
Permalink /patch/28633/
State Accepted
Commit 0ddf7861d36452c0fe40b4ce439a2954de507965
Headers show

Comments

Paul Eggleton - May 24, 2012, 4:06 p.m.
There was no explicit path in FILESPATH for this recipe to allow it to
find files referred to in SRC_URI (files shared with the standard opkg
recipe). This problem may have been masked by the fetcher behaviour of
looking for files last in DL_DIR, thus if opkg has been fetched
beforehand there would have been no error.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
 meta/recipes-devtools/opkg/opkg-nogpg_0.1.8.bb |    2 ++
 1 file changed, 2 insertions(+)
Saul Wold - May 25, 2012, 4:41 p.m.
On 05/24/2012 09:06 AM, Paul Eggleton wrote:
> There was no explicit path in FILESPATH for this recipe to allow it to
> find files referred to in SRC_URI (files shared with the standard opkg
> recipe). This problem may have been masked by the fetcher behaviour of
> looking for files last in DL_DIR, thus if opkg has been fetched
> beforehand there would have been no error.
>
> Signed-off-by: Paul Eggleton<paul.eggleton@linux.intel.com>
> ---
>   meta/recipes-devtools/opkg/opkg-nogpg_0.1.8.bb |    2 ++
>   1 file changed, 2 insertions(+)
>
> diff --git a/meta/recipes-devtools/opkg/opkg-nogpg_0.1.8.bb b/meta/recipes-devtools/opkg/opkg-nogpg_0.1.8.bb
> index 259a60e..da2a39c 100644
> --- a/meta/recipes-devtools/opkg/opkg-nogpg_0.1.8.bb
> +++ b/meta/recipes-devtools/opkg/opkg-nogpg_0.1.8.bb
> @@ -3,6 +3,8 @@ require opkg_${PV}.bb
>   DEPENDS = "curl"
>   PROVIDES += "opkg"
>
> +FILESEXTRAPATHS_prepend := "${THISDIR}/opkg-${PV}:"
> +
>   EXTRA_OECONF += "--disable-gpg"
>
>   DEFAULT_PREFERENCE = "-1"

Merged into OE-Core

Thanks
	Sau!

Patch

diff --git a/meta/recipes-devtools/opkg/opkg-nogpg_0.1.8.bb b/meta/recipes-devtools/opkg/opkg-nogpg_0.1.8.bb
index 259a60e..da2a39c 100644
--- a/meta/recipes-devtools/opkg/opkg-nogpg_0.1.8.bb
+++ b/meta/recipes-devtools/opkg/opkg-nogpg_0.1.8.bb
@@ -3,6 +3,8 @@  require opkg_${PV}.bb
 DEPENDS = "curl"
 PROVIDES += "opkg"
 
+FILESEXTRAPATHS_prepend := "${THISDIR}/opkg-${PV}:"
+
 EXTRA_OECONF += "--disable-gpg"
 
 DEFAULT_PREFERENCE = "-1"