devtool: build: add deploy to the tasks run for devtool build
PATCH 1/1 devtool: build: add deploy to the tasks run for devtool build
Right now devtool build runs populate_sysroot and packagedata tasks. Adding deploy to this list so that the newly built artifacts are available in the deploy directory.
[YOCTO #13382]
--- scripts/lib/devtool/build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/lib/devtool/build.py +1 -1
@@ -37,7 +37,7 @@ def _set_file_values(fn, values): return updated def _get_build_tasks(config): - tasks = config.get('Build', 'build_task', 'populate_sysroot,packagedata').split(',') + tasks = config.get('Build', 'build_task', 'deploy,populate_sysroot,packagedata').split(',') return ['do_%s' % task.strip() for task in tasks] def build(args, config, basepath, workspace):
Signature · 1 line
2.7.4
Quoted 29 lines · Jaewon Lee
Right now
devtool buildrunspopulate_sysrootand packagedata tasks.
Adding deploy to this list so that the newly built artifacts are available in the deploy directory.Signed-off-by Jaewon Lee <[email protected]>[YOCTO #13382]
Signed-off-by Jaewon Lee <[email protected]>--- scripts/lib/devtool/build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)scripts/lib/devtool/build.py +1
-1@@ -37,7 +37,7 @@ def _set_file_values(fn, values): return updated def _get_build_tasks(config): - tasks = config.get('Build', 'build_task', 'populate_sysroot,packagedata').split(',') + tasks = config.get('Build', 'build_task', 'deploy,populate_sysroot,packagedata').split(',') return ['do_%s' % task.strip() for task in tasks]
Quoted 1 line
def
build(args, config, basepath, workspace):
This frustrates me a bit.
The key question you have to ask here is "What happens for recipes that don't have a do_deploy task?".
The answer is it breaks:
https://autobuilder.yoctoproject.org/typhoon/#/builders/56/builds/506
*Please*, when sending devtool patches, test with:
oe-selftest -r devtool
Cheers,
Richard
Sorry about that Richard
Will be sure to test with that
Thanks,
Jaewon
Quoted 55 lines · Richard Purdie
Quoted 31 lines · Jaewon Lee
Right now
devtool buildrunspopulate_sysrootand packagedata tasks.
Adding deploy to this list so that the newly built artifacts are available in the deploy directory.Signed-off-by Jaewon Lee <[email protected]>[YOCTO #13382]
Signed-off-by Jaewon Lee <[email protected]>---
scripts/lib/devtool/build.py| 2 +-1 file changed, 1 insertion(+), 1 deletion(-)scripts/lib/devtool/build.py +0
-0@@ -37,7 +37,7 @@ def _set_file_values(fn, values): return updateddef
_get_build_tasks(config):
- tasks = config.get('Build', 'build_task',
'populate_sysroot,packagedata').split(',')
+ tasks = config.get('Build', 'build_task',
'deploy,populate_sysroot,packagedata').split(',')
return ['do_%s' %task.strip()for task in tasks]Quoted 1 line
def
build(args, config, basepath, workspace):This frustrates me a bit.
The key question you have to ask here is "What happens for recipes that don't have a
do_deploytask?".The answer is it breaks:
https://autobuilder.yoctoproject.org/typhoon/#/builders/56/builds/506
*Please*, when sending devtool patches, test with:
oe-selftest -r devtool
Cheers,
Richard