From 0d14e3417227e9e28401e2372e1968082cc8dd11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrius=20=C5=A0tikonas?= Date: Sat, 13 Mar 2021 22:40:31 +0000 Subject: [PATCH] Launch interactive bash at the end of bootstrap. --- .cirrus.expect | 5 ++++- sysa/run2.sh | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.cirrus.expect b/.cirrus.expect index 1d28c59..e83288c 100755 --- a/.cirrus.expect +++ b/.cirrus.expect @@ -7,6 +7,9 @@ set timeout -1 spawn ./rootfs.sh qemu-system-x86_64 3500M -expect -exact {not syncing: Attempted to kill init} +expect { + "not syncing: Attempted to kill init" {} + "Bootstrapping completed." {} +} send -- "\x01" send -- "x" diff --git a/sysa/run2.sh b/sysa/run2.sh index 5d13cab..c4cf93d 100755 --- a/sysa/run2.sh +++ b/sysa/run2.sh @@ -10,3 +10,5 @@ set -e . helpers.sh echo "Bootstrapping completed." + +exec env - PATH=/after/bin bash -i