commit: fbceb6324827f1387c3873fc2a0d1be628812a69
parent 3df1a830686336e15b00f8952bcc62fe270bab89
Author: fosslinux <fosslinux@aussies.space>
Date: Mon, 15 Mar 2021 07:10:04 +1100
Merge pull request #63 from stikonas/expect
Launch interactive bash at the end of bootstrap.
Diffstat:
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git 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
@@ -10,3 +10,5 @@ set -e
. helpers.sh
echo "Bootstrapping completed."
+
+exec env - PATH=/after/bin bash -i