yoe-distro
yoe-distro copied to clipboard
can no longer run bitbake, devtool, etc in dkr shell
The following has changed from old versions of Yoe -- can't remember all the reasons so need to dig through git history. One thing that is handy is to be able to run dkr, and then devtool, and other OE utils.
diff --git a/envsetup.sh b/envsetup.sh
index 748400b..2025927 100644
--- a/envsetup.sh
+++ b/envsetup.sh
@@ -515,7 +515,7 @@ dkr() {
-w ${OE_BASE} \
--user $(id -u):$(id -g) \
$VNC_PORT \
- ${DOCKER_REPO} /bin/bash -c "cd $(pwd) && . envsetup.sh && $CMD $2 $3 $4 $5 $6 $7 $8"
+ ${DOCKER_REPO} /bin/bash -c "$CMD $@"
}
@cbrake this is the change 371214650cb052f4b2e032b59ea63863f43d2541
most of this has been fixed by wrappers -- closing