[Coreboot] Checkout a specific revision

This commit is contained in:
Fivel Sotheby 2019-11-03 16:46:11 +00:00
parent 16a2714c35
commit 185a6b78a2

View File

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