Replace the auto-run script
This commit is contained in:
parent
4e1d59a9bd
commit
374d4e75ce
16
auto-run
16
auto-run
@ -1,16 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
printf "Starting auto run"
|
||||
|
||||
bash ./cb-helper download_code || exit 1
|
||||
bash ./cb-helper build_utils || exit 1
|
||||
bash ./cb-helper split_bios || exit 1
|
||||
bash ./cb-helper neuter_me || exit 1
|
||||
bash ./cb-helper pre_build_coreboot || exit 1
|
||||
bash ./cb-helper build_coreboot || exit 1
|
||||
bash ./cb-helper build_grub || exit 1
|
||||
bash ./cb-helper assemble_grub || exit 1
|
||||
bash ./cb-helper config_seabios || exit 1
|
||||
bash ./cb-helper install_grub || exit 1
|
||||
|
||||
printf "Auto run finished successfully"
|
16
cb-helper
16
cb-helper
@ -242,9 +242,23 @@ function flash() {
|
||||
fi
|
||||
}
|
||||
|
||||
function doit() {
|
||||
echo "Downloading, building and installing everything"
|
||||
download_code
|
||||
build_utils
|
||||
split_bios
|
||||
neuter_me
|
||||
pre_build_coreboot
|
||||
build_coreboot
|
||||
build_grub
|
||||
assemble_grub
|
||||
config_seabios
|
||||
install_grub
|
||||
}
|
||||
|
||||
# Run operation
|
||||
if [[ $1 != "" ]]; then
|
||||
eval "$1"
|
||||
eval "$@"
|
||||
# Exit if no operation is specified
|
||||
else
|
||||
printf "No operation specified\n"
|
||||
|
Loading…
Reference in New Issue
Block a user