cpb- / yocto-cooker

Meta buildtool for Yocto Project based Linux embedded systems
GNU General Public License v2.0
43 stars 22 forks source link

Error message after cooking #29

Closed cpb- closed 4 years ago

cpb- commented 4 years ago

Everything compile fine, but an error message from chef appears at the end:

[Yocto-trees@why-cpb]$ chef cook hytem-systems.menu 
Update layers in project directory
Updating source /home/testing/Build/Yocto-trees/sources/poky... 
[...]
Building target hytem-banana-zeus
[...]
NOTE: Tasks Summary: Attempted 5227 tasks of which 4790 didn't need to be rerun and all succeeded.
FATAL: build for hytem-banana-zeus failed 'Namespace' object has no attribute 'sdk'
pboettch commented 4 years ago

This is because the cook-command does not have an sdk-flag in its command line arguments.

cpb- commented 4 years ago

We could add the --sdk option for the cook command. Are you ok with this?

pboettch commented 4 years ago

Another option would be that the sdk-option is always selected if cook is used. Cook is a high-level-command, options should not be redundant. At least not too many of them.

Hmm. I don't have any real answer.

cpb- commented 4 years ago

You're right, always selecting sdk-option for cook command makes more sense than adding an option.