Files
yocto-template/scripts/docker-entrypoint.sh
2025-12-30 01:53:55 +01:00

13 lines
353 B
Bash
Executable File

#!/bin/bash
trap "echo 'Stopping...'; exit 0" SIGTERM
# source yocto
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
source "${SCRIPT_DIR}/setup-env.sh"
# add add source to all zsh instances
#echo "souce \"${YOCTO_ROOT}(scripts/setup-env.sh\"" >> ~/.zshrc
# trap to keep container open in background
/bin/zsh
#while true; do sleep 1; done