devtool: standard: cleanup imports; stop relying on transitive bb imports

(From OE-Core rev: 8457e24f60a9a84e0f1cfc4a28a39989534fa7de)

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Chris Laplante
2025-01-29 15:20:12 -05:00
committed by Richard Purdie
parent 49f9970c75
commit 1923c62fee
2 changed files with 24 additions and 18 deletions

View File

@@ -169,6 +169,7 @@ def _get_uri(rd):
def _extract_new_source(newpv, srctree, no_patch, srcrev, srcbranch, branch, keep_temp, tinfoil, rd):
"""Extract sources of a recipe with a new version"""
import oe.patch
def __run(cmd):
"""Simple wrapper which calls _run with srctree as cwd"""