From 2a2c74e681835cbf25d2db20a23f07e1bd8c264c Mon Sep 17 00:00:00 2001 From: Stephan Wendel Date: Sat, 17 Feb 2024 18:50:10 +0100 Subject: [PATCH] chore: add test error Signed-off-by: Stephan Wendel --- config/armbian/default | 4 ++-- src/modules/errorout/start_chroot_script | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 src/modules/errorout/start_chroot_script diff --git a/config/armbian/default b/config/armbian/default index 151b69826..4fd28c768 100644 --- a/config/armbian/default +++ b/config/armbian/default @@ -23,8 +23,8 @@ BASE_IMAGE_RESIZEROOT=600 # Compress not needed due compression done in workflow BASE_RELEASE_COMPRESS=no # Modules are valid for 32bit and 64bit images -MODULES="base,pkgupgrade,udev_fix,armbian(armbian_net,mainsailos,klipper,is_req_preinstall,moonraker,mainsail,timelapse,crowsnest,sonar)" - +# MODULES="base,pkgupgrade,udev_fix,armbian(armbian_net,mainsailos,klipper,is_req_preinstall,moonraker,mainsail,timelapse,crowsnest,sonar)" +MODULES="base(errorout)" # export Variables export DOWNLOAD_BASE_URL export BASE_ADD_USER diff --git a/src/modules/errorout/start_chroot_script b/src/modules/errorout/start_chroot_script new file mode 100644 index 000000000..f8448bb46 --- /dev/null +++ b/src/modules/errorout/start_chroot_script @@ -0,0 +1,5 @@ +#!/usr/bin/env bash + +set -Ee + +exit 1