While working on bug 14040, no testcase has been found for the "-b" flag in "devtool add -b". We need to add it to avoid any future regression. I guess we'll need to extend : https://git.yoctoproject.org/poky/tree/meta/lib/oeqa/selftest/cases/devtool.py https://git.yoctoproject.org/poky/tree/meta/lib/oeqa/selftest/cases/recipetool.py
Patch v1: https://lists.openembedded.org/g/openembedded-core/topic/patch/99825616?p=,,,20,0,0,0::recentpostdate/sticky,,,20,2,0,99825616,previd%3D1687936247898095954,nextid%3D1687919422489733073&previd=1687936247898095954&nextid=1687919422489733073 It does make test fail on host without "rpm". For the v2: Either generate a simple binary package in the test or manually generate one and send it to be hosted on yocto mirrors.
Patch v2: https://lists.openembedded.org/g/openembedded-core/message/183892
Merged : https://git.yoctoproject.org/poky/commit/?id=a43fa36614977745fcbd6441d1c3c20321a8201d