$ yocto-bsp create test i386 Checking basic git connectivity... Done. Would you like to use the default (3.8) kernel? (y/n) [default: y] y Do you need a new machine branch for this BSP (the alternative is to re-use an existing branch)? [y/n] [default: y] n Getting branches from remote repo None... Traceback (most recent call last): File "/home/build/git/poky/scripts/yocto-bsp", line 150, in <module> ret = main() File "/home/build/git/poky/scripts/yocto-bsp", line 145, in main invoke_subcommand(args, parser, yocto_bsp_help_usage, subcommands) File "/home/build/git/poky/scripts/lib/bsp/help.py", line 73, in invoke_subcommand subcommands.get(args[0], subcommand_error)[0](args[1:], usage) File "/home/build/git/poky/scripts/yocto-bsp", line 89, in yocto_bsp_create_subcommand yocto_bsp_create(machine, karch, scripts_path, bsp_output_dir, options.codedump, options.properties_file) File "/home/build/git/poky/scripts/lib/bsp/engine.py", line 1450, in yocto_bsp_create yocto_common_create(machine, arch, scripts_path, bsp_output_dir, codedump, properties_file, properties) SyntaxError: function specified for 'gen' property returned nothing : input type:"choicelist" name:"existing_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard:standard/common-pc" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/base"
Using poky/master commit f41b7a7d4d0463a0dfafe6621d01680b81798019 [trz@empanada build]$ yocto-bsp create test i386 Checking basic git connectivity... Done. Would you like to use the default (3.8) kernel? (y/n) [default: y] Do you need a new machine branch for this BSP (the alternative is to re-use an existing branch)? [y/n] [default: y] Getting branches from remote repo git://git.yoctoproject.org/linux-yocto-3.8.git... Please choose a machine branch to base this BSP on: [default: standard/base] 1) standard/arm-versatile-926ejs 2) standard/base 3) standard/beagleboard 4) standard/ck 5) standard/common-pc/atom-pc 6) standard/common-pc/base 7) standard/crownbay 8) standard/edf 9) standard/emenlow 10) standard/fri2 11) standard/fsl-mpc8315e-rdb 12) standard/minnow 13) standard/mti-malta32 14) standard/mti-malta64 15) standard/qemuppc 16) standard/routerstationpro 17) standard/sys940x
It seems yocto-bsp doesn't like my use of ${TOPDIR} in bblayers.conf: $ . oe-init-build-env $ sed -i "s#$(dirname $PWD)#\${TOPDIR}/..#g" conf/bblayers.conf $ cd .. $ yocto-bsp create test i386
Can you please then change the bug title and change the importance - though it's something that should be fixed, I don't think it's Medium+.
I don't have permission to change the Medium+ importance.
Either do I, adding Darren.
Changed to Medium, Tom, please move to Accepted per comment 3.
Works fine here with TOPDIR: # LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf # changes incompatibly LCONF_VERSION = "6" BBPATH = "${TOPDIR}" BBFILES ?= "" BBLAYERS ?= " \ /home/trz/yocto/yocto-bsp-test/meta \ /home/trz/yocto/yocto-bsp-test/meta-yocto \ /home/trz/yocto/yocto-bsp-test/meta-yocto-bsp \ ...
(In reply to comment #7) > Works fine here with TOPDIR: > > # LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf > > # changes incompatibly > > LCONF_VERSION = "6" > > BBPATH = "${TOPDIR}" > BBFILES ?= "" > > BBLAYERS ?= " \ > > /home/trz/yocto/yocto-bsp-test/meta \ > > /home/trz/yocto/yocto-bsp-test/meta-yocto \ > > /home/trz/yocto/yocto-bsp-test/meta-yocto-bsp \ > > ... But you are not using ${TOPDIR} variable in BBLAYERS as indicated in the bug description.
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=104166c804e9068d85ccdaa887a33df72c8aeb85
verified.