Skip to contentSkip to conversation

opkg-nogpg: add file path

PATCH Applied Paul Eggleton 2 participants 2 messages May 24, 2012 – May 25, 2012

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 opkg-nogpg: add file path

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.

---
 meta/recipes-devtools/opkg/opkg-nogpg_0.1.8.bb |    2 ++
 1 file changed, 2 insertions(+)
meta/recipes-devtools/opkg/opkg-nogpg_0.1.8.bb +2 -0
index 259a60e..da2a39c 100644
@@ -3,6 +3,8 @@ require opkg_${PV}.bb
 DEPENDS = "curl"
 PROVIDES += "opkg"
 
+FILESEXTRAPATHS_prepend := "${THISDIR}/opkg-${PV}:"
+
 EXTRA_OECONF += "--disable-gpg"
 
 DEFAULT_PREFERENCE = "-1"
Signature · 1 line
1.7.9.5
Applied
#1 lore raw
Quoted 16 lines · Paul Eggleton

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.

---
  meta/recipes-devtools/opkg/opkg-nogpg_0.1.8.bb |    2 ++
  1 file changed, 2 insertions(+)
meta/recipes-devtools/opkg/opkg-nogpg_0.1.8.bb +0 -0
index 259a60e..da2a39c 100644

meta/recipes-devtools/opkg/opkg-nogpg_0.1.8.bb require opkg_${PV}.bb · line 10

Quoted 8 lines
meta/recipes-devtools/opkg/opkg-nogpg_0.1.8.bb +2 -0
@@ -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!