live-bootstrap/steps/improve
Dor Askayo f91002b681 Abort execution on non-0 exit status from "after" scripts
Failures in "after" scripts do not currently result in bootstrap
failures since "find" ignores the exit code of commands that it
executes.

There are no simple options in "find" to both propagate non-0 exit
statuses of executed commands and also abort its command execution
sequence in such an event. As such, use "find" only for listing
script names and otherwise use a simple loop to execute them.

While at it, execute scripts in numerical order according to their
basename. This gives consumers control over the execution order of
their scripts. For example, 50-sign.sh will be executed before
51-upload.sh.
2025-02-26 09:08:54 +00:00
..
after.sh Abort execution on non-0 exit status from "after" scripts 2025-02-26 09:08:54 +00:00
clean_artifacts.sh Clean pre-Bash build artifacts before building the Linux kernel 2024-02-17 15:32:02 +01:00
clean_sources.sh Fix clean_sources.sh with git protocol 2025-02-03 17:24:07 +11:00
cleanup_filesystem.sh Cleanup the filesystem at end of bootstrap 2024-01-26 10:29:57 +11:00
finalize_fhs.sh Support reboot in non-chroot modes using grub and an init script 2024-02-04 16:54:13 +01:00
finalize_job_count.sh Restore multicore build support with kernel-bootstrap 2024-01-08 12:56:15 +01:00
get_network.sh Linters & CI updates 2023-12-15 21:44:43 +11:00
make_bootable.sh Add rootwait to grub command line to fix USB boot failures 2024-02-18 17:52:33 +01:00
merged_usr.sh Use merged usr throughout the entire bootstrap 2024-01-26 10:29:18 +11:00
musl_libdir.sh Linters & CI updates 2023-12-15 21:44:43 +11:00
null_time.sh Linters & CI updates 2023-12-15 21:44:43 +11:00
open_console.sh Improve pseudo-interactive prompts using the early bash 2024-02-05 10:02:34 +01:00
populate_device_nodes.sh Open shells on virtual terminals for monitoring in interactive mode 2024-01-30 02:50:36 +01:00
reconfigure.sh Allow the use of configurator under builder-hex0 2024-05-28 21:57:36 +10:00
setup_repo.sh Support mirrors within 2025-02-02 10:02:32 +11:00
swap.sh Support reboot in non-chroot modes using grub and an init script 2024-02-04 16:54:13 +01:00
update_checksums.sh Do update checksums when building with --update-checksums 2023-12-27 12:36:46 +01:00
update_env.sh Fix early-preseed (and environment variables generally) 2024-05-10 12:18:24 +10:00