Skip to content

Commit eecde66

Browse files
robwoolleymoto-timo
authored andcommitted
build-install-dumb-init: Do not source pokysdk for dumb-init
The buildtools environment is intended for running the poky builds. It was sourced to provide Python3 to create a virtualenv for building dumb-init. However, dumb-init is not related to Poky. The Python interpreter and necessary tools should come from the distro. Signed-off-by: Rob Woolley <[email protected]>
1 parent 59dc03f commit eecde66

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

build-install-dumb-init.sh

-10
Original file line numberDiff line numberDiff line change
@@ -49,19 +49,9 @@ sed -i -e 's/tox -e pre-commit//' dumb-init*/Makefile || exit 1
4949

5050
$INSTALL_CMD || exit 1
5151

52-
# Setup the buildtools enviroment in the subshell, since we really only want
53-
# to use python3 from buildtools.
54-
(
55-
if [ -e /opt/poky/*/environment-setup-*-pokysdk-linux ]; then
56-
. /opt/poky/*/environment-setup-*-pokysdk-linux
57-
fi
58-
59-
pip3 install virtualenv || exit 1
60-
6152
virtualenv $builddir/venv || exit 1
6253
. $builddir/venv/bin/activate || exit 1
6354
pip3 install setuptools tox || exit 1
64-
)
6555

6656
. $builddir/venv/bin/activate || exit 1
6757
cd dumb-init* || exit 1

0 commit comments

Comments
 (0)