Browse Source

Replace the auto-run script

master
Fivel Sotheby 10 months ago
parent
commit
374d4e75ce
2 changed files with 15 additions and 17 deletions
  1. +0
    -16
      auto-run
  2. +15
    -1
      cb-helper

+ 0
- 16
auto-run View File

@@ -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"

+ 15
- 1
cb-helper View File

@@ -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…
Cancel
Save