On 07/12/2013 08:10 AM, Emilia Ciobanu wrote:
Git packages should include git token inside the PV variable.

Signed-off-by: Emilia Ciobanu <emilia.maria.silvia.ciob...@intel.com>
---
  meta/recipes-devtools/mtd/mtd-utils_1.5.0.bb |    2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/mtd/mtd-utils_1.5.0.bb 
b/meta/recipes-devtools/mtd/mtd-utils_1.5.0.bb
index 5797204..5e65a69 100644
--- a/meta/recipes-devtools/mtd/mtd-utils_1.5.0.bb
+++ b/meta/recipes-devtools/mtd/mtd-utils_1.5.0.bb
@@ -12,7 +12,7 @@ SRC_URI = "git://git.infradead.org/mtd-utils.git;protocol=git 
\
          file://mtd-utils-fix-corrupt-cleanmarker-with-flash_erase--j-command.patch 
"

  S = "${WORKDIR}/git/"
-
+PV = "1.5.0+git${SRCPV}"
  PR = "r3"

  EXTRA_OEMAKE = "'CC=${CC}' 'RANLIB=${RANLIB}' 'AR=${AR}' 'CFLAGS=${CFLAGS} 
-I${S}/include -DWITHOUT_XATTR' 'BUILDDIR=${S}'"


This change seems to have caused a fetcher failure,

ERROR: Task 5645 
(/srv/ssd/sgw/poky/meta/recipes-connectivity/avahi/avahi_0.6.31.bb, do_install) 
failed with exit code '1'
WARNING: Failed to fetch URL file://add-exclusion-to-mkfs-jffs2-git-2.patch, 
attempting MIRRORS if available
ERROR: Fetcher failure: Unable to find file 
file://add-exclusion-to-mkfs-jffs2-git-2.patch anywhere. The paths that were 
searched were:
    
/srv/ssd/sgw/poky/meta/recipes-devtools/mtd/mtd-utils-1.5.0+gitAUTOINC+ca39eb1d98/x86-64
    
/srv/ssd/sgw/poky/meta/recipes-devtools/mtd/mtd-utils-1.5.0+gitAUTOINC+ca39eb1d98/qemuall
    
/srv/ssd/sgw/poky/meta/recipes-devtools/mtd/mtd-utils-1.5.0+gitAUTOINC+ca39eb1d98/qemux86-64
    
/srv/ssd/sgw/poky/meta/recipes-devtools/mtd/mtd-utils-1.5.0+gitAUTOINC+ca39eb1d98/poky
    
/srv/ssd/sgw/poky/meta/recipes-devtools/mtd/mtd-utils-1.5.0+gitAUTOINC+ca39eb1d98/
    /srv/ssd/sgw/poky/meta/recipes-devtools/mtd/mtd-utils/x86-64
    /srv/ssd/sgw/poky/meta/recipes-devtools/mtd/mtd-utils/qemuall
    /srv/ssd/sgw/poky/meta/recipes-devtools/mtd/mtd-utils/qemux86-64
    /srv/ssd/sgw/poky/meta/recipes-devtools/mtd/mtd-utils/poky
    /srv/ssd/sgw/poky/meta/recipes-devtools/mtd/mtd-utils/
    /srv/ssd/sgw/poky/meta/recipes-devtools/mtd/files/x86-64
    /srv/ssd/sgw/poky/meta/recipes-devtools/mtd/files/qemuall
    /srv/ssd/sgw/poky/meta/recipes-devtools/mtd/files/qemux86-64
    /srv/ssd/sgw/poky/meta/recipes-devtools/mtd/files/poky
    /srv/ssd/sgw/poky/meta/recipes-devtools/mtd/files/
    /intel/downloads
ERROR: Function failed: Fetcher failure for URL: 
'file://add-exclusion-to-mkfs-jffs2-git-2.patch'. Unable to fetch URL from any 
source.
ERROR: Logfile of failure stored in: 
/srv/ssd/sgw/builds/world/tmp/work/x86_64-poky-linux/mtd-utils/1.5.0+gitAUTOINC+ca39eb1d98-r3/temp/log.do_fetch.32159

Likely because the patches are in a versioned directory:

meta/recipes-devtools/mtd/mtd-utils-1.5.0/add-exclusion-to-mkfs-jffs2-git-2.patch

You will need to rename that directory also to not have the version.

Sau!

_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to