Bug 2715 - yocto-bsp create fails in 1.1.2
Summary: yocto-bsp create fails in 1.1.2
Status: RESOLVED INVALID
Alias: None
Product: Kernel
Classification: Yocto Project Subprojects
Component: kernel-configuration (show other bugs)
Version: 1.1.2
Hardware: x86 Multiple
: Undecided normal
Target Milestone: ---
Assignee: Tom Zanussi
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2012-07-07 19:25 UTC by Laurentiu Serban
Modified: 2012-07-08 21:59 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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