diff --git a/scripts/deps.sh b/scripts/deps.sh index 1344aef..6490c46 100755 --- a/scripts/deps.sh +++ b/scripts/deps.sh @@ -12,16 +12,22 @@ if which apt-get > /dev/null then msg "Installing system build dependencies" sudo apt-get install \ + avr-libc \ + avrdude \ build-essential \ bison \ ccache \ curl \ dosfstools \ + flashrom \ flex \ + gcc-avr \ git-lfs \ gnat \ + libncurses-dev \ mtools \ nasm \ + parted \ python \ python3-distutils \ sdcc \ @@ -32,13 +38,19 @@ then msg "Installing system build dependencies" sudo dnf group install c-development sudo dnf install \ + avr-gcc \ + avr-libc \ + avrdude \ curl \ dosfstools \ + flashrom \ gcc-gnat \ git-lfs \ libuuid-devel \ mtools \ nasm \ + ncurses-devel \ + parted \ patch \ sdcc \ zlib-devel @@ -54,6 +66,14 @@ git lfs install msg "Downloading GIT LFS artifacts" git lfs pull +msg "Initializing submodules" +git submodule update --init --recursive + +msg "Installing coreboot commit hook" +curl -sSf https://review.coreboot.org/tools/hooks/commit-msg \ + -o .git/modules/coreboot/hooks/commit-msg && \ + chmod +x .git/modules/coreboot/hooks/commit-msg + msg "Installing Rust" curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs \ | sh -s -- -y --default-toolchain nightly