在 devtool 命令行工具中,finish 子命令是被删除还是被替换?
In devtool command line tool is finish subcommand removed or replaced?
我发现在 Yocto Workflow 中使用 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
我试过做同样的事情但是 devtool
中没有子命令 finish
当我尝试 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
克罗戈斯
为 krogoth
根据 Yocto 2.1.2 Development Manual devtool
manual
创建的配方需要手动放入自定义meta-foo
层。
对于其他版本 devtool finish recipe-name ../meta-foo
应该为您完成。
我发现在 Yocto Workflow 中使用 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
我试过做同样的事情但是 devtool
finish
当我尝试 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
克罗戈斯
为 krogoth
根据 Yocto 2.1.2 Development Manual devtool
manual
创建的配方需要手动放入自定义meta-foo
层。
对于其他版本 devtool finish recipe-name ../meta-foo
应该为您完成。