From d9974b69f7a9c029bdf2d80243222c78f22739d9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 2 Nov 2021 15:03:40 +0100 Subject: Adding 'exit' in debconf build script, thanks to Katharina. Signed-off-by: Daniel Baumann --- share/build-scripts/debconf.d/0001-preseed-file | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/share/build-scripts/debconf.d/0001-preseed-file b/share/build-scripts/debconf.d/0001-preseed-file index d70e4e1..d7e52f0 100755 --- a/share/build-scripts/debconf.d/0001-preseed-file +++ b/share/build-scripts/debconf.d/0001-preseed-file @@ -65,7 +65,7 @@ then if [ -n "${PRESEED_FILES}" ] then - db_subst container/preseed-files CHOICES "none, custom, , ${PRESEED_FILES}" + db_subst container/preseed-files CHOICES "exit, none, custom, , ${PRESEED_FILES}" db_settitle container/title db_input high container/preseed-files || true @@ -75,6 +75,10 @@ then PRESEED_FILE="${RET}" # select case "${PRESEED_FILE}" in + exit) + exit 1 + ;; + none|custom) ;; -- cgit v1.2.3