Bug 2715

Summary: yocto-bsp create fails in 1.1.2
Product: [Yocto Project Subprojects] Kernel Reporter: Laurentiu Serban <laurentiu.serban>
Component: kernel-configurationAssignee: Tom Zanussi <tom.zanussi>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: Undecided CC: yp.kernel.watcher, yp.watcher
Version: 1.1.2   
Target Milestone: ---   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Laurentiu Serban 2012-07-07 19:25:25 UTC
The error message is below:
lserban@lserban-Vostro-460:~/work/edison$ yocto-bsp create myqemuppcX powerpc
Would you like to use the default (3.2) 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] y
Getting branches from remote repo None...
Traceback (most recent call last):
  File "/home/lserban/work/master/scripts/yocto-bsp", line 137, in <module>
    ret = main()
  File "/home/lserban/work/master/scripts/yocto-bsp", line 132, in main
    invoke_subcommand(args, parser, yocto_bsp_help_usage, subcommands)
  File "/home/lserban/work/master/scripts/lib/bsp/help.py", line 73, in invoke_subcommand
    subcommands.get(args[0], subcommand_error)[0](args[1:], usage)
  File "/home/lserban/work/master/scripts/yocto-bsp", line 76, in yocto_bsp_create_subcommand
    yocto_bsp_create(machine, karch, scripts_path, bsp_output_dir, options.codedump, options.properties_file)
  File "/home/lserban/work/master/scripts/lib/bsp/engine.py", line 1243, in yocto_bsp_create
    run_program_lines(program_lines, codedump)
SyntaxError: function specified for 'gen' property returned nothing : input type:"choicelist" name:"new_kbranch" gen:"bsp.kernel.all_branches" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/default"
Comment 1 Tom Zanussi 2012-07-08 14:43:20 UTC
1.1.2?  yocto-bsp is a 1.2 addition.
Comment 2 Laurentiu Serban 2012-07-08 21:59:59 UTC
Sorry.
Forgot about that
Setting this to invalid