summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorSamuel Mendoza-Jonas <sam@mendozajonas.com>2017-08-29 13:52:31 +1000
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>2017-10-04 16:41:17 +1100
commite1e2ca689661791ba38bf2572df8a65e36258ac2 (patch)
tree1dc9b48c120b6488b4d1178fbd375be69c68c9f6 /configure.ac
parentaf51ccb8b8664eb9462aa4a6e7e2a9f52430647f (diff)
downloadtalos-petitboot-e1e2ca689661791ba38bf2572df8a65e36258ac2.tar.gz
talos-petitboot-e1e2ca689661791ba38bf2572df8a65e36258ac2.zip
ui/ncurses: Spawn shell in exit handler
In cui_on_exit()_ instead of exiting the program spawn a sh instance. This allows the user to drop to the shell and return without losing any custom boot options, for example. SIGINT still calls cui_abort() to properly exit Petitboot. Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 2c2f23b..a4b5fc7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -336,6 +336,7 @@ DEFINE_HOST_PROG(VGSCAN, vgscan, [/usr/sbin/vgscan])
DEFINE_HOST_PROG(VGCHANGE, vgchange, [/usr/sbin/vgchange])
DEFINE_HOST_PROG(PB_PLUGIN, pb-plugin, [/usr/sbin/pb-plugin])
DEFINE_HOST_PROG(PB_EXEC, pb-exec, [/usr/sbin/pb-exec])
+DEFINE_HOST_PROG(SH, sh, [/bin/sh])
AC_ARG_WITH(
[tftp],
OpenPOWER on IntegriCloud