Last active
November 10, 2022 18:37
-
-
Save rowland007/7057d95dd83f705f1fb496819c805432 to your computer and use it in GitHub Desktop.
Building coreboot from source
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 ~/updates && cd ~/updates && wget https://source.puri.sm/coreboot/utility/raw/master/coreboot_util.sh -O coreboot_util.sh | |
chmod +x coreboot_util.sh && sudo bash coreboot_util.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Source