summaryrefslogtreecommitdiffstats
path: root/meta-skeleton
diff options
context:
space:
mode:
authorJukka Rissanen <jukka.rissanen@linux.intel.com>2014-03-26 16:40:26 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-03-27 09:42:06 +0000
commit315542df9a59b53e500a328d8c3d739b3dad17d5 (patch)
tree7971f488c9e2aff1d869a174c945063acd6661d1 /meta-skeleton
parent7f880e2980bbc47198a107b4d1248a765acd00fc (diff)
downloadpoky-315542df9a59b53e500a328d8c3d739b3dad17d5.tar.gz
meta-skeleton: Add name attribute to SRC_URI
The SRCREV_machine line does not work without having name=machine attribute in SRC_URI. This error is seen if the custom kernel recipe is used without the name attribute: NOTE: Error during finalise of .../linux-yocto-custom.bb ERROR: ExpansionError during parsing .../linux-yocto-custom.bb: Failure expanding variable do_patch: ExpansionError: Failure expanding variable SRCPV, expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception FetchError: Fetcher failure for URL: 'git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git;protocol=git;nocheckout=1'. Please set a valid SRCREV for url ['SRCREV_default_pn-linux-yocto-custom', 'SRCREV_default', 'SRCREV_pn-linux-yocto-custom', 'SRCREV'] (possible key names are git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git;protocol=git;nocheckout=1, or use a ;rev=X URL parameter) (From OE-Core rev: 760ae021fe1714d04c34bc00d472e2d756b3823a) Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-skeleton')
-rw-r--r--meta-skeleton/recipes-kernel/linux/linux-yocto-custom.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-skeleton/recipes-kernel/linux/linux-yocto-custom.bb b/meta-skeleton/recipes-kernel/linux/linux-yocto-custom.bb
index 42162f3c4a..c3291064bb 100644
--- a/meta-skeleton/recipes-kernel/linux/linux-yocto-custom.bb
+++ b/meta-skeleton/recipes-kernel/linux/linux-yocto-custom.bb
@@ -46,7 +46,7 @@ require recipes-kernel/linux/linux-yocto.inc
46 46
47# Override SRC_URI in a bbappend file to point at a different source 47# Override SRC_URI in a bbappend file to point at a different source
48# tree if you do not want to build from Linus' tree. 48# tree if you do not want to build from Linus' tree.
49SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git;protocol=git;nocheckout=1" 49SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git;protocol=git;nocheckout=1;name=machine"
50 50
51LINUX_VERSION ?= "3.4" 51LINUX_VERSION ?= "3.4"
52LINUX_VERSION_EXTENSION ?= "-custom" 52LINUX_VERSION_EXTENSION ?= "-custom"