Commit 3882c5ef authored by Ivan Mazhukin's avatar Ivan Mazhukin

revert bash in inner script; add bootstrap for unbashed systems

parent 6ceb27f2
...@@ -390,7 +390,7 @@ APP_NAME="$2" ...@@ -390,7 +390,7 @@ APP_NAME="$2"
SOURCE_DIR="/work/eepm" SOURCE_DIR="/work/eepm"
run_eepm() { run_eepm() {
./bin/eepm "$@" bash ./bin/eepm "$@"
} }
os_id="unknown" os_id="unknown"
...@@ -411,24 +411,37 @@ mkdir -p "$HOME" ...@@ -411,24 +411,37 @@ mkdir -p "$HOME"
export PATH="$SOURCE_DIR/bin:$PATH" export PATH="$SOURCE_DIR/bin:$PATH"
cd "$SOURCE_DIR" cd "$SOURCE_DIR"
run_eepm update
case "$os_id" in case "$os_id" in
altlinux|alt) altlinux|alt)
run_eepm --auto repo set etersoft run_eepm --auto repo set etersoft
run_eepm update
run_eepm --auto install wget glibc-pthread file run_eepm --auto install wget glibc-pthread file
;; ;;
debian|ubuntu) debian|ubuntu)
run_eepm --auto install bash wget ca-certificates coreutils file run_eepm update
run_eepm --auto install wget ca-certificates coreutils file
;;
alpine)
apk update
apk add --no-cache bash
run_eepm update
run_eepm --auto install wget file
;;
void)
xbps-install -Syu
xbps-install -Sy bash
run_eepm update
run_eepm --auto install wget file
;; ;;
*) *)
run_eepm update
run_eepm --auto install wget file bash run_eepm --auto install wget file bash
;; ;;
esac esac
case "$TEST_COMMAND" in case "$TEST_COMMAND" in
play) play)
exec ./bin/eepm play --auto "$APP_NAME" exec bash ./bin/eepm play --auto "$APP_NAME"
;; ;;
*) *)
printf '[container] unsupported test command: %s\n' "$TEST_COMMAND" >&2 printf '[container] unsupported test command: %s\n' "$TEST_COMMAND" >&2
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment