run_sdk_container: Use sdk_entry.sh from repo instead of inbuilt copy

The SDK container has a copy of sdk_entry.sh for standalone use. This
was also used by run_sdk_container which required creating new SDK
container images for changes to take effect.
Use the repository's version from run_sdk_container for fixes to take
effect without requiring new SDK containers.
This commit is contained in:
Kai Lueke 2022-08-31 14:43:28 +02:00
parent 695825b845
commit d0ef3dace7

View File

@ -146,4 +146,4 @@ fi
# Workaround: The SDK expects to be able to write to /etc/hosts
$docker exec "$name" sh -c 'cp /etc/hosts /etc/hosts2; umount /etc/hosts ; mv /etc/hosts2 /etc/hosts'
$docker exec $tty -i "$name" /home/sdk/sdk_entry.sh "$@"
$docker exec $tty -i "$name" /mnt/host/source/src/scripts/sdk_lib/sdk_entry.sh "$@"