8 Replies Latest reply on Jun 6, 2014 2:25 PM by AlexT_Intel

    If i changed src_uri in a .bb file , what else should i need to change?

    dasan

      there is a stress.bb file.. it has content as follows..

       

      # stress .bb build file

      # Copyright (C) 2006, Advanced Micro Devices, Inc.  All Rights Reserved

      # Released under the MIT license (see /COPYING)

       

      HOMEPAGE="http://weather.ou.edu/~apw/projects/"

      DESCRIPTION = "a simple tool that imposes certain types of compute stress on UNIX-like operating systems."

      LICENSE = "GPL"

       

      inherit autotools

       

      SRC_URI="http://weather.ou.edu/~apw/projects/stress/stress-${PV}.tar.gz"

      LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"

       

      SRC_URI[md5sum] = "a607afa695a511765b40993a64c6e2f4"

      SRC_URI[sha256sum] = "369c997f65e8426ae8b318d4fdc8e6f07a311cfa77cc4b25dace465c582163c0"

       

       

      here i changed the src_uri as http://pkgs.fedoraproject.org/repo/pkgs/stress/stress-1.0.4.tar.gz/a607afa695a511765b40993a64c6e2f4/. also the homepage address.. because the i got "error 404 page not found " while fetching and i found  that stress-1.0.4.tar.gz file shifted to fedoraproject.org  but now when i build there is an error while configure it.. it shows something like

       

      ERROR: Function failed: stress: LIC_FILES_CHKSUM points to an invalid file: /home/hardcube-new/oe-core/build/out-eglibc/work/armv7ahf-vfp-angstrom-linux-gnueabi/stress-1.0.4-r0/stress-1.0.4/COPYING

      ERROR: Logfile of failure stored in: /home/hardcube-new/oe-core/build/out-eglibc/work/armv7ahf-vfp-angstrom-linux-gnueabi/stress-1.0.4-r0/temp/log.do_configure.2195