right now devtool edit-recipe has ugly tracebacks if executed w/o an EDITOR available. This happens in the build containers. It would be nice to 1) say : no EDITOR defined/available. exiting politely.... 2) provide a devtool find-recipe which prints out the path to the recipe.
I have pushed the patch to mailing list for review. http://lists.openembedded.org/pipermail/openembedded-core/2017-June/138842.html
Patch merged into OE-Core http://git.openembedded.org/openembedded-core/commit/?id=5a16b3c804c5eca331a1c08a7ce31a54909af105 and Poky http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=819179d775ca084bcec6a86cd74d0c0c18278f12
Changes have been verified. devtool find-recipe was added and in case of no editor available devtoot edit-recipe simply returned /bin/sh: 1: vi: not found ERROR: Execution of 'vi' failed:
IT seems like edit-recipe and find-recipe functionality is already being tested in oeselftest. Does your enhancement require any other automated test other than the existing once.
(In reply to comment #4) > IT seems like edit-recipe and find-recipe functionality is already being > tested in oeselftest. > Does your enhancement require any other automated test other than the > existing once. No, existing one should be sufficient to cover the scope of this issue. Thanks.
Bug have been resolved and verified