From a7cf285929e496efd9d3a1a4635c224edf9cbf84 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 28 Jan 2020 10:55:21 -0800 Subject: [PATCH] envsetup: Dockerize devtool devtool, currently runs outside container, its better to run it inside container when container is desired to be used. Helps in ensuring consistency in build failures Signed-off-by: Khem Raj --- envsetup.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/envsetup.sh b/envsetup.sh index ab38f9298..570fc8e1d 100644 --- a/envsetup.sh +++ b/envsetup.sh @@ -515,6 +515,15 @@ bitbake() { fi } +devtool() { + ulimit -n 4096 + if [ -z $DOCKER_REPO ] || [ "$DOCKER_REPO" = "none" ]; then + ${OE_BASE}/sources/openembedded-core/scripts/devtool $@ + else + dkr "${OE_BASE}/sources/openembedded-core/scripts/devtool $@" + fi +} + yoe_get_image_version() { echo $(read_var_from_conf 'IMG_VERSION') }