Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Building coreboot from source
#!/bin/bash -e
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root"
exit 1
fi
apt update; apt upgrade -y; apt autoclean -y; apt autoremove
apt install -y git build-essential bison flex m4 zlib1g-dev gnat libpci-dev libusb-dev libusb-1.0-0-dev pv dmidecode bsdiff python2.7
mkdir building-coreboot && cd building-coreboot && wget https://source.puri.sm/coreboot/utility/raw/master/coreboot_util.sh
chmod +x coreboot_util.sh && ./coreboot_util.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.