From 185a6b78a2554b11a6eea0c7c2741b8d845bf036 Mon Sep 17 00:00:00 2001 From: Velsoth Date: Sun, 3 Nov 2019 16:46:11 +0000 Subject: [PATCH] [Coreboot] Checkout a specific revision --- cb-helper | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/cb-helper b/cb-helper index 322abb6..60c2720 100755 --- a/cb-helper +++ b/cb-helper @@ -12,7 +12,7 @@ function download_code() { git clone --recursive http://review.coreboot.org/coreboot.git ./coreboot cd ./coreboot # Checkout this specific version - git checkout 66a0f55c2e2c6e042c58ae423901d7e41c5a2c84 + git checkout tags/4.10 cd $base_directory else printf "Coreboot repository is already present\n" @@ -102,7 +102,7 @@ function build_coreboot() { cd coreboot # Clean last build make clean - rm ../out/coreboot.rom + rm -f ../out/coreboot.rom # Just make make -j${nproc} || make -j${nproc} # Exit if failed @@ -117,7 +117,6 @@ function build_coreboot() { mv coreboot/build/coreboot.rom out/coreboot.rom } - # Build GRUB function build_grub() { # Check if the GRUB code is present @@ -179,7 +178,6 @@ function config_seabios() { coreboot/util/cbfstool/cbfstool "out/coreboot.rom" print } - # Install and config GRUB function install_grub() { printf "Install GRUB in the CBFS volume\n"