我发现在Yocto工作流程中使用devtool
的唯一相关且易于理解的示例是Video from Tim Orling in Embedded Linux Conference
在他的工作流程中:
devtool add
添加nano
devtool build
来构建它devtool deploy-target
将其部署在qemu
devtool undeploy-target
删除nano
devtool finish nano ../meta-foo
我尝试做同样的事情,但finish
devtool
当我尝试devtool finish --help
devtool finish --help
ERROR: argument <subcommand>: invalid choice: 'finish' (choose from 'create-workspace', 'add', 'modify', 'extract', 'sync', 'update-recipe', 'status', 'reset', 'build-image', 'deploy-target', 'undeploy-target', 'build', 'search', 'upgrade', 'edit-recipe', 'configure-help')
devtool finish
的等效子命令是什么。是devtool reset
吗?
Ubuntu 16.04.4 LTS 虚拟机
Bitbake版本:1.30.0
devtool
信息
usage: devtool [--basepath BASEPATH] [--bbpath BBPATH] [-d] [-q]
[--color COLOR] [-h]
<subcommand> ...
OpenEmbedded development tool
optional arguments:
--basepath BASEPATH Base directory of SDK / build directory
--bbpath BBPATH Explicitly specify the BBPATH, rather than getting it
from the metadata
-d, --debug Enable debug output
-q, --quiet Print only errors
--color COLOR Colorize output (where COLOR is auto, always, never)
-h, --help show this help message and exit
subcommands:
Beginning work on a recipe:
add Add a new recipe
modify Modify the source for an existing recipe
upgrade Upgrade an existing recipe
Getting information:
status Show workspace status
search Search available recipes
Working on a recipe in the workspace:
build Build a recipe
edit-recipe Edit a recipe file in your workspace
configure-help Get help on configure script options
update-recipe Apply changes from external source tree to recipe
reset Remove a recipe from your workspace
Testing changes on target:
deploy-target Deploy recipe output files to live target machine
undeploy-target Undeploy recipe output files in live target machine
build-image Build image including workspace recipe packages
Advanced:
create-workspace Set up workspace in an alternative location
extract Extract the source for an existing recipe
sync Synchronize the source tree for an existing recipe
Use devtool <subcommand> --help to get help on a specific command
答案 0 :(得分:0)
根据Yocto 2.1.2 Development Manual devtool
manual对于krogoth
创建的食谱需要手动放入自定义meta-foo
层中。
对于其他版本,devtool finish recipe-name ../meta-foo
应该为您完成。